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
Release files for autoschedule 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autoschedule-1.0.tar.gz | 8.1 kB | Details |
Release files / autoschedule-1.0.tar.gz
| Download URL | autoschedule-1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d433060a11f35147a0daac60f7370b325f524187a26fcd1a9f72a672279a4a20
|
|
BLAKE2b-256 checksum How to use checksums |
11096495c3123a493d812bdd329e6380290c4ebe71f5740bfc5b4cfaa7555c0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|