diff --git a/umn/source/conf.py b/umn/source/conf.py old mode 100755 new mode 100644 index 3f3f387..5227d13 --- a/umn/source/conf.py +++ b/umn/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/umn/source/docutils.conf b/umn/source/docutils.conf new file mode 100644 index 0000000..7cbe4c1 --- /dev/null +++ b/umn/source/docutils.conf @@ -0,0 +1,2 @@ +[html writers] +table-style: table, caption-top \ No newline at end of file diff --git a/umn/source/index.rst b/umn/source/index.rst index a90356d..9d77335 100644 --- a/umn/source/index.rst +++ b/umn/source/index.rst @@ -1,3 +1,4 @@ -========================================================== -Welcome to the documentation of resource-formation-service -========================================================== +======================================= +Resource Formation Service - User Guide +======================================= +