diff --git a/docs/source/variables.rst b/docs/source/.variables.rst similarity index 86% rename from docs/source/variables.rst rename to docs/source/.variables.rst index 704c45c..4c5d091 100644 --- a/docs/source/variables.rst +++ b/docs/source/.variables.rst @@ -1,9 +1,7 @@ -rst_prolog = """ .. |benchmark_name| replace:: CIS .. |benchmark_os| replace:: RedHat Enterprise Linux 9 .. |benchmark_os_short| replace:: RHEL9 .. |benchmark_version| replace:: V0.5 beta .. |benchmark_release_date| replace:: TBC .. |lockdown_url| replace:: https://github.com/ansible-lockdown/|benchmark_os_short|-|benchmark_name| -.. |tested_oss| replace:: -""" +.. |tested_oss| replace:: RHEL9 diff --git a/docs/source/conf.py b/docs/source/conf.py index cd47031..711352e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -91,7 +91,7 @@ title = 'Ansible-Lockdown' + BENCHMARK_NAME + 'Documentation:' # Added to variables.rst -.. include:: variables.rst +rst_prolog ="\n.. include:: .variables.rst\n" #rst_prolog = """ #.. |benchmark_name| replace:: +BENCHMARK_TYPE #.. |benchmark_os| replace:: +BENCHMARK_OS