Commit 60383ac
authored
DOC: fix broken link to wxPython Widget Inspection Tool (#31535)
* DOC: fix broken link to wxPython Widget Inspection Tool
The wiki.wxpython.org URL returns 404. Point readers to the current
official documentation at docs.wxpython.org instead.
Refs #30306.
* DOC: restructure wx5 example to use wx.App with InspectableApp tip
Per review feedback, the regular example now uses wx.App() directly so
readers see the standard wxPython entry point without any debug-only
machinery. A .. tip:: directive in the module docstring describes
wx.lib.mixins.inspection.InspectableApp as an optional debugging aid
and links to the wx.lib.inspection documentation (which replaces the
now-dead wiki URL).
The wx.lib.mixins.inspection import is removed since it is no longer
referenced from the example code.
* DOC: apply review suggestion on wx5 example
Rewrite the .. tip:: in the wx5 example with the wording proposed in
review, and add a wx intersphinx mapping entry so the :class:`wx.App`
and :class:`wx.lib.mixins.inspection.InspectableApp` cross-references
resolve under nitpicky docs builds.1 parent 07b40e6 commit 60383ac
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
10 | | - | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments