Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Commit6ef6915
authored
pyspecific: Fix i18n for availability directiveIf the directive has content, the previous code would nest paragraphnodes from that content inside a general paragraph node, which confusesSphinx and leads it to drop the content when translating. Instead, use acontainer node for the body.Also use set_source_info so that any warnings have location info.
1 parentdfc2e06 commit6ef6915
1 file changed
+11
-9
lines changedLines changed: 11 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
119 | 120 |
| |
120 | 121 |
| |
121 | 122 |
| |
122 |
| - | |
| 123 | + | |
123 | 124 |
| |
124 | 125 |
| |
125 | 126 |
| |
| |||
139 | 140 |
| |
140 | 141 |
| |
141 | 142 |
| |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 |
| |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 |
| |
149 |
| - | |
150 |
| - | |
| 152 | + | |
151 | 153 |
| |
152 | 154 |
| |
153 |
| - | |
| 155 | + | |
154 | 156 |
| |
155 | 157 |
| |
156 | 158 |
| |
|
0 commit comments
Comments
(0)