Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork398
Commit875e5df
authored
Remove include:: replacements hack (#2875)
We currently need to replace the include:: directives in the cpythondocumentation source files to fix an issue that sphinx/docutils havewith relative source files after changing the app.srcdir in our conf.py.Instead of doing this, let's define the app.srcdir property as anabsolute path. This removes the issue altogether, yielding a correctbuild without the need to modify the documentation source files.This change seems to have the nice side effect that successive buildsare not incremental rather than starting from scratch.Edit: additionally, we now define sphinx's `app.srcdir` as a Path, whichseems to be a requirement at least in 8.1.3, which is what we''l use forbuilding the 3.13 docs. Seesphinx-doc/sphinx#13018.Closes#1844---------Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>1 parent88c4f4c commit875e5df
3 files changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | | - | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
0 commit comments
Comments
(0)