131 Commits

Author SHA1 Message Date
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
luzpaz
d9bc787dd9 Fix various typos (#5215)
Fix various typos

Found via `codespell -q 3 -S ./LICENSE.txt -L doubleclick,findn,lod,inout,nd,raison,te`
2021-09-02 17:02:23 +03:00
merumelu
41a3150726 GDScript style guide: tint borders of good/bad code examples (#5138)
Add `rst-class` directives before code blocks to allow custom styling.
2021-08-01 16:09:09 +02:00
merumelu
9cb98cc595 Prevent the "ref" badge from appearing in the sidebar 2021-07-29 19:14:06 +02:00
Yuri Sizov
e6e87982de Fix styling for keyboard shortcuts 2021-07-13 14:45:51 +03:00
Max Hilbrunner
50edc681f9 Add dev.css override 2021-07-11 13:01:16 +02:00
Max Hilbrunner
c8d7e0a4ee CSS: Remove error highlight 2021-07-11 12:38:54 +02:00
Max Hilbrunner
5ba4701dc5 Update CSS for new sphinx-tabs version 2021-07-06 12:36:50 +02:00
hpnrep6
114237f192 Fix scrolling the navigation bar on mobile (#5049) 2021-06-26 00:56:31 +02:00
hpnrep6
174765b147 Fix JavaScript class reference dark mode (#5004) 2021-06-17 07:42:41 +02:00
hpnrep6
b9afe48d5c Fix dark mode in JavaScript class reference (#5002) 2021-06-17 00:19:56 +02:00
Leroy Bakker
6ae96e7b50 Implemented Algolia search (#4884)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-13 20:21:11 +02:00
Tomer
1b8549bda1 Update latest warning for godot 3.x (#4863) 2021-04-23 12:52:52 +02:00
Hugo Locurcio
cbeb9212cc Fix the "ref" badge appearing twice in search results
This fixes both the "instant" search results and the
dedicated results page.

Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
2020-11-05 14:52:51 +01:00
Hugo Locurcio
13818e3cfd Add a symbol next to class reference page links
This makes them easier to distinguish from "user manual" page links,
especially in search results.
2020-11-04 18:47:33 +01:00
Marcel Admiraal
21979b61ba Strip URL to prevent XSS vulnerability (#4268) 2020-10-14 15:25:19 +02:00
Hugo Locurcio
87d95bdad7 Update instant.page to 5.1.0 2020-09-22 16:20:52 +02:00
Hugo Locurcio
bdece44b8d Prevent the compatibility notice from being the meta description
Adding the compatibility notice via JavaScript prevents the
`meta description` Sphinx extension from taking the notice
as part of the description.

This also changes the redirect URL to point to the page the user
is currently reading instead of always pointing to the homepage.
2020-09-22 14:59:28 +02:00
Marcel Admiraal
14ef5a64da Explicitly add implicitly added semicolon. 2020-09-03 13:06:39 +01:00
Hugo Locurcio
367f09ddc5 Style external links differently to distinguish them from internal ones 2020-08-02 15:34:36 +02:00
Yuri Sizov
3b9ded3572 Fix styling on emphasized lines 2020-06-03 16:01:45 +03:00
Hugo Locurcio
48a28a2106 Tweak the theme font stack to follow Bootstrap 5.0.0-alpha1
This most notably removes Oxgyen which was reported to have a poor
"œ" character appearance under certain font weights.
2020-05-27 21:16:16 +02:00
Yuri Sizov
c0b566cce1 Adjusted language and layout of configuring an IDE docs 2020-05-21 17:34:08 +03:00
Yuri Sizov
ffb70ac1a9 Fix unstyled message for empty search results 2020-05-17 13:40:29 +03:00