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

Commit d797f3d

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents bbe1c9a + cb6f87c commit d797f3d

File tree

8 files changed

+202
-133
lines changed

8 files changed

+202
-133
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ docs/_*
4040

4141
# virtualenv
4242
venv/
43+
44+
# generated rst
45+
docs/snippets/error_code_table.rst

README.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,19 @@ Run
3535
...
3636
3737
38-
`Read the full documentation here <http://pep257.readthedocs.org>`_.
38+
Links
39+
-----
40+
41+
.. image:: https://travis-ci.org/GreenSteam/pep257.svg?branch=master
42+
:target: https://travis-ci.org/GreenSteam/pep257
43+
44+
.. image:: https://readthedocs.org/projects/pep257/badge/?version=latest
45+
:target: https://readthedocs.org/projects/pep257/?badge=latest
46+
:alt: Documentation Status
47+
48+
* `Read the full documentation here <http://pep257.readthedocs.org>`_.
49+
50+
* `Fork pep257 on GitHub <http://github.com/GreenSteam/pep257>`_.
51+
52+
* `PyPI project page <https://pypi.python.org/pypi/pep257>`_.
3953

docs/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,3 +265,10 @@
265265
# sphinxcontrib.issuetracker settings
266266
issuetracker = 'github'
267267
issuetracker_project = 'GreenSteam/pep257'
268+
269+
def generate_error_code_table():
270+
from ..pep257 import ErrorRegistry
271+
with open(os.path.join('snippets', 'error_code_table.rst'), 'wt') as outf:
272+
outf.write(ErrorRegistry.to_rst())
273+
274+
generate_error_code_table()

docs/snippets/error_code_table.rst

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)