diff --git a/Documentation/conf.py b/Documentation/conf.py index ea87837117a..98b70746974 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -85,8 +85,6 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "legacy_README.md", "ven # overridden by command line option but we can provide a sane default # this way -html_context = dict() -html_context["nuttx_versions"] = "latest" # TODO: append other options using releases detected from git (or maybe just # a few hand-selected ones, or maybe just a "stable" option) @@ -102,6 +100,15 @@ html_show_sphinx = False html_theme_options = {"navigation_depth": 5} +html_context = { + "display_github": True, + "github_user": "apache", + "github_repo": "nuttx", + "github_version": "master", + "conf_py_path": "/Documentation/", + "nuttx_versions": "latest", +} + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". @@ -135,14 +142,6 @@ copybutton_exclude = ".linenos, .gp, .go" warnings_filter_config = "known-warnings.txt" -html_context = { - "display_github": True, - "github_user": "apache", - "github_repo": "nuttx", - "github_version": "master", - "conf_py_path": "/Documentation/", -} - # -- Options for sphinx_tags ---------------------------------------------- tags_create_tags = True