diff --git a/docs/conf.py b/docs/conf.py index 1727c43..197acbe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ sys.path.append(os.path.abspath('..')) # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.extlinks', 'alabaster'] -extlinks = {'issue': ('https://github.com/saimn/sigal/issues/%s', '#')} +extlinks = {'issue': ('https://github.com/saimn/sigal/issues/%s', '#%s')} # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/docs/configuration.rst b/docs/configuration.rst index 5545efd..32af9fe 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -8,5 +8,5 @@ explanations on the settings is available in ``sigal/templates/sigal.conf.py`` and is shown below. This file is copied to the current directory with the ``sigal init`` commmand. -.. literalinclude:: ../sigal/templates/sigal.conf.py +.. literalinclude:: ../src/sigal/templates/sigal.conf.py :language: python diff --git a/docs/plugins.rst b/docs/plugins.rst index 7042c7c..9d87cf2 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -37,7 +37,7 @@ need. See an example with the copyright plugin: .. _blinker: http://pythonhosted.org/blinker/ -.. literalinclude:: ../sigal/plugins/copyright.py +.. literalinclude:: ../src/sigal/plugins/copyright.py :language: python Signals diff --git a/setup.cfg b/setup.cfg index cfe729f..a8c8a3d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,7 +40,7 @@ install_requires = [options.extras_require] all = boto; brotli; feedgenerator; zopfli; cryptography tests = pytest; pytest-cov -docs = Sphinx; alabaster; cryptography +docs = Sphinx>=4.1.0; alabaster; cryptography [options.packages.find] where = src