From 9ffa52c3fccca9d8d55bca04509e150c351e1855 Mon Sep 17 00:00:00 2001 From: OpenTelekomCloud Proposal Bot Date: Fri, 15 Nov 2024 09:16:20 +0000 Subject: [PATCH] Update content --- api-ref/source/conf.py | 7 ++++++- api-ref/source/docutils.conf | 2 ++ api-ref/source/index.rst | 7 ++++--- 3 files changed, 12 insertions(+), 4 deletions(-) mode change 100755 => 100644 api-ref/source/conf.py create mode 100644 api-ref/source/docutils.conf diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py old mode 100755 new mode 100644 index 1883ed1..a618be7 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -129,6 +129,11 @@ latex_elements = { 'papersize': 'a4paper', 'pointsize': '12pt', 'figure_align': 'H', - 'preamble': r'\newcommand{\githash}{' + current_commit_hash + '}', + 'preamble': rf''' + \newcommand{{\githash}}{{{current_commit_hash}}} + \newcommand{{\gitcommittime}}{{{current_commit_time}}} + \newcommand{{\doctitle}}{{{otcdocs_doc_title}}} + \newcommand{{\servicetitle}}{{{otcdocs_service_title}}} + ''', 'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm' } \ No newline at end of file diff --git a/api-ref/source/docutils.conf b/api-ref/source/docutils.conf new file mode 100644 index 0000000..7cbe4c1 --- /dev/null +++ b/api-ref/source/docutils.conf @@ -0,0 +1,2 @@ +[html writers] +table-style: table, caption-top \ No newline at end of file diff --git a/api-ref/source/index.rst b/api-ref/source/index.rst index a90356d..a15febb 100644 --- a/api-ref/source/index.rst +++ b/api-ref/source/index.rst @@ -1,3 +1,4 @@ -========================================================== -Welcome to the documentation of resource-formation-service -========================================================== +========================================== +Resource Formation Service - API Reference +========================================== +