8000 GitHub - khaeru/trbenergy.org
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

khaeru/trbenergy.org

Repository files navigation

Website of TRB ADC70

This website uses the Pelican static website generator. See the Pelican documentation for more information.

A Pelican plugin, in plugins/trb.py, automatically generates two types of content:

  • Lists of committee members.
  • Lists of sessions and presentations 6569 from TRB Annual Meetings.

…from data stored either in a Google Drive spreadsheet, or as text files in TSV format.

Using

The plugin is controlled by the TRB setting in private.py. To protect private information, this file is not included with the code; users must create it, by copying private.py.example.

TRB is a Python dict with the following keys:

  • data_source: either 'google_drive' or 'csv'. If 'google_drive', the gspread package must be installed to access Google Drive, and data_auth and google_drive_key must be set. If 'csv', data_path must be set.
  • data_auth: the location of a JSON file containing Google Drive OAuth2 credentials.
  • google_drive_key: a 44-character string specifying the key or identifier of the Google Drive spreadsheet containing the data.
  • data_path: path relative to the root directory containing data in the files members.tsv, presentations.tsv and sessions.tsv.
  • pdf_urls: either 'local' or 'cloud'.

Create a symlink named themes to a directory containing the pelican-themes repository.

License

Copyright 2015, Paul Natsuo Kishimoto <mail@paul.kishimoto.name>

Licensed under the GNU General Public License, version 3.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0