diff --git a/doc/sphinx_source/conf.py b/doc/sphinx_source/conf.py index 50c12967f..33b7c0954 100644 --- a/doc/sphinx_source/conf.py +++ b/doc/sphinx_source/conf.py @@ -28,7 +28,9 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [] +#extensions = [] +extensions = ['sphinx_substitution_extensions'] +#extensions = ['sphinx.ext.extlinks'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -256,3 +258,14 @@ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +rst_prolog = """ +.. |eggver| replace:: |version| +.. |another| replace:: moretext +""" + + +#rst_epilog = '.. |dlink| replace:: ftp://ftp.eggheads.org/pub/eggdrop/source/1.9/eggdrop-%s.tar.gz' % version +rst_epilog = """ +.. |dlink| replace:: ftp://ftp.eggheads.org/pub/eggdrop/source/1.9/eggdrop-%s.tar.gz +""" % (version)