-
Notifications
You must be signed in to change notification settings - Fork 604
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
Feature/docs structure auri change theme #6238
Open
aurindam
wants to merge
4
commits into
master
Choose a base branch
from
feature/docs-structure-auri-change-theme
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
html_title = f'Slint {version} Reference' # Set title here, otherwise it will say "Slint Reference documentation" | ||
copyright = "SixtyFPS GmbH" | ||
author = "Slint Developers <[email protected]>" | ||
github_url = "https://github.com/slint-ui/slint" | ||
|
||
# -- General configuration --------------------------------------------------- | ||
|
||
|
@@ -56,41 +57,64 @@ | |
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# | ||
html_theme = "furo" | ||
|
||
html_theme = "sphinx_book_theme" | ||
html_favicon = "https://slint.dev/favicon.svg" | ||
html_theme_options = { | ||
"collapse_navigation": False, | ||
"footer_icons": [ | ||
{ | ||
"name": "Slint", | ||
"url": "https://slint.dev", | ||
"html": """ | ||
<img src="https://slint.dev/logo/slint-logo-small-light.svg"> | ||
""", | ||
"class": "", | ||
}, | ||
{ | ||
"name": "GitHub", | ||
"url": "https://github.com/slint-ui/slint", | ||
"html": """ | ||
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16"> | ||
<path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path> | ||
</svg> | ||
""", | ||
"class": "", | ||
}, | ||
], | ||
"repository_url": "https://github.com/slint-ui/slint", | ||
"use_repository_button": True, | ||
"use_issues_button": True, | ||
"use_edit_page_button": True, | ||
"use_download_button": False, | ||
"use_fullscreen_button": False, | ||
"home_page_in_toc": True, | ||
"logo": { | ||
"text": f'Slint {version} Reference', | ||
"image_light": "https://slint.dev/logo/slint-logo-small-light.svg", | ||
"image_dark": "https://slint.dev/logo/slint-logo-small-dark.svg", | ||
"link": "https://slint.dev" | ||
}, | ||
"switcher": { | ||
"json_url": "https://releases.slint.dev/versions.json", | ||
"version_match": version, | ||
}, | ||
"extra_footer": "<div><a href=\"https://slint.dev\">https://slint.dev</a></div>", | ||
} | ||
|
||
html_sidebars = { | ||
"**": ["version-switcher", "navbar-logo.html", "search-button-field.html", "sbt-sidebar-nav.html"] | ||
} | ||
|
||
# html_theme_options = { | ||
# "collapse_navigation": False, | ||
# "footer_icons": [ | ||
# { | ||
# "name": "Slint", | ||
# "url": "https://slint.dev", | ||
# "html": """ | ||
# <img src="https://slint.dev/logo/slint-logo-small-light.svg"> | ||
# """, | ||
# "class": "", | ||
# }, | ||
# { | ||
# "name": "GitHub", | ||
# "url": "https://github.com/slint-ui/slint", | ||
# "html": """ | ||
# <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16"> | ||
# <path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path> | ||
# </svg> | ||
# """, | ||
# "class": "", | ||
# }, | ||
# ], | ||
# } | ||
|
||
# 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". | ||
html_static_path = ["_static"] | ||
html_js_files = ['expand_tabs.js'] | ||
html_show_sourcelink = False | ||
|
||
html_logo = "https://slint.dev/logo/slint-logo-small-light.svg" | ||
|
||
myst_enable_extensions = [ | ||
"html_image", "colon_fence" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. Copyright © SixtyFPS GmbH <[email protected]> | ||
.. SPDX-License-Identifier: MIT | ||
|
||
Syntax | ||
====== | ||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 2 | ||
:caption: Syntax | ||
|
||
comments.md | ||
identifiers.md |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you meant to merge this to master.
Should this go in the feature branch?