-
Notifications
You must be signed in to change notification settings - Fork 438
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
[docs] Add "Edit on GH" links, fix searchbox, widen viewport, better legibility #833
Commits on Mar 28, 2022
-
docs: _isso theme: Simplify js macros, fix search
A few things got refactored in sphinx, especially for 4.x. Therefore, use provided helpers. As a reference for the future, always look at what the "basic" sphinx theme (bundled as `sphinx/themes/basic`) does. See: - sphinx-doc/sphinx@a957d6f710 - sphinx-doc/sphinx#4916 - sphinx-doc/sphinx#4915 - readthedocs/sphinx_rtd_theme#1021
Configuration menu - View commit details
-
Copy full SHA for 59e397e - Browse repository at this point
Copy the full SHA 59e397eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4682142 - Browse repository at this point
Copy the full SHA 4682142View commit details -
docs: _isso theme: Add searchbox in sidebar
This also necessitates a bit of CSS.
Configuration menu - View commit details
-
Copy full SHA for 6689f85 - Browse repository at this point
Copy the full SHA 6689f85View commit details -
docs: css: Darker colors, increased size
This increases legibility and improves contrast.
Configuration menu - View commit details
-
Copy full SHA for 36e1f14 - Browse repository at this point
Copy the full SHA 36e1f14View commit details -
docs: Add 'Edit on GitHub' link
The implementation closely matches `sphinx-rtd-theme`, see https://github.com/readthedocs/sphinx_rtd_theme/blob/9264091087620d421b0804c00937b00980ac3916/sphinx_rtd_theme/breadcrumbs.html#L19-L40 and https://github.com/readthedocs/sphinx_rtd_theme/blob/ef9a0584ef6d43f898a2b787a541e31a79f560e8/docs/configuring.rst#file-wide-metadata GitHub svg icon taken from Wikipedia (Wikimedia Commons) Usage: https://github.com/logos > Do these awesome things: > - Use the Octocat or GitHub logo to link to GitHub > - Use the Mark in social buttons to link to your GitHub > profile or project > - Use the Octocat or GitHub logo to advertise that your > product has built-in GitHub integration > - Use the Octocat or GitHub logo in a blog post or news > article about GitHub
Configuration menu - View commit details
-
Copy full SHA for 39e2e0e - Browse repository at this point
Copy the full SHA 39e2e0eView commit details -
[nit] docs: index: Non-breaking space for GH Discussions
A name that's broken across two lines looks ugly
Configuration menu - View commit details
-
Copy full SHA for f256655 - Browse repository at this point
Copy the full SHA f256655View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd5eb3d - Browse repository at this point
Copy the full SHA fd5eb3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c4ee17 - Browse repository at this point
Copy the full SHA 0c4ee17View commit details