[Python-modules-commits] [sphinx-celery] 03/04: Replaces :pypi: from sphinxcontrib-cheeseshop as it does not support Python 3

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Fri Aug 18 07:00:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

mans0954 pushed a commit to tag v1.3.0
in repository sphinx-celery.

commit 7216b6e2abd0cec52b2fd87c2add5a84c4ea509f
Author: Ask Solem <ask at celeryproject.org>
Date:   Fri May 27 13:28:34 2016 -0700

    Replaces :pypi: from sphinxcontrib-cheeseshop as it does not support Python 3
---
 requirements/default.txt | 1 -
 sphinx_celery/conf.py    | 8 +++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/requirements/default.txt b/requirements/default.txt
index cd418ba..1b6e04a 100644
--- a/requirements/default.txt
+++ b/requirements/default.txt
@@ -1,3 +1,2 @@
 Sphinx>=1.4
-sphinxcontrib-cheeseshop
 sphinxcontrib-spelling
diff --git a/sphinx_celery/conf.py b/sphinx_celery/conf.py
index 6319109..950dd87 100644
--- a/sphinx_celery/conf.py
+++ b/sphinx_celery/conf.py
@@ -20,7 +20,6 @@ EXTENSIONS = [
     'sphinx.ext.ifconfig',
     'sphinx.ext.viewcode',
     'sphinx.ext.extlinks',
-    'sphinxcontrib.cheeseshop',
 
     'sphinx_celery.autodocargspec',
     'sphinx_celery.github_issues',
@@ -160,14 +159,17 @@ def build_config(
 
     extlinks.setdefault('sha', (
         'https://github.com/{0}/commit/%s'.format(github_project),
-        'GitHub SHA',
+        'GitHub SHA@',
     ))
     extlinks.setdefault('github_branch', (
         'https://github.com/{0}/tree/%s'.format(github_project),
         'GitHub branch',
     ))
     extlinks.setdefault('github_user', (
-        'https://github.com/%s/', 'GitHub user',
+        'https://github.com/%s/', '@',
+    ))
+    extlinks.setdefault('pypi', (
+        'https://pypi.python.org/pypi/%s/', '',
     ))
 
     if not canonical_dev_url:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx-celery.git



More information about the Python-modules-commits mailing list