~/talk

The Riddle of the Intersphinx: Configuration and Cross-Reference Composition

Talkat PyOhio 2019 · 2019-07-27..07-28· [documentation]
slides:none on file

Explains how to make intersphinx references actually work by parsing objects.inv (zlib compressed), using sphinx.ext.intersphinx mappings, and decoding the domain/role/artifact triples that determine link targets and tooltips. Shows the ambiguity problem with names like max (builtin vs numpy.ndarray.max), how to set the intersphinx tuple (base URL, objects file), and a small URL-walking helper to locate inventories. Demonstrates the approach fixes broken links and suppresses otherwise cryptic warnings when built with nitpicky.

AI-written summary · about

  1. 0:00Intro
  2. 1:20Slides!
  3. 1:30What's This Talk About?
  4. 2:27What is Sphinx?
  5. 5:14What is Intersphinx?
  6. 5:48The Riddle of the Sphinx
  7. 6:22The Riddle of the Intersphinx
  8. 6:50Broken Artifact References
  9. 8:45Sphinx Namespace Model
  10. 10:12Syntax of Artifact Cross-References
  11. 12:07Sphinx Objects (Artifacts) Inventory: objects.inv
  12. 12:48Finding objects.inv
  13. 15:26Format of objects.inv
  14. 16:00Inspecting the objects.inv
  15. 19:30Broken Fixed Artifact References
  16. 20:10Roles in the py Domain
  17. 20:39Intersphinx Installation/Configuration
  18. 21:31Syntax of intersphinx_mapping Items dict mapping of user-defined project names to 2-tuples
  19. 23:04Three Key Tasks 1. Configuring intersphinx in contay
  20. 23:40Links/Attributions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.