summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2019-07-13 19:27:18 -0400
committerrsiddharth <rsd@gnu.org>2019-07-13 19:27:18 -0400
commit73ccb20703f86d968cbcf617eb0eafa3e89c6b92 (patch)
tree2a35c08ef1a7c41e6878c9562ddbad817491d5ec /docs
parentb202aa341ff1427c668985754e5f87e76aab8591 (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')
-rw-r--r--docs/install/index.rst3
-rw-r--r--docs/schedule/index.rst6
-rw-r--r--docs/speakers/index.rst4
3 files changed, 6 insertions, 7 deletions
diff --git a/docs/install/index.rst b/docs/install/index.rst
index 577febb..b3e3e55 100644
--- a/docs/install/index.rst
+++ b/docs/install/index.rst
@@ -67,10 +67,9 @@ Do::
You must get::
- usage: lps_gen [-h] [-s | -sp] [--ical ICAL] [--version] lp_t lp_md
+ usage: lps_gen [-h] [-s | -sp] [--ical ICAL] [--version] lp_md
positional arguments:
- lp_t Path to the LP template.
lp_md Path to the LP markdown.
optional arguments:
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.
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 <lps-doc-sec-help>`.