summaryrefslogtreecommitdiff
path: root/docs/_include
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-14 00:57:01 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-14 00:57:01 +0300
commit86de2de975cf4958c84d73cdd669be525e4680ea (patch)
tree75bf3ae8cfc0be13b7562b2c32fde268b0175aec /docs/_include
parent82a06e1dc812ceba239aaabf4acd651a038bfee7 (diff)
downloadvyos-documentation-86de2de975cf4958c84d73cdd669be525e4680ea.tar.gz
vyos-documentation-86de2de975cf4958c84d73cdd669be525e4680ea.zip
fix(includes): wrap admonition in `{only} not latex` to preserve PDF suppression
The original RST `_include/need_improvement.txt` wrapped the admonition in `.. raw:: latex \iffalse / \fi`, intentionally hiding the "Call for Contributions" notice from the LaTeX/PDF builder (see b222a313, 2020). `.readthedocs.yml` enables `formats: - pdf` and `conf.py` configures `latex_elements`/`latex_documents`, so PDF output is a real downstream artifact. The previous commit (82a06e1d) dropped that suppression. Restore it using Sphinx's `only` directive with `not latex`, which is the MyST equivalent of the original RST builder-conditional pattern. Spotted by Copilot inline review on #2016. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs/_include')
-rw-r--r--docs/_include/need_improvement.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/_include/need_improvement.txt b/docs/_include/need_improvement.txt
index c95260ee..23f33f66 100644
--- a/docs/_include/need_improvement.txt
+++ b/docs/_include/need_improvement.txt
@@ -1,3 +1,4 @@
+::::{only} not latex
:::{admonition} Call for Contributions
:class: error
@@ -5,3 +6,4 @@ Help improve this section with additional content, examples, and explanations.
For contribution guidelines, see {ref}`documentation`.
:::
+::::