Add substitutions patch to conf.py for all handbooks.

This commit is contained in:
Mrt134
2016-09-08 12:44:59 -04:00
parent 5e60b7479c
commit 68e8bb16bb
3 changed files with 33 additions and 0 deletions

View File

@@ -86,6 +86,17 @@ pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
#Option to add text substitutions to all .rst files being built.
rst_prolog = """
.. |freenas| replace:: FreeNAS"""u'\u00AE'"""
.. |truenas| replace:: TrueNAS"""u'\u00AE'"""
.. |pcbsd| replace:: PC-BSD"""u'\u00AE'"""
.. |trueos| replace:: TrueOS"""u'\u00AE'"""
.. |appcafe| replace:: AppCafe"""u'\u00AE'"""
.. |lumina| replace:: Lumina"""u'\u00AE'"""
.. |sysadm| replace:: SysAdm"""u'\u2122'"""
"""
# -- Option to change :menuselection: arrow -----------------------------
from docutils import nodes, utils