Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 64a276f

Browse files
committed
Updated docs.
1 parent 3f36d52 commit 64a276f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# If extensions (or modules to document with autodoc) are in another directory,
1919
# add these directories to sys.path here. If the directory is relative to the
2020
# documentation root, use os.path.abspath to make it absolute, like shown here.
21-
sys.path.insert(0, os.path.join(os.path.abspath('.'), '..'))
21+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
2222

2323
# -- General configuration ------------------------------------------------
2424

@@ -266,8 +266,9 @@
266266
issuetracker = 'github'
267267
issuetracker_project = 'GreenSteam/pep257'
268268

269+
269270
def generate_error_code_table():
270-
from ..pep257 import ErrorRegistry
271+
from pep257 import ErrorRegistry
271272
with open(os.path.join('snippets', 'error_code_table.rst'), 'wt') as outf:
272273
outf.write(ErrorRegistry.to_rst())
273274

docs/release_notes.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ Release Notes
55
Current Development Version
66
---------------------------
77

8-
Nothing here yet!
8+
New Features
9+
10+
* Added the D104 error code - "Missing docstring in public package". This new
11+
error is turned on by default. Missing docstring in `__init__.py` files which
12+
previously resulted in D100 errors ("Missing docstring in public module")
13+
will now result in D104 (#105, #127).
914

1015

1116
0.6.0 - July 20th, 2015

0 commit comments

Comments
 (0)