diff --git a/doc/conf/conf.py b/doc/conf/conf.py index 7600179f94620b1470c6d8452d913d7b597d8073..7a7fa741fbd498a62e8a9c47a8ae6cb77a7b4030 100644 --- a/doc/conf/conf.py +++ b/doc/conf/conf.py @@ -209,3 +209,12 @@ latex_documents = [ # If false, no module index is generated. #latex_use_modindex = True + +# -- OST specific configuration -------------------------------------------- + +# these links can be fed via Python and are added to all rst files +# -> container instructions on GIT for current OST version (assumed to match tag!) +rst_epilog = """ +.. _Docker instructions: https://git.scicore.unibas.ch/schwede/openstructure/tree/%s/docker +.. _Singularity instructions: https://git.scicore.unibas.ch/schwede/openstructure/tree/%s/singularity +""" % (ost.VERSION, ost.VERSION) diff --git a/modules/doc/install.rst b/modules/doc/install.rst index d9b3580ccc25a2c4a68386357db85f0257920048..1e6b8a0eecddf3ebbf9eb95b24a053743973509e 100644 --- a/modules/doc/install.rst +++ b/modules/doc/install.rst @@ -9,8 +9,7 @@ container solution. We provide recipes to build images for `Docker <https://www.docker.com/>`_ and `Singularity <https://www.sylabs.io/guides/2.5.1/user-guide>`_. The latest recipes and instructions can be found on our GitLab site -(`Docker instructions <https://git.scicore.unibas.ch/schwede/openstructure/tree/develop/docker>`_ and -`Singularity instructions <https://git.scicore.unibas.ch/schwede/openstructure/tree/develop/singularity>`_). +(`Docker instructions`_ and `Singularity instructions`_). If you wish to compile OpenStructure outside of a container, you need to follow the steps which we describe in detail below. In essence, these steps are: