summaryrefslogtreecommitdiff
path: root/docs/_static/css/code-snippets.css
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-14 07:45:25 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2026-05-14 05:08:55 +0000
commit250f3edc21991de39ca0fb4ab698e736037afbc8 (patch)
tree18b60adb6233239be2ddfd8ed7b9f5f2bcf047af /docs/_static/css/code-snippets.css
parenta02f7dd4c5009f3ade6dd79fe4eb2ff49f0d3cc0 (diff)
downloadvyos-documentation-250f3edc21991de39ca0fb4ab698e736037afbc8.tar.gz
vyos-documentation-250f3edc21991de39ca0fb4ab698e736037afbc8.zip
ci(doc-linter): anchor .. code-block:: detection + drop debug print
Addresses Copilot review on PR #2023: 1. .. code-block:: tracking was triggered by a plain substring check, which matched mid-line occurrences too. In MD prose like ``.. code-block::`` (docs/documentation.md:222) this set in_rst_codeblock=True spuriously and could suppress line-length checks downstream. Replace with a leading-whitespace- anchored regex and gate on file_ext in ('.rst', '.txt') or an open {eval-rst} MyST fence so the directive opener is only recognized where it can actually occur. 2. print('start') in main() was leftover debug noise — remove it. (cherry picked from commit e87278ef35660a6257b55f4585274a52d3124583)
Diffstat (limited to 'docs/_static/css/code-snippets.css')
0 files changed, 0 insertions, 0 deletions