From 03d5b0dd67a7dc87d7a227a1ea2503b713dc2308 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Mon, 27 Aug 2018 00:39:03 +0200 Subject: [PATCH] Use sphinx's builtin extension for issue links --- docs/conf.py | 4 ++-- requirements.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 500990a..ad457b5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,11 +25,11 @@ with open(pkgmeta_file) as f: # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.autodoc', - 'sphinx_issues', + 'sphinx.ext.extlinks', 'alabaster' ] -issues_github_path = 'saimn/sigal' +extlinks = {'issue': ('https://github.com/saimn/sigal/issues/%s', '#')} # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/requirements.txt b/requirements.txt index 5d77700..b32739f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,6 +12,5 @@ pilkit pytest pytest-cov Sphinx -sphinx-issues twine zopfli