diff options
author | rsiddharth <rsd@gnu.org> | 2019-07-13 19:27:18 -0400 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2019-07-13 19:27:18 -0400 |
commit | 73ccb20703f86d968cbcf617eb0eafa3e89c6b92 (patch) | |
tree | 2a35c08ef1a7c41e6878c9562ddbad817491d5ec /docs/schedule/index.rst | |
parent | b202aa341ff1427c668985754e5f87e76aab8591 (diff) |
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.
Diffstat (limited to 'docs/schedule/index.rst')
-rw-r--r-- | docs/schedule/index.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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. |