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.
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
andsessions.tsv
. - pdf_urls: either 'local' or 'cloud'.
Create a symlink named themes
to a directory containing the pelican-themes repository.
Copyright 2015, Paul Natsuo Kishimoto <mail@paul.kishimoto.name>
Licensed under the GNU General Public License, version 3.