Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2021 position of apptainersingularity pages in tocs is unexpected #2053

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions _templates/singularity-stanage-redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!DOCTYPE html>
<head>
<meta http-equiv="refresh" content="0; URL=../apps/apptainer.html" />
</head>
11 changes: 10 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,13 @@
rst_prolog = open('global.rst', 'r').read()

sphinx_tabs_valid_builders = ['linkcheck']
sphinx_tabs_disable_tab_closing = True
sphinx_tabs_disable_tab_closing = True

# We use the additional pages to implement some redirects from old pages
# we want a redirect for, but not available in the toctree.
#
# Adding via this method avoids the toctree globbing adding duplicate redirect
# pages.
html_additional_pages = {
'stanage/software/apps/singularity': 'singularity-stanage-redirect.html',
}
2 changes: 2 additions & 0 deletions stanage/software/apps/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Applications on Stanage

ansys/index
./*