Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoschedule-1.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page