diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-14 07:45:25 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-14 07:45:25 +0300 |
| commit | e87278ef35660a6257b55f4585274a52d3124583 (patch) | |
| tree | c3839aaacff9450135c9b180866ee2ec39e8d93a /docs/contributing/issues-features.md | |
| parent | be8090a3a09adb950557c2887c9a27c017ffd31d (diff) | |
| download | vyos-documentation-e87278ef35660a6257b55f4585274a52d3124583.tar.gz vyos-documentation-e87278ef35660a6257b55f4585274a52d3124583.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.
Diffstat (limited to 'docs/contributing/issues-features.md')
0 files changed, 0 insertions, 0 deletions
