~/talk

Static Sites with Sphinx and Markdown

Talkat PyCon US 2021 · 2021-05-14..05-15· [documentation, python]
slides:none on file

Sphinx now accepts Markdown via MyST and the myst-parser, so a Sphinx site can be authored in .md files while still using directives, YAML front matter, and autodoc to pull API docs from code. The system warns on broken links, resolves titles for link text, supports role targets and intersphinx cross‑site links, includes external files for code snippets, and produces HTML, PDF, man pages and other outputs — and it works out of the box.

AI-written summary · about

  1. 0:00Intro
  2. 0:57Markdown and Python Easy to do headings, paragraphs, lists
  3. 1:18WAIT A SECOND !!!! That's not Markdown...
  4. 1:32Static Websites with Sphinx and Markdown
  5. 2:02Old Days
  6. 3:03Single Page App (SPA)
  7. 4:14Meanwhile, for docs
  8. 4:55What Does Sphinx Do?
  9. 5:27Sphinx Site
  10. 6:24Install MyST Spip install myst-parser
  11. 6:38Configure Sphinx for MyST extensions - "myst parser", ...
  12. 7:03index.rst - index.md
  13. 7:39How It Works
  14. 9:10Markdown Image ![Alt Text] static/logo.png
  15. 9:46Enhanced Markdown Image image static/logo.png :alt: Python Logo
  16. 10:05Basic Admonition
  17. 10:28Enhanced Admonition
  18. 10:54toctree With Options
  19. 11:56Markdown Link URL [link text]
  20. 12:26Without Link Text 014../path/to/doc
  21. 13:02Warning on Broken Link
  22. 13:23Linking to a Role Targets and Cross-Referencing
  23. 13:48Role & No Link Text
  24. 14:12Intersphinx
  25. 15:52Code Fence With Language
  26. 16:21Code Fence Options
  27. 16:33literal-include
  28. 18:11Lots More To Cover
  29. 19:29Plenty to Read
  30. 20:07What's the Future?
~/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.