summaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-02-13 21:14:31 -0500
committerrsiddharth <rsd@gnu.org>2016-02-13 21:14:31 -0500
commit2872337665a0f9e9d9f61ed47bdb44bebcfbb48a (patch)
treee0b3a7fe6173d19d86e2f6322eccdbf20abe7cc7 /README.rst
parent4a39bc9e5df1997894717c81d602f6144314f2a5 (diff)
README.rst: Added "Auto-linking speakers names"
sub-section under "LP schedule" section. Addresses issue #7.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 20fc479..c641396 100644
--- a/README.rst
+++ b/README.rst
@@ -122,6 +122,33 @@ Session structure::
Sample: https://notabug.org/rsd/lpschedule-generator/raw/dev/tests/files/lp-sch.md
+
+Auto-linking speaker names
+++++++++++++++++++++++++++
+
+Speakers in the schedule MD can be auto-linked to speakers' page by
+marking them up like this ``[John Hacker]()``
+
+The script converts:
+
+- ``[John Hacker]()`` to ``<a href="speakers.html#hacker">John
+ Hacker</a>`` if John Hacker's bio is available in the speakers' page.
+
+- ``[John Hacker]()`` to ``John Hacker`` if John Hacker's bio is not
+ available in the speakers' page. In this case, the script also appends
+ ``John Hacker`` name in the ``speakers.noids`` file.
+
+ The ``speakers.noids`` file contains a list of speakers who were
+ auto-linked in the schedule MD but who's bio is not (yet) available
+ in the speakers' page.
+
+For auto-linking speakers, the script uses the ``speakers.ids`` file;
+this file is written to the disk after generating the the speakers'
+page from MD. Generate the speakers' page before generating the
+schedule page for auto-linking to work.
+
+Sample: https://notabug.org/rsd/lpschedule-generator/raw/dev/tests/files/lp-sessions-autolink.md
+
Special cases
+++++++++++++