Skip to content

Commit

Permalink
Merge branch 'add-redirects' into 'master'
Browse files Browse the repository at this point in the history
Add redirects extension

See merge request nvidia/cloud-native/cnt-docs!311
  • Loading branch information
mikemckiernan committed Aug 29, 2023
2 parents d487fc5 + 028a6ae commit b1ca56f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variables:
CONTAINER_TEST_IMAGE: "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}"
CONTAINER_RELEASE_IMAGE: "${CI_REGISTRY_IMAGE}:0.2.0"
CONTAINER_RELEASE_IMAGE: "${CI_REGISTRY_IMAGE}:0.3.0"
BUILDER_IMAGE: "${CONTAINER_RELEASE_IMAGE}"
PUBLISHER_IMAGE: "${CI_REGISTRY_PUBLISHER}/publisher:2.0.0"
PROJECTS: review container-toolkit driver-containers edge gpu-operator gpu-telemetry kubernetes partner-validated
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN /work/tools/packman/python.sh -m pip install --no-cache-dir --no-deps -U \
Pillow \
webcolors \
sphinx-copybutton \
sphinx-tabs
sphinx-tabs \
sphinx-reredirects
RUN (cd /tmp/extension; tar cf - . ) | (cd /var/tmp/packman/chk/sphinx/4.5.0.2-py3.7-linux-x86_64/; tar xf -)
RUN rm -rf /work /tmp/extension
8 changes: 7 additions & 1 deletion repo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ sphinx_conf_py_extra = """
"colon_fence",
]
templates_path = ['${root}/templates']
extensions.extend(["sphinx.ext.autosectionlabel", "sphinx_copybutton", "sphinx_tabs.tabs", "sphinxcontrib.blockdiag"])
extensions.extend([
"sphinx.ext.autosectionlabel",
"sphinx_copybutton",
"sphinx_tabs.tabs",
"sphinxcontrib.blockdiag",
"sphinx_reredirects",
])
suppress_warnings = [ 'autosectionlabel.*' ]
blockdiag_fontpath = '/usr/share/fonts/truetype/Roboto-Regular.ttf'
blockdiag_antialias = True
Expand Down

0 comments on commit b1ca56f

Please sign in to comment.