Skip to content

Commit

Permalink
docs: Shift sphinx extensions upstream (envoyproxy#21620)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Tianyu Xia <tyxia@google.com>
  • Loading branch information
phlax authored and tyxia committed Jun 14, 2022
1 parent 67f5c05 commit 9851f75
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 106 deletions.
6 changes: 1 addition & 5 deletions docs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,7 @@ genrule(

pkg_files(
name = "sphinx_base",
srcs = glob(
[
"_ext/*",
],
) + [
srcs = [
":conf.py",
":redirects.txt",
":versions.yaml",
Expand Down
6 changes: 0 additions & 6 deletions docs/_ext/powershell_lexer.py

This file was deleted.

89 changes: 0 additions & 89 deletions docs/_ext/validating_code_block.py

This file was deleted.

5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ def _config(key):

extensions = [
'envoy.docs.sphinx_runner.ext.httpdomain', 'sphinx.ext.extlinks', 'sphinx.ext.ifconfig',
'sphinx.ext.intersphinx', 'sphinx_tabs.tabs', 'sphinx_copybutton', 'validating_code_block',
'sphinxext.rediraffe', 'powershell_lexer'
'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'
]

release_level = _config('release_level')
Expand Down
2 changes: 1 addition & 1 deletion tools/base/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ envoy.dependency.pip_check>=0.1.2
envoy.distribution.release>=0.0.7
envoy.distribution.repo>=0.0.5
envoy.distribution.verify>=0.0.8
envoy.docs.sphinx-runner>=0.1.4
envoy.docs.sphinx-runner>=0.1.6
envoy.gpg.identity>=0.1.0
envoy.gpg.sign>=0.1.0
flake8
Expand Down
7 changes: 4 additions & 3 deletions tools/base/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ envoy-distribution-verify==0.0.8 \
envoy-docker-utils==0.0.2 \
--hash=sha256:a12cb57f0b6e204d646cbf94f927b3a8f5a27ed15f60d0576176584ec16a4b76
# via envoy-distribution-distrotest
envoy-docs-sphinx-runner==0.1.5 \
--hash=sha256:20bb0b2b26de86ea8478b1e9c89cad4ec6ba7e43263979a1672cc421e660a10d \
--hash=sha256:d94ca8df1046dd465f2c0a981c8354e74d6cda57ea95483200812cb88560492b
envoy-docs-sphinx-runner==0.1.6 \
--hash=sha256:12c1e3e259400a46363832e380f7286bc3cda7b374d8ae5b57ec07372569ee9e \
--hash=sha256:e8a84d7f238c89084795e2cda6de414441ebb9511bb7392df10c72321fecb8cf
# via -r requirements.in
envoy-github-abstract==0.0.21 \
--hash=sha256:243dae9457243fb42e4643b1f45006c3b0d3151c808884217447d29a081b26a1 \
Expand Down Expand Up @@ -777,6 +777,7 @@ pyyaml==6.0 \
# -r requirements.in
# envoy-base-utils
# envoy-code-check
# envoy-docs-sphinx-runner
requests==2.26.0 \
--hash=sha256:6c1246513ecd5ecd4528a0906f910e8f0f9c6b8ec72030dc9fd154dc1a6efd24 \
--hash=sha256:b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
Expand Down

0 comments on commit 9851f75

Please sign in to comment.