mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-17 22:08:39 +00:00
Switch to the Furo theme for the Slint Language and C++ documentation
This commit is contained in:
parent
00471449b4
commit
4af7ea8ab7
8 changed files with 13 additions and 11 deletions
|
@ -10,11 +10,12 @@ verify_ssl = true
|
|||
|
||||
[packages]
|
||||
breathe = "4.33.1"
|
||||
sphinx-rtd-theme = "1.0.0"
|
||||
sphinx = "4.5.0"
|
||||
exhale = "0.2.4"
|
||||
myst_parser = "0.17.2"
|
||||
sphinx-markdown-tables = "0.0.15"
|
||||
furo = "2022.12.7"
|
||||
sphinxcontrib-jquery = "4.1"
|
||||
|
||||
[requires]
|
||||
python_version = "3"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "!layout.html" %}
|
||||
{% extends "!base.html" %}
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
{% include "../../../../docs/resources/slint-docs-preview.html" %}
|
||||
{% include "../../../../docs/resources/slint-docs-highlight.html" %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
|
@ -35,7 +35,7 @@ cpp_index_common_prefix = ["slint::", "slint::interpreter::"]
|
|||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = ["breathe", "myst_parser", "exhale", "sphinx_markdown_tables"]
|
||||
extensions = ["breathe", "myst_parser", "exhale", "sphinx_markdown_tables", "sphinxcontrib.jquery"]
|
||||
|
||||
breathe_projects = {"Slint": "./docs/xml"}
|
||||
breathe_default_project = "Slint"
|
||||
|
@ -92,7 +92,7 @@ exclude_patterns = [
|
|||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme = "furo"
|
||||
|
||||
html_theme_options = {"collapse_navigation": False}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue