Skip to content

Commit

Permalink
deps: Update docs dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax committed Feb 1, 2023
1 parent 9a2c13e commit 451d30a
Show file tree
Hide file tree
Showing 4 changed files with 500 additions and 490 deletions.
23 changes: 14 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import yaml

from sphinx.directives.code import CodeBlock
import sphinx_rtd_theme

# TODO(phlax): move the pygments style to envoy.docs.sphinx_runner and remove this
sys.path.append(os.path.abspath("./_pygments"))
Expand Down Expand Up @@ -94,18 +93,24 @@ def _config(key):
sys.path.append(os.path.abspath("./_ext"))

extensions = [
'envoy.docs.sphinx_runner.ext.httpdomain', 'sphinx.ext.extlinks', 'sphinx.ext.ifconfig',
'sphinx.ext.intersphinx', 'sphinx_tabs.tabs', 'sphinx_copybutton',
'envoy.docs.sphinx_runner.ext.validating_code_block', 'sphinxext.rediraffe',
'envoy.docs.sphinx_runner.ext.powershell_lexer'
'envoy.docs.sphinx_runner.ext.httpdomain',
'sphinx.ext.extlinks',
'sphinx.ext.ifconfig',
'sphinx.ext.intersphinx',
'envoy.docs.sphinx_runner.sphinx_tabs.tabs',
'sphinx_copybutton',
'envoy.docs.sphinx_runner.ext.validating_code_block',
'sphinxext.rediraffe',
'envoy.docs.sphinx_runner.ext.powershell_lexer',
'sphinxcontrib.jquery',
]

release_level = _config('release_level')
blob_sha = _config('blob_sha')

extlinks = {
'repo': ('https://github.com/envoyproxy/envoy/blob/{}/%s'.format(blob_sha), ''),
'api': ('https://github.com/envoyproxy/envoy/blob/{}/api/%s'.format(blob_sha), ''),
'repo': ('https://github.com/envoyproxy/envoy/blob/{}/%s'.format(blob_sha), '%s'),
'api': ('https://github.com/envoyproxy/envoy/blob/{}/api/%s'.format(blob_sha), '%s'),
}

# Only lookup intersphinx for explicitly prefixed in cross-references
Expand Down Expand Up @@ -164,7 +169,7 @@ def _config(key):
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
Expand Down Expand Up @@ -224,7 +229,7 @@ def _config(key):
}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
Expand Down
Loading

0 comments on commit 451d30a

Please sign in to comment.