diff --git a/doc/manual/source/index.rst b/doc/manual/source/index.rst
index 08b39d226ad0f9520d7cd836e59466a6006d6875..3a454440ecde8c134a0ad59f37b38e0d95fa7c7b 100644
--- a/doc/manual/source/index.rst
+++ b/doc/manual/source/index.rst
@@ -18,7 +18,7 @@ Copyright © 1996-2019, Dynare Team.
 
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 
-A copy of the license can be found at `http://www.gnu.org/licenses/fdl.txt <http://www.gnu.org/licenses/fdl.txt>`_. 
+A copy of the license can be found at `http://www.gnu.org/licenses/fdl.txt <http://www.gnu.org/licenses/fdl.txt>`__.
 
 .. toctree::
    :numbered:
diff --git a/doc/manual/source/installation-and-configuration.rst b/doc/manual/source/installation-and-configuration.rst
index 2d6f48a2ba253ffa39da764310388fb263a4acc2..29e8d3a3f629498e45362930ca9c04cb3f33fb2e 100644
--- a/doc/manual/source/installation-and-configuration.rst
+++ b/doc/manual/source/installation-and-configuration.rst
@@ -8,7 +8,7 @@ Software requirements
 =====================
 
 Packaged versions of Dynare are available for Windows 7/8/10,
-`Debian GNU/Linux <http://www.debian.org/>`_, `Ubuntu`_ and macOS 10.8
+`Debian GNU/Linux <http://www.debian.org/>`__, `Ubuntu`_ and macOS 10.8
 or later. Dynare should work on other systems, but some compilation
 steps are necessary in that case.
 
@@ -82,7 +82,7 @@ settings (see :ref:`words-warning`).
 
 To install Dynare for Octave, first install Homebrew following the
 instructions on their site: `https://brew.sh/
-<https://brew.sh/>`_. Then install Octave, issuing the command ``brew
+<https://brew.sh/>`__. Then install Octave, issuing the command ``brew
 install octave`` at the Terminal prompt. You can then install the
 latest stable version of Dynare by typing ``brew install dynare`` at
 the Terminal prompt. You can also pass options to the installation
@@ -98,7 +98,7 @@ unpack it somewhere.
 
 Then you will need to recompile the pre-processor and the dynamic
 loadable libraries. Please refer to `README.md
-<https://git.dynare.org/Dynare/dynare/blob/master/README.md>`_.
+<https://git.dynare.org/Dynare/dynare/blob/master/README.md>`__.
 
 .. _compil-install:
 
@@ -129,7 +129,7 @@ Prerequisites on macOS
 
 If you are using MATLAB under macOS, you should install the latest
 version of XCode: `see instructions on the Dynare wiki
-<https://git.dynare.org/Dynare/dynare/wikis/Install-on-MacOS>`_.
+<https://git.dynare.org/Dynare/dynare/wikis/Install-on-MacOS>`__.
 
 
 Configuration
diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index ef0ecd61449216255f982d3ee360a54fffe79364..af1c69258efdb10784ed19358a27ec1379163491 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -2167,7 +2167,7 @@ Finding the steady state with Dynare nonlinear solver
                 using the solver. Due to licence restrictions, you have
                 to download the solver’s most current version yourself
                 from `http://pages.cs.wisc.edu/~ferris/path.html
-                <http://pages.cs.wisc.edu/~ferris/path.html>`_ and
+                <http://pages.cs.wisc.edu/~ferris/path.html>`__ and
                 place it in Matlab’s search path.
 
        |br| Default value is ``4``.
@@ -3288,7 +3288,7 @@ Computing the stochastic solution
        command. Note that if ``varobs`` is not present or contains all
        endogenous variables, then this is the full information case
        and this option has no effect. More references can be found
-       `here <http://www.dynare.org/DynareWiki/PartialInformation>`_ .
+       `here <http://www.dynare.org/DynareWiki/PartialInformation>`__ .
 
     .. option:: sylvester = OPTION
 
@@ -3300,7 +3300,7 @@ Computing the stochastic solution
                 Uses the default solver for Sylvester equations
                 (``gensylv``) based on Ondra Kamenik’s algorithm (see
                 `here
-                <http://www.dynare.org/documentation-and-support/dynarepp/sylvester.pdf/at_download/file>`_
+                <http://www.dynare.org/documentation-and-support/dynarepp/sylvester.pdf/at_download/file>`__
                 for more information).
 
            ``fixed_point``
