From 2585cda7bcd20566f280681898c04a48ce0cf7c8 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Thu, 28 Apr 2022 15:26:52 +0100 Subject: [PATCH] updated Signed-off-by: Mark Bolwell --- docs/source/{variables.rst => .variables.rst} | 4 +--- docs/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) rename docs/source/{variables.rst => .variables.rst} (86%) 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