Documentation #8118
opendocs: use dynamic suricata version mentions
Description
To avoid what we have with #8113, have the suricata versions mentioned in the docs be variables.
Decided whether via something like a variable ( %VERSION% ) or via Sphinx build-time method, or something else.
JF Updated by Juliana Fajardini Reichow 11 months ago
- Related to Documentation #8113: doc: remove mention of suricata-7 in latest docs added
JF Updated by Juliana Fajardini Reichow 10 months ago
will require more exploration. There are Sphinx directives that could work to check which version we're building, such as ifconfig (https://www.sphinx-doc.org/en/master/usage/extensions/ifconfig.html#directive-ifconfig) but the version to be replaced happens to be within a code-block, so we'd need an external extension for that, from what I could see (Found https://pypi.org/project/sphinx-substitution-extensions/, not sure yet if that would work on RtD).
JF Updated by Juliana Fajardini Reichow 10 months ago
Tried using this substitutions extension, but didn't manage to make it work, locally:
WARNING: Pygments lexer name ':substitutions:' is not known [misc.highlighting_failure]
Will keep trying.
PA Updated by Philippe Antoine 2 months ago
- Status changed from New to Triaged
- Assignee set to OISF Dev
PA Updated by Philippe Antoine 2 months ago
- Target version changed from TBD to 9.0.0-beta1
- Label deleted (
Needs backport to 7.0)
OT Updated by OISF Ticketbot 2 months ago
- Subtask #8772 added
OT Updated by OISF Ticketbot 2 months ago
- Label deleted (
Needs backport to 8.0)
PA Updated by Philippe Antoine 13 days ago
- Tracker changed from Task to Documentation