Tony Breeds 6744d41057 Reduce sphinx warnings.
This does several things to reduce the number of warnings generated in a
docs build.

. Only generate the {ptl,tc}.rst for the type of election we're running
. use a for loop to match the undreline with the section title
. Ensure that we use anonymous hyperlinks ``__ vs ``_
. tell sphinx to ignore the generated announcement as they're not linked

There are still 4 left which look to me like actual bugs in
sphinux/docutils rather than our RST.

Change-Id: I64a12d1c49c5b71a6849ad1724ac4ae09daeb85a
2018-05-15 15:19:34 +10:00
..
2018-05-15 15:19:34 +10:00
2018-05-15 15:19:34 +10:00