@@ -4286,7 +4286,7 @@ block decomposition of the model (see :opt:`block`).
 
        The datafile: a ``.m`` file, a ``.mat`` file, a ``.csv`` file,
        or a ``.xls/.xlsx`` file (under Octave, the `io
-       <http://octave.sourceforge.net/io/>`_ package from Octave-Forge
+       <http://octave.sourceforge.net/io/>`__ package from Octave-Forge
        is required for the ``.csv`` and ``.xlsx`` formats and the
        ``.xls`` file extension is not supported). Note that the base
        name (i.e. without extension) of the datafile has to be
@@ -4654,7 +4654,7 @@ block decomposition of the model (see :opt:`block`).
                 Uses ``fminunc`` optimization routine (available under
                 MATLAB if the Optimization Toolbox is installed;
                 available under Octave if the `optim
-                <http://octave.sourceforge.net/optim/>`_ package from
+                <http://octave.sourceforge.net/optim/>`__ package from
                 Octave-Forge is installed).
 
            ``4``
@@ -5763,7 +5763,7 @@ block decomposition of the model (see :opt:`block`).
                (``dlyapchol``). This method is fast for large scale
                models (available under MATLAB if the Control System
                Toolbox is installed; available under Octave if the
-               `control <http://octave.sourceforge.net/control/>`_
+               `control <http://octave.sourceforge.net/control/>`__
                package from Octave-Forge is installed)
 
        Default value is ``default``.
@@ -9537,7 +9537,7 @@ below.
 .. command:: sbvar (OPTIONS...);
 
     |br| To be documented. For now, see the wiki:
-    `<https://www.dynare.org/DynareWiki/SbvarOptions>`_
+    `<https://www.dynare.org/DynareWiki/SbvarOptions>`__
 
     *Options*
 
@@ -9602,7 +9602,7 @@ below.
         RESTRICTION EQUATION INTEGER, EXPRESSION = EXPRESSION;
 
     To be documented. For now, see the wiki:
-    `<http://www.dynare.org/DynareWiki/MarkovSwitchingInterface>`_
+    `<http://www.dynare.org/DynareWiki/MarkovSwitchingInterface>`__
 
 
 .. command:: ms_estimation (OPTIONS...);
@@ -11223,7 +11223,7 @@ Misc commands
 .. [#f6] See :opt:`forecast <forecast = INTEGER>` for more information.
 
 .. [#f7] In case of Excel not being installed,
-         `<https://mathworks.com/matlabcentral/fileexchange/38591-xlwrite--generate-xls-x--files-without-excel-on-mac-linux-win>`_
+         `<https://mathworks.com/matlabcentral/fileexchange/38591-xlwrite--generate-xls-x--files-without-excel-on-mac-linux-win>`__
          may be helpful.
 
 .. [#f8] See option :ref:`conf_sig <confsig>` to change the size of
@@ -11237,4 +11237,4 @@ Misc commands
           :math:`A^+`.
 
 .. [#f11] An example can be found at
-          `<https://git.dynare.org/Dynare/dynare/blob/master/tests/ms-dsge/test_ms_dsge.mod>`_.
+          `<https://git.dynare.org/Dynare/dynare/blob/master/tests/ms-dsge/test_ms_dsge.mod>`__.
diff --git a/doc/manual/source/time-series.rst b/doc/manual/source/time-series.rst
index b9ce74129b579306db1f7070cd813a4aa523c0a4..afcfa18e21bd35e1dfbc36cd30235abf81ac2e9b 100644
--- a/doc/manual/source/time-series.rst
+++ b/doc/manual/source/time-series.rst
@@ -803,7 +803,7 @@ The dseries class
         data file specified by *FILENAME*, a string passed as
         input. Valid file types are ``.m``, ``.mat``, ``.csv`` and
         ``.xls/.xlsx`` (Octave only supports ``.xlsx`` files and the
-        `io <http://octave.sourceforge.net/io/>`_ package from
+        `io <http://octave.sourceforge.net/io/>`__ package from
         Octave-Forge must be installed). A typical ``.m`` file will
         have the following form::