diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-06 21:57:30 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-06 21:57:30 +0300 |
| commit | 50a82c126037023d029eaa4ff2d2144c44ae039b (patch) | |
| tree | 6ffa092a021096834532d5ce5ca4e674f412c076 /docs/_static/css/code-snippets.css | |
| parent | b8b3044d3c3515d91de0f44785bfd965174867df (diff) | |
| download | vyos-documentation-50a82c126037023d029eaa4ff2d2144c44ae039b.tar.gz vyos-documentation-50a82c126037023d029eaa4ff2d2144c44ae039b.zip | |
fix: bring _ext/vyos.py compat patches from current to sagitta
The sagitta build failed on /en/1.4/ post-flip because docs/_ext/vyos.py
was missing two version-compatibility patches that current already has:
- Line 224: nodes.reprunicode(path) → str(path) (docutils 0.21 removed
nodes.reprunicode)
- Line 367-378: myst-parser 2.0 fallback for nested_render_text — the
RST 'Body' state does not expose _renderer, so the call falls back to
docutils nested_parse via a ViewList
These patches landed on current via earlier PRs but were never backported
to sagitta. The flip PR exposed the missing patches because the new
build path renders cmdinclude blocks through MyST's render_restructuredtext
which uses the RST 'Body' state without _renderer.
Bringing current's _ext/vyos.py byte-identical fixes both issues. The
file has no sagitta-specific divergence beyond these two patches.
Generated by robots https://vyos.io
Diffstat (limited to 'docs/_static/css/code-snippets.css')
0 files changed, 0 insertions, 0 deletions
