Skip to content

Commit f3f97a6

Browse files
committed
Update sphinx configuration
1 parent 416efc2 commit f3f97a6

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

docs/conf.py

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,13 @@
3838
# Add any Sphinx extension module names here, as strings. They can be
3939
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4040
# ones.
41-
# Add it to 'extensions':
4241
extensions = [
4342
'myst_parser',
4443
'sphinx.ext.autodoc',
4544
'sphinx.ext.intersphinx',
46-
'sphinx_antsibull_ext'
45+
'sphinx_antsibull_ext',
4746
]
4847

49-
# extensions = [
50-
# 'myst_parser',
51-
# 'sphinx.ext.autodoc',
52-
# 'sphinx.ext.intersphinx',
53-
# 'ansible_basic_sphinx_ext',
54-
# ]
55-
5648
# Add any paths that contain templates here, relative to this directory.
5749
templates_path = ['_templates']
5850

@@ -73,7 +65,7 @@
7365
#
7466
# This is also used if you do content translation via gettext catalogs.
7567
# Usually you set "language" from the command line for these cases.
76-
language = None
68+
language = 'en'
7769

7870
# List of patterns, relative to source directory, that match files and
7971
# directories to ignore when looking for source files.
@@ -83,6 +75,7 @@
8375
# The name of the Pygments (syntax highlighting) style to use.
8476
pygments_style = None
8577

78+
highlight_language = 'YAML+Jinja'
8679

8780
# -- Options for HTML output -------------------------------------------------
8881

@@ -170,22 +163,5 @@
170163
]
171164

172165

173-
# -- Options for Epub output -------------------------------------------------
174-
175-
# Bibliographic Dublin Core info.
176-
epub_title = project
177-
178-
# The unique identifier of the text. This can be a ISBN number
179-
# or the project homepage.
180-
#
181-
# epub_identifier = ''
182-
183-
# A unique identification for the text.
184-
#
185-
# epub_uid = ''
186-
187-
# A list of files that should not be packed into the epub file.
188-
epub_exclude_files = ['search.html']
189-
190-
191166
# -- Extension configuration -------------------------------------------------
167+
intersphinx_mapping = {'python': ('https://docs.python.org/2', None), 'ansible': ('https://docs.ansible.com/ansible/latest/', None)}

0 commit comments

Comments
 (0)