Skip to content

Commit bb576ad

Browse files
committed
Misc cleanup
1 parent 7c3778b commit bb576ad

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

conf.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@
33
# -- Path setup --------------------------------------------------------------
44

55

6-
import os
76
import sys
8-
sys.path.append(os.path.abspath('.'))
7+
from pathlib import Path
8+
sys.path.append(Path('.').absolute())
99

1010

1111
# -- Project information -----------------------------------------------------
1212

1313
project = 'PEPs'
14-
copyright = '2020, AUTHNAME'
15-
author = 'AUTHNAME'
14+
copyright = '2020, PEP Authors'
15+
author = 'PEP Authors'
1616

1717
# The full version, including alpha/beta/rc tags
18-
release = '1.0.0'
19-
version = "1.x"
18+
# release = '1.0.0'
2019

2120
html_title = "Python Enhancement Proposals (PEPs)"
2221
html_short_title = "PEPs Home"
@@ -69,4 +68,4 @@
6968
# so a file named "default.css" will overwrite the builtin "default.css".
7069
# html_static_path = ['_static']
7170

72-
master_doc = 'contents'
71+
master_doc = 'contents'

pepreader/pep_headers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,3 @@ def apply(self):
112112
para[:] = [nodes.reference("", pep_type, refuri=uri)]
113113
elif name == "version" and len(body):
114114
utils.clean_rcs_keywords(para, self.rcs_keyword_substitutions)
115-

pepreader/pep_parser.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
from . import pep_contents
55

66

7-
8-
9-
107
class PEPParser(parsers.RSTParser):
118
supported = ("pep", "python-enhancement-proposal")
129

0 commit comments

Comments
 (0)