From 3b3567393ac900503bc919bf3f390b55f08d7f51 Mon Sep 17 00:00:00 2001 From: Geo Date: Mon, 10 Apr 2023 18:44:13 -0400 Subject: [PATCH] conf --- doc/sphinx_source/conf.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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)