File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 3
3
# -- Path setup --------------------------------------------------------------
4
4
5
5
6
- import os
7
6
import sys
8
- sys .path .append (os .path .abspath ('.' ))
7
+ from pathlib import Path
8
+ sys .path .append (Path ('.' ).absolute ())
9
9
10
10
11
11
# -- Project information -----------------------------------------------------
12
12
13
13
project = 'PEPs'
14
- copyright = '2020, AUTHNAME '
15
- author = 'AUTHNAME '
14
+ copyright = '2020, PEP Authors '
15
+ author = 'PEP Authors '
16
16
17
17
# The full version, including alpha/beta/rc tags
18
- release = '1.0.0'
19
- version = "1.x"
18
+ # release = '1.0.0'
20
19
21
20
html_title = "Python Enhancement Proposals (PEPs)"
22
21
html_short_title = "PEPs Home"
69
68
# so a file named "default.css" will overwrite the builtin "default.css".
70
69
# html_static_path = ['_static']
71
70
72
- master_doc = 'contents'
71
+ master_doc = 'contents'
Original file line number Diff line number Diff line change @@ -112,4 +112,3 @@ def apply(self):
112
112
para [:] = [nodes .reference ("" , pep_type , refuri = uri )]
113
113
elif name == "version" and len (body ):
114
114
utils .clean_rcs_keywords (para , self .rcs_keyword_substitutions )
115
-
Original file line number Diff line number Diff line change 4
4
from . import pep_contents
5
5
6
6
7
-
8
-
9
-
10
7
class PEPParser (parsers .RSTParser ):
11
8
supported = ("pep" , "python-enhancement-proposal" )
12
9
You can’t perform that action at this time.
0 commit comments