| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
sphinx-codeautolink's own parsing pass over code blocks is stricter than plain docutils about this pre-existing 3-space/4-space mismatch between the :linenos: option and the code content, surfacing a new 'unexpected indent' warning that was previously silently tolerated.
| Back | FazBrowse Home | New Git URL |
Summary
Brings SMTB's docs config in line with RTB and MVTB, which both already have these two extensions:
Config (extensions list, suppress_warnings for codeautolink's own match warnings, copybutton_prompt_text/etc., codeautolink_custom_blocks/codeautolink_search_css_classes) mirrors RTB's conf.py exactly.
Also fixes a small pre-existing formatting wart in intro.rst: two .. code-block:: python blocks had :linenos: indented 3 spaces against 4-space code content. Plain docutils tolerated this silently, but sphinx-codeautolink's own parsing pass over code blocks is stricter and surfaced it as a new "unexpected indent" warning -- fixed rather than left as a regression.
Test plan