From 73ccb20703f86d968cbcf617eb0eafa3e89c6b92 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 13 Jul 2019 19:27:18 -0400 Subject: lps_gen: Remove `lp_t` command line argument. * docs/install/index.rst: Update usage command output. * docs/schedule/index.rst: Update lps_gen command example. * docs/speakers/index.rst: Update lps_gen command example. * lps_gen.py (RenderHTML): Change argument template -> template_name. Read template from package. (main): Remove `lp_t` command line argument. * tests/test_lps_gen.py (TestLPS.test_RenderHTML) (TestLPS.test_RenderHTML_sessions_only) (TestLPS.test_RenderHTML_nonexistent_template) (TestLPSTBA.setup, TestLPSpeakers.test_RenderHTML): Update RenderHTML call; pass template name instead of template path. --- docs/schedule/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/schedule') diff --git a/docs/schedule/index.rst b/docs/schedule/index.rst index 0e0d2ff..691abf0 100644 --- a/docs/schedule/index.rst +++ b/docs/schedule/index.rst @@ -188,11 +188,11 @@ Generate HTML from Markdown ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: - $ lps_gen -s path/to/lp-sch.jinja2 path/to/lp-sch.md > path/to/program-schedule.html + $ lps_gen -s path/to/lp-sch.md > path/to/program-schedule.html or:: - $ lps_gen --schedule path/to/lp-schedule.jinja2 path/to/lp-sch.md > path/to/program-schedule.html + $ lps_gen --schedule path/to/lp-sch.md > path/to/program-schedule.html iCal export @@ -201,7 +201,7 @@ iCal export The ``--ical`` switch enables iCal export while generating LP schedule:: - $ lps_gen -s --ical 2016 path/to/lp-schedule.jinja2 path/to/lp-schedule.md > path/to/program-schedule.html + $ lps_gen -s --ical 2016 path/to/lp-schedule.md > path/to/program-schedule.html The year of the conference must be given as an argument to the ``--ical`` switch. -- cgit v1.2.3