Selaa lähdekoodia

Documentation: Now taking use of sphinxcontrib-issuetracker

Ask Solem 14 vuotta sitten
vanhempi
commit
177437d29e
1 muutettua tiedostoa jossa 10 lisäystä ja 1 poistoa
  1. 10 1
      docs/conf.py

+ 10 - 1
docs/conf.py

@@ -12,7 +12,9 @@ import celery
 # General configuration
 # ---------------------
 
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage']
+extensions = ['sphinx.ext.autodoc',
+              'sphinx.ext.coverage',
+              'sphinxcontrib.issuetracker']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['.templates']
@@ -69,3 +71,10 @@ html_sidebars = {
     '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
            'sourcelink.html', 'searchbox.html'],
 }
+
+### Issuetracker
+
+issuetracker = "github"
+issuetracker_user = "ask"
+issuetracker_project = "celery"
+issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'