Generate schedule, talks, speakers page automatically like official Pycon thailand 2019 website: https://th.pycon.org
Project description
autoschedule by Chomtana
Generate schedule, talks, speakers page automatically like official Pycon thailand 2019 website: https://th.pycon.org
- Schedule Page: https://th.pycon.org/schedule
- Talks Page: https://th.pycon.org/talks
- Speakers Page: https://th.pycon.org/speakers
These three pages generated from one yaml file: CLICK HERE FOR YAML FILE EXAMPLE (talks2019.yaml)
And these three pages are linked together
Good for people who organizing conference event and don't want to code your website schedule, talks, speakers page
How to use
For local file generation use
Basic example
from autoschedule import generate
generate("talks2019.yaml")
Note: you need to change talks2019.yaml to your correct yaml file path
Custom file name
from autoschedule import generate
generate("talks2019.yaml", schedule_page="./timetable.html", talks_page="./courses.html", speakers_page="./tutors.html")
Note: you need to change talks2019.yaml to your correct yaml file path
For using in nikola
Step 1: Install ScheduleShortcode plugins
Copy ScheduleShortcode.py and ScheduleShortcode.plugin from this repository to plugins/schedule folder in your nikola setup
Note: if folder doesn't exists, create new one
Step 2: Use shortcode in your page
Paste:
{{% schedule mode="schedule" file="../talks2019.yaml" talks_page="/talks" speakers_page="/speakers" schedule_page="/schedule %}}
To your schedule page{{% schedule mode="talks" file="../talks2019.yaml" talks_page="/talks" speakers_page="/speakers" schedule_page="/schedule %}}
To your talks page{{% schedule mode="speakers" file="../talks2019.yaml" talks_page="/talks" speakers_page="/speakers" schedule_page="/schedule %}}
To your speakers page
Note: you need to change ../talks2019.yaml to your correct yaml file path
Example of these step can be found in here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file autoschedule-1.0.tar.gz
.
File metadata
- Download URL: autoschedule-1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d433060a11f35147a0daac60f7370b325f524187a26fcd1a9f72a672279a4a20 |
|
MD5 | 0c3b8ab4e13bf7525afa34733f95ff61 |
|
BLAKE2b-256 | 11096495c3123a493d812bdd329e6380290c4ebe71f5740bfc5b4cfaa7555c0c |