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/speakers/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/speakers/index.rst') diff --git a/docs/speakers/index.rst b/docs/speakers/index.rst index f98dbdb..8add74e 100644 --- a/docs/speakers/index.rst +++ b/docs/speakers/index.rst @@ -63,11 +63,11 @@ Generate HTML from Markdown ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: - $ lps_gen -sp path/to/lp-speakers.jinja2 path/to/lp-speakers.md > path/to/speakers-content.html + $ lps_gen -sp path/to/lp-speakers.md > path/to/speakers-content.html or:: - $ lps_gen --speakers path/to/lp-speakers.jinja2 path/to/lp-speakers.md > path/to/speakers-content.html + $ lps_gen --speakers path/to/lp-speakers.md > path/to/speakers-content.html If you run into issues, ask for :ref:`help `. -- cgit v1.2.3