Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
Commit5ee8344
* Don't parse content as arg in the impl-detail directiveThis does not change the (untranslated) output,but ensures that the doctree node metadata is correct.whichfixesgh-97607 with the text not being translated.It also simplifies the code and logicand makes it consistant with the docutils built-in directives.* Remove unused branch from impl-detail directive handling no-content caseThis is not used anywhere in the docs and lacks a clear use case,and is more likely a mistake which is now flagged at build time.This simplifies the logic from two code paths to one,and makes the behavior consistant with similar built-in directives(e.g. the various admonition types).* Further simplify impl-detail reST directive code(cherry picked from commite8165d4)Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
1 parentc6fcbb4 commit5ee8344
1 file changed
+7
-16
lines changedLines changed: 7 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 |
| - | |
105 |
| - | |
106 | 104 |
| |
107 | 105 |
| |
108 | 106 |
| |
109 | 107 |
| |
110 | 108 |
| |
111 | 109 |
| |
| 110 | + | |
112 | 111 |
| |
113 | 112 |
| |
114 | 113 |
| |
115 | 114 |
| |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 | 115 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
131 | 122 |
| |
132 | 123 |
| |
133 | 124 |
| |
|
0 commit comments
Comments
(0)