Browse Source

Switch to google style docstrings.

Jelmer Vernooij 5 years ago
parent
commit
9625281f98
2 changed files with 5 additions and 2 deletions
  1. 3 0
      NEWS
  2. 2 2
      docs/conf.py

+ 3 - 0
NEWS

@@ -5,6 +5,9 @@
  * Stop checking for ref validity client-side. Users can
    still call check_wants manually. (Jelmer Vernooij)
 
+ * Switch over to Google-style docstrings.
+   (Jelmer Vernooij)
+
 0.19.13	2019-08-19
 
  BUG FIXES

+ 2 - 2
docs/conf.py

@@ -30,7 +30,7 @@ extensions = [
     'sphinx.ext.autodoc',
     'sphinx.ext.ifconfig',
     'sphinx.ext.intersphinx',
-    'sphinx_epytext',
+    'sphinx.ext.napoleon',
     ]
 try:
     import rst2pdf
@@ -56,7 +56,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'dulwich'
-copyright = u'2011-2018 Jelmer Vernooij'
+copyright = u'2011-2019 Jelmer Vernooij'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the