Hi,

If you are using reStructuredText format, you can use `rst_prolog`
configuration.
http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-rst_prolog

conf.py::
project = 'sth'
rst_prolog = """
.. |project| replace:: %s
""" % project


index.rst::
This is |project| project.

Regards,

On Sat, Aug 11, 2018 at 10:39 AM Mike IT Expert <[email protected]>
wrote:

> hi,
>
> I am new sphinx and I am trying to find a substitute/variable for title
> defined in conf.py ( under project = 'sth').
>
> How am I able to do this?
>
> Thanks
> Mike
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to