Browse Source

Fix issue with Sphinx 6 and extlinks

pull/487/head
Simon Conseil 3 years ago
parent
commit
03418f5a90
  1. 2
      docs/conf.py
  2. 2
      docs/configuration.rst
  3. 2
      docs/plugins.rst
  4. 2
      setup.cfg

2
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']

2
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

2
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

2
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

Loading…
Cancel
Save