From 86de2de975cf4958c84d73cdd669be525e4680ea Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Thu, 14 May 2026 00:57:01 +0300 Subject: fix(includes): wrap admonition in `{only} not latex` to preserve PDF suppression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- docs/_include/need_improvement.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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`. ::: +:::: -- cgit v1.2.3