Commit Graph

104 Commits

Author SHA1 Message Date
Hugo Locurcio
1dd38c2e4a Use different color for control flow keywords in GDScript syntax highlighting
This matches the Godot script editor's behavior.

Note that this does not apply to C# and shaders
(which currently use GLSL highlighting), as it would require copying
their respective highlighters to this repository and modifying them.
2023-07-27 11:39:06 +02:00
Hugo Locurcio
b57807b618 Make it possible to read abbreviations by tapping on mobile 2023-05-24 11:59:17 +02:00
Justin McGettigan
2f919ba970 Add the 'sphinx-copybutton' Sphinx extension. (#6918)
* Added the 'sphinx-copybutton' Sphinx extension.
2023-04-17 18:32:15 +02:00
Yuri Sizov
d14d924470 Display Godot version more clearly 2023-03-02 20:19:50 +01:00
Yuri Sizov
f45c014fb1 Update admonition styling
Co-authored-by: Justin McGettigan <jwmcgettigan@gmail.com>
2023-03-01 16:09:59 +01:00
Yuri Sizov
ff4f111677 Add a warning that docs are WIP and a status flag for articles
By default (no flag) articles are considered up-to-date, with the end goal to have no
articles marked as outdated.
Use `:article_outdated: True` at the top of an article to mark it as being outdated.
2023-02-26 12:57:38 +01:00
Yuri Sizov
1da407b921 Move the latest branch warning into templates 2023-02-24 19:42:51 +01:00
Yuri Sizov
3b4328fb52 Update <kbd> style overrides 2023-01-14 19:07:41 +03:00
Max Hilbrunner
c19fece5da Merge pull request #6572 from YuriSizov/about-fix-the-links
Fix links to sections in the Introduction
2023-01-11 00:04:29 +01:00
Yuri Sizov
0ba3029d24 Remove breadcrumb styling adjustments after the base theme update 2023-01-10 18:12:39 +03:00
Yuri Sizov
02d1e1b5e2 Fix links to sections in the Introduction 2023-01-10 02:47:41 +03:00
Max Hilbrunner
1e985a4f13 Merge pull request #6523 from YuriSizov/rtd-versions-local
Add a custom local template for the RTD panel
2023-01-08 15:58:14 +01:00
Yuri Sizov
8d38e7501d Add a custom local template for the RTD panel 2022-12-29 19:06:54 +03:00
Yuri Sizov
98e96ced67 Make the navigation sidebar less crowded and noisy 2022-12-29 19:05:50 +03:00
Yuri Sizov
52903b7778 Simplify midword break regex to avoid unsupported features 2022-12-29 18:54:29 +03:00
Adam Scott
2b06a3822d Fix midword link wrapping issues
Adds <wbr> which is suggested linebreaks to each class reference link
in the sidebar once the page is ready.
2022-12-27 20:42:22 +03:00
Yuri Sizov
e2076762e1 Merge pull request #6510 from YuriSizov/home-update-structure
Update the structure of the home page
2022-12-26 16:56:25 +03:00
Yuri Sizov
058f325193 Hide excessive elements from the RTD panel, improve the looks 2022-12-24 22:31:26 +03:00
Yuri Sizov
ff6bf3edd3 Update the structure of the home page
- Improve phrasing of certain paragraphs
- Break up into subsections
- Hide the table of content at the bottom of it to reduce visual noise
- Correctly reference that translated docs apply to the stable branch, not the latest branch
- Fix styling of breadcrumbs
2022-12-24 21:31:56 +03:00
Yuri Sizov
15719033bd Adjust global table styles for better spacing and head styling 2022-12-12 20:17:26 +03:00
Yuri Sizov
88e2d3893e Disable font ligatures globally 2022-12-06 20:08:14 +03:00
Yuri Sizov
faaf0dddab Improve the new class reference look based on feedback 2022-12-06 13:58:29 +03:00
Yuri Sizov
913ff5e602 Merge pull request #6445 from YuriSizov/frontend-classref-fitness
Improve styling of class reference pages
2022-12-05 20:30:38 +03:00
Yuri Sizov
093acc43c6 Dynamically adjust the compatibility notice in the latest docs 2022-12-05 15:26:31 +03:00
Yuri Sizov
7c8e820228 Improve styling of class reference pages
- General improvements to the page layout and style
- Improved styling for all class (properties, signals, annotations, theme properties, methods, operators, constructors, enumerations, constants)
- Improved styling for tabs, code tabs, standalone code blocks, and tables
2022-12-01 16:30:19 +03:00
Yuri Sizov
7f0c2e4a1d Merge pull request #6412 from YuriSizov/frontend-search-results-islands
Improve the styling of the search results page
2022-11-24 18:26:43 +03:00
Yuri Sizov
fbd4ba87b5 Improve the styling of the search results page 2022-11-22 22:07:38 +03:00
Yuri Sizov
f8bab050a5 Fix styling issues in the sidebar 2022-11-22 04:55:33 +03:00
Yuri Sizov
b3f571cf54 Merge pull request #6407 from YuriSizov/frontend-remove-search-highlight
Remove search highlights from the page and the history
2022-11-22 01:29:26 +03:00
Yuri Sizov
0209919fc2 Remove search highlights from the page and the history
Co-authored-by: the-sink <lucianedean@gmail.com>
2022-11-21 22:13:24 +03:00
Yuri Sizov
2ca8b1b5c9 Make the TOC expand button easier to click 2022-11-21 21:39:15 +03:00
Yuri Sizov
c77e4a8046 Correct exceptions for the class reference badge 2022-11-21 14:49:52 +03:00
Rémi Verschelde
2f346824cb Merge pull request #6395 from YuriSizov/frontend-cleanup-version-selector
Hide the ref badge from RTD's version selector
2022-11-21 11:22:25 +01:00
Rémi Verschelde
32d6fe49ed Merge pull request #6394 from YuriSizov/frontend-always-respect-the-ethical-banner
Update position of the Ethical banner when folding changes
2022-11-21 11:22:13 +01:00
Rémi Verschelde
9a3d5edb42 Merge pull request #6400 from YuriSizov/frontend-wider-articles
Make the maximum page width slightly bigger
2022-11-21 10:32:11 +01:00
Rémi Verschelde
0458574173 Merge pull request #6399 from YuriSizov/frontend-class-reference-reference-icon-icon
Adjust the class reference badge to use an icon
2022-11-21 10:32:01 +01:00
Yuri Sizov
22cb03f89a Make the maximum page width slightly bigger 2022-11-20 23:08:18 +03:00
Yuri Sizov
4096508fb6 Change the square logo for a wide one (#6397)
Co-authored-by: Patchcoat <spiencewelch@gmail.com>
2022-11-20 12:10:09 +01:00
Yuri Sizov
9d973f83cb Adjust the class reference badge to use an icon 2022-11-20 04:17:18 +03:00
Yuri Sizov
c38fdc2da5 Hide the ref badge from RTD's version selector 2022-11-19 22:23:38 +03:00
Yuri Sizov
b8ab762814 Update position of the Ethical banner when folding changes 2022-11-19 20:56:08 +03:00
Rémi Verschelde
c2d9bd8436 Merge pull request #6391 from YuriSizov/classref-call-to-arms-styling
Add styling for call-to-action notes on the class reference
2022-11-17 21:02:33 +01:00
Yuri Sizov
b68c505789 Make sidebar categories collapsible 2022-11-17 20:50:33 +03:00
Yuri Sizov
0b65dbcd63 Add styling for call-to-action notes on the class reference 2022-11-17 20:07:13 +03:00
Yuri Sizov
81a4cc2002 Fix the styling of the HTML shell reference (#6119)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-31 16:35:48 +02:00
Hugo Locurcio
4d600e9235 Increase spacing between list items to improve readability (#5962) 2022-07-23 02:29:34 +02:00
and-rad
308bde3cc0 Improve side-aligned image positioning (#5876)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-06-15 16:57:13 +02:00
Hugo Locurcio
c9d554b3c7 Fix toctree expand icon colors and margins in the theme
This also applies the color and margin changes to expanded top-level
sections.
2022-03-14 19:58:48 +01:00
Hugo Locurcio
c2d13c9ae4 Update GDScript syntax highlighting for Godot 4.0 2022-02-14 14:06:21 +01:00
Yuri Sizov
4f67dc3cac Reorganize and update the "BBCode in RichTextLabel" article 2021-09-16 03:52:07 +03:00