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:39 +0000
commit40d636335216b8afddf6d5bc62ae7604474196cb (patch)
tree05420f02f75918a206249175f2b9d7f04284a04d /docs/_static/css/code-snippets.css
parentce69258be7064fa3cbe5da4f743bc7b39f9f413d (diff)
downloadvyos-documentation-40d636335216b8afddf6d5bc62ae7604474196cb.tar.gz
vyos-documentation-40d636335216b8afddf6d5bc62ae7604474196cb.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