Commit 9fd2418
committed
Use @stopped_doc flag to preserve :stopdoc: across done_documenting reset
The previous approach (checking done_documenting == value) was too
broad and hid 501 items that should remain visible.
Instead, track :stopdoc: state with a dedicated @stopped_doc flag.
When done_documenting= resets document_self, it skips the reset if
@stopped_doc is set. The flag is cleared by :startdoc:.
This precisely preserves :stopdoc: directives without affecting
classes that need the done_documenting reset for file reopening.1 parent 22cdb76 commit 9fd2418
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
| |||
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| 358 | + | |
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| |||
0 commit comments