SCF: Added sphinx-build configuration.
This patch adds a barebones/ minimal sphinx configuration,
which allows the user to build the documentation, by invoking
sphinx-build ./ {OUTPUT_DIR}
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
Change-Id: Ib72a8c545da039262f3777149238ce28748d80f5
diff --git a/static_checks/README.rst b/static_checks/README.rst
index 432d5b2..2b54da4 100644
--- a/static_checks/README.rst
+++ b/static_checks/README.rst
@@ -31,6 +31,19 @@
Output reports if produced by each corresponding script, will be stored at
`{TFM-Root}/checks_reports``
+.. toctree::
+ :caption: Table of Contents
+ :name: mastertoc
+ :maxdepth: 3
+ :hidden:
+
+ Home<self>
+ cppcheck/readme
+ clang_format/README
+ checkpatch/README
+ header_check/README
+ git_hooks/README
+
--------------
*Copyright (c) 2021, Arm Limited. All rights reserved.*
diff --git a/static_checks/conf.py b/static_checks/conf.py
new file mode 100644
index 0000000..8ba5366
--- /dev/null
+++ b/static_checks/conf.py
@@ -0,0 +1,25 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------#
+
+project = 'Static Checking Framework'
+html_show_copyright = False
+
+extensions = [
+ 'sphinx.ext.autosectionlabel',
+]
+
+# Set up autosection with a maximum depth of 2
+autosectionlabel_prefix_document=True
+autosectionlabel_maxdepth=2
+
+# Set the theme
+html_theme = 'sphinx_rtd_theme'
+html_theme_options = {'collapse_navigation': False}
+
+# Set the README as the master document
+master_doc = 'README'
+