Fix issue with Sphinx 6 and extlinks
This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user