blob: 58f5e72baa3927ab3a7a2e824660f1f3bc06ba6b [file] [log] [blame]
Paul Beesleye534d5f2019-10-22 11:08:15 +00001# -*- coding: utf-8 -*-
2#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7#
8# Configuration file for the Sphinx documentation builder.
9#
10# See the options documentation at http://www.sphinx-doc.org/en/master/config
11
12import os
13
14# -- Project information -----------------------------------------------------
15
16project = 'Trusted Firmware-A Tests'
17
18# -- General configuration ---------------------------------------------------
19
20# Add any Sphinx extension module names here, as strings. They can be
21# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
22# ones.
23extensions = ['sphinx.ext.autosectionlabel', 'sphinxcontrib.plantuml']
24
25# Add any paths that contain templates here, relative to this directory.
26templates_path = ['_templates']
27
28# The suffix(es) of source filenames.
29source_suffix = '.rst'
30
31# The master toctree document.
32master_doc = 'index'
33
34# The language for content autogenerated by Sphinx. Refer to documentation
35# for a list of supported languages.
36#
37# This is also used if you do content translation via gettext catalogs.
38# Usually you set "language" from the command line for these cases.
39language = None
40
41# List of patterns, relative to source directory, that match files and
42# directories to ignore when looking for source files.
43# This pattern also affects html_static_path and html_extra_path .
44exclude_patterns = []
45
46# The name of the Pygments (syntax highlighting) style to use.
47pygments_style = 'sphinx'
48
49# Minimum version of sphinx required
50needs_sphinx = '2.0'
51
52# -- Options for HTML output -------------------------------------------------
53
54# Don't show the "Built with Sphinx" footer
55html_show_sphinx = False
56
57# Don't show copyright info in the footer (we have this content in the page)
58html_show_copyright = False
59
60# The theme to use for HTML and HTML Help pages. See the documentation for
61# a list of builtin themes.
62html_theme = "sphinx_rtd_theme"
63
64# The logo to display in the sidebar
65html_logo = 'resources/TrustedFirmware-Logo_standard-white.png'
66
67# Options for the "sphinx-rtd-theme" theme
68html_theme_options = {
69 'collapse_navigation': False, # Can expand and collapse sidebar entries
70 'prev_next_buttons_location': 'both', # Top and bottom of the page
71 'style_external_links': True # Display an icon next to external links
72}
73
74# -- Options for autosectionlabel --------------------------------------------
75
76# Only generate automatic section labels for document titles
77autosectionlabel_maxdepth = 1
78
79# -- Options for plantuml ----------------------------------------------------
80
81plantuml_output_format = 'svg_img'