File tree 6 files changed +16
-53
lines changed
6 files changed +16
-53
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ indent_size = 4
11
11
[* .rst ]
12
12
indent_size = 3
13
13
14
- [* .yml ]
14
+ [* .{css, yml} ]
15
15
indent_size = 2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 38
38
39
39
.release-cycle-chart .release-cycle-blob {
40
40
stroke-width : 1.6px ;
41
- /* default colours, overriden below for individual statuses */
41
+ /* default colours, overridden below for individual statuses */
42
42
fill : var (--color-background-primary );
43
43
stroke : var (--color-foreground-primary );
44
44
}
85
85
.bad pre {
86
86
border-left : 3px solid rgb (244 , 76 , 78 );
87
87
}
88
+
89
+ .extlink-cpy-file ,
90
+ .extlink-gh-label {
91
+ border : 1px solid var (--color-background-border );
92
+ border-radius : .2em ;
93
+ font-family : var (--font-stack--monospace );
94
+ font-size : var (--font-size--small--2 );
95
+ padding : .1em .2em ;
96
+ }
Original file line number Diff line number Diff line change 1
- import os
2
- import sys
3
1
import time
4
2
5
- # Location of custom extensions.
6
- sys .path .insert (0 , os .path .abspath ("." ) + "/_extensions" )
7
-
8
3
extensions = [
9
- 'custom_roles' ,
10
4
'notfound.extension' ,
11
5
'sphinx.ext.extlinks' ,
12
6
'sphinx.ext.intersphinx' ,
176
170
# This config is a dictionary of external sites,
177
171
# mapping unique short aliases to a base URL and a prefix.
178
172
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
173
+ _repo = "https://github.com/python/cpython"
179
174
extlinks = {
175
+ "cpy-file" : (f"{ _repo } /blob/main/%s" , "%s" ),
176
+ "gh-label" : (f"{ _repo } /labels/%s" , "%s" ),
180
177
"github" : ("https://github.com/%s" , "%s" ),
181
178
"github-user" : ("https://github.com/%s" , "@%s" ),
182
179
"pypi" : ("https://pypi.org/project/%s/" , "%s" ),
Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ parser (the one used by the interpreter) just execute: ::
537
537
538
538
make regen-pegen
539
539
540
- using the :cpy-file: ` ! Makefile ` in the main directory. If you are on Windows you can
540
+ using the `` Makefile ` ` in the main directory. If you are on Windows you can
541
541
use the Visual Studio project files to regenerate the parser or to execute: ::
542
542
543
543
./PCbuild/build.bat --regen
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ sphinx-notfound-page>=1.0.0
7
7
sphinx_copybutton >= 0.3.3
8
8
sphinxext-opengraph >= 0.7.1
9
9
sphinxext-rediraffe
10
- Sphinx ~= 7.3.7
10
+ Sphinx ~= 7.4.0
You can’t perform that action at this time.
0 commit comments