Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-04-28 15:16:11 +01:00
parent 0d3147f2d3
commit 71562513f7
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
2 changed files with 21 additions and 9 deletions

View file

@ -89,15 +89,18 @@ role_name = BENCHMARK_NAME
target_name = BENCHMARK_NAME target_name = BENCHMARK_NAME
title = 'Ansible-Lockdown' + BENCHMARK_NAME + 'Documentation:' title = 'Ansible-Lockdown' + BENCHMARK_NAME + 'Documentation:'
rst_prolog = """ # Added to variables.rst
.. |benchmark_name| replace:: +BENCHMARK_TYPE
.. |benchmark_os| replace:: +BENCHMARK_OS .. include:: variables.rst
.. |benchmark_os_short| replace:: +BENCHMARK_OS_SHORT #rst_prolog = """
.. |benchmark_version| replace:: +BENCHMARK_VERSION #.. |benchmark_name| replace:: +BENCHMARK_TYPE
.. |benchmark_release_date| replace:: +BENCHMARK_REL_DATE #.. |benchmark_os| replace:: +BENCHMARK_OS
.. |lockdown_url| replace:: +LOCKDOWN_URL #.. |benchmark_os_short| replace:: +BENCHMARK_OS_SHORT
.. |tested_oss| replace:: +TESTED_OS #.. |benchmark_version| replace:: +BENCHMARK_VERSION
""" #.. |benchmark_release_date| replace:: +BENCHMARK_REL_DATE
#.. |lockdown_url| replace:: +LOCKDOWN_URL
#.. |tested_oss| replace:: +TESTED_OS
#"""
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |mindpointversion| and |release|, also used in various other places throughout the # |mindpointversion| and |release|, also used in various other places throughout the

View file

@ -0,0 +1,9 @@
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::
"""