File tree 6 files changed +35
-9
lines changed
6 files changed +35
-9
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ jobs:
17
17
uses : actions/configure-pages@v5
18
18
- uses : actions/setup-python@v5
19
19
with :
20
- python-version : ' 3.13 '
21
- - run : pip install sphinx sphinx_rtd_theme
22
- - run : make gh-pages
20
+ python-version : ' 3.12 '
21
+ - run : pip install sphinx sphinx_rtd_theme sphinx-reredirects
22
+ - run : make dirhtml
23
23
- name : Upload artifact
24
24
uses : actions/upload-pages-artifact@v3
25
25
with :
26
- path : ' build/html '
26
+ path : ' build/dirhtml '
27
27
28
28
# DEPLOY
29
29
deploy :
Original file line number Diff line number Diff line change 1
- FROM python:3.13 -alpine
1
+ FROM python:3.12 -alpine
2
2
3
- RUN pip install --no-cache-dir sphinx sphinx_rtd_theme sphinx-autobuild
3
+ RUN pip install --no-cache-dir sphinx sphinx_rtd_theme sphinx-autobuild sphinx-reredirects
Original file line number Diff line number Diff line change 16
16
livehtml :
17
17
sphinx-autobuild -b html $(ALLSPHINXOPTS ) $(SOURCEDIR ) $(BUILDDIR ) /html
18
18
19
- gh-pages :
20
- @$(SPHINXBUILD ) -b html " $( SOURCEDIR) " $(BUILDDIR ) /html/en/latest $(SPHINXOPTS )
21
19
# Catch-all target: route all unknown targets to Sphinx using the new
22
20
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
23
21
% : Makefile
Original file line number Diff line number Diff line change
1
+ {# _templates/footer.html #}
2
+ {% extends "!footer.html" %}
3
+
4
+ {% block extrafooter %}
5
+ < a href ="https://cryptomator.org/impressum/ " target ="_blank "> Impressum</ a > • < a href ="https://cryptomator.org/privacy/ " target ="_blank "> Privacy Policy</ a >
6
+ {% endblock %}
7
+
Original file line number Diff line number Diff line change
1
+ {% extends "!layout.html" %}
2
+
3
+ {%- block extrahead %}
4
+ < script defer data-domain ="docs.cryptomator.org " src ="https://plausible.skymatic.de/js/script.file-downloads.outbound-links.js " integrity ="sha384-+tt0STxxWB96REUfXF1ykJzPEC5cT+TVotVR/JnYqAP04zxND4o8a0JcHg+aq46t " crossorigin ="anonymous "> </ script >
5
+ {% endblock %}
6
+
Original file line number Diff line number Diff line change 42
42
# ones.
43
43
#
44
44
extensions = [
45
- 'sphinx.ext.todo'
45
+ 'sphinx.ext.todo' ,
46
+ 'sphinx_reredirects'
46
47
]
47
48
48
49
# Add any paths that contain templates here, relative to this directory.
121
122
122
123
html_favicon = 'img/favicon.ico'
123
124
125
+ html_show_sphinx = False
126
+
127
+ redirects = {
128
+ "hub/setup/requirements" : "/hub/deployment#hardware-requirements" ,
129
+ "hub/setup/billing" : "/hub/license" ,
130
+ "hub/setup/keycloak-administration" : "/hub/user-group-management" ,
131
+ "hub/setup" : "/hub/deployment" ,
132
+ "hub/access-vault/unlocking-a-vault/4.-vault-unlocked" : "/hub/access-vault/unlocking-a-vault/vault-unlocked" ,
133
+ "hub/access-vault/unlocking-a-vault/3.-add-device" : "/hub/access-vault/unlocking-a-vault/add-device" ,
134
+ "hub/access-vault/unlocking-a-vault/2.-authenticate" : "/hub/access-vault/unlocking-a-vault/authenticate" ,
135
+ "hub/access-vault/unlocking-a-vault/1.-click-unlock" : "/hub/access-vault/unlocking-a-vault/click-unlock" ,
136
+ "desktop/vault-mounting" : "/desktop/volume-type"
137
+ }
138
+
124
139
# -- Options for HTMLHelp output ---------------------------------------------
125
140
126
141
# Output file base name for HTML help builder.
You can’t perform that action at this time.
0 commit comments