diff --git a/doc/manual/conf.py.in b/doc/manual/conf.py.in index c3170d4f..a74112c0 100644 --- a/doc/manual/conf.py.in +++ b/doc/manual/conf.py.in @@ -64,6 +64,7 @@ extensions = [ 'notfound.extension', 'sphinxcontrib.jquery', 'sphinx_rtd_theme', + 'sphinx_substitution_extensions', ] intersphinx_mapping = { diff --git a/doc/manual/installation.rst b/doc/manual/installation.rst index 9aa0bb0e..0234bccc 100644 --- a/doc/manual/installation.rst +++ b/doc/manual/installation.rst @@ -42,18 +42,19 @@ configured`. Building from source ==================== -Ubuntu 20.04 LTS -**************** +Ubuntu +****** First of all, we need our copy of the NSD code. `On our website `_ you can find the latest version -and the changelog. In this example we'll use version 4.10.1. Please note +and the changelog. In this example we'll use version |version|. Please note that this may not be the latest version currently. .. code-block:: bash + :substitutions: - wget https://nlnetlabs.nl/downloads/nsd/nsd-4.10.1.tar.gz - tar xzf nsd-4.10.1.tar.gz + wget https://nlnetlabs.nl/downloads/nsd/nsd-|version|.tar.gz + tar xzf nsd-|version|.tar.gz We'll need some tools, such as a compiler and the :command:`make` program. @@ -98,7 +99,7 @@ NSD using :command:`make`; compilation might take a while. .. code-block:: bash - make + make -j4 After successfully compiling, we can install NSD to make it available for the machine. diff --git a/doc/manual/requirements.txt b/doc/manual/requirements.txt index c47fd3be..b27004b4 100644 --- a/doc/manual/requirements.txt +++ b/doc/manual/requirements.txt @@ -1,7 +1,8 @@ -sphinx==5.0.2 +Sphinx==5.0.2 sphinx-version-warning==1.1.2 sphinx-tabs==3.4.4 sphinx-copybutton==0.5.2 sphinx-rtd-theme sphinx-notfound-page requests +sphinx-substitution-extensions