diff --git a/tutorial/conf.py b/tutorial/conf.py index bcdc980..74f6e1d 100644 --- a/tutorial/conf.py +++ b/tutorial/conf.py @@ -99,7 +99,8 @@ def configureDoxyfile(input_dir, output_dir): html_logo = "images/OpenXR_170px_Feb17.png" html_theme_options = { 'logo_only': False, - 'display_version': False + 'display_version': False, + 'show_next_previous_button': OPENXR_MAINSITE=="false" } html_favicon = 'favicon.ico' diff --git a/tutorial/tutorial_sphinx_theme_1/footer.html b/tutorial/tutorial_sphinx_theme_1/footer.html index 76a2e50..04b203f 100644 --- a/tutorial/tutorial_sphinx_theme_1/footer.html +++ b/tutorial/tutorial_sphinx_theme_1/footer.html @@ -2,12 +2,14 @@ {%- if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %} {#- Translators: This is an ARIA section label for the footer section of the page. -#} {%- endif %} diff --git a/tutorial/tutorial_sphinx_theme_1/layout.html b/tutorial/tutorial_sphinx_theme_1/layout.html index 4c7bbf8..e61b973 100644 --- a/tutorial/tutorial_sphinx_theme_1/layout.html +++ b/tutorial/tutorial_sphinx_theme_1/layout.html @@ -113,12 +113,14 @@ {%- if hasdoc('copyright') %} {%- endif %} + {%- if theme_show_next_previous_button %} {%- if next %} {%- endif %} {%- if prev %} {%- endif %} + {%- endif %} {%- endblock %} {%- block extrahead %} {% endblock %} diff --git a/tutorial/tutorial_sphinx_theme_1/theme.conf b/tutorial/tutorial_sphinx_theme_1/theme.conf index e17e1cf..9edc7f5 100644 --- a/tutorial/tutorial_sphinx_theme_1/theme.conf +++ b/tutorial/tutorial_sphinx_theme_1/theme.conf @@ -17,4 +17,5 @@ display_version = True prev_next_buttons_location = bottom style_external_links = False style_nav_header_background = -vcs_pageview_mode = \ No newline at end of file +vcs_pageview_mode = +show_next_previous_button = True \ No newline at end of file