Adam Scott
bedd304160
Remove Giscus from search page ( #8777 )
2024-01-23 17:41:00 +01:00
Hugo Locurcio
04020f1c08
Fix / keyboard shortcut to allow typing / within the search field
...
- Select all existing text in the field when pressing the shortcut.
- Remove broken Algolia integration (unused since 4.0) and move
the shortcut code to the main `custom.js` file.
2023-12-04 15:45:04 +01:00
Thaddeus Crews
9c5cc147cd
Reimplement space-to-tab regex without lookbehind
2023-10-26 11:31:26 -05:00
Max Hilbrunner
7a46f2332d
Merge pull request #7470 from panreyes/docsearch_not_available_fix
...
Fix issue with Algolia's docsearch object being missing in pages with tabs
2023-10-06 13:15:44 +02:00
Thaddeus Crews
acf09b8551
Automatically convert spaces to tabs in codeblocks
...
• Adds codeblock css rule for tab-size
• Only applies to GDScript/C++
• Fix some inconsistent cpp codeblock filters
2023-10-05 19:04:26 -05:00
panreyes
c2f08b3659
Fix issue with Algolia's docsearch object being missing in pages with tabs
...
Fixes https://github.com/godotengine/godot-docs/issues/7469
2023-06-05 02:17:56 +02:00
Yuri Sizov
d14d924470
Display Godot version more clearly
2023-03-02 20:19:50 +01:00
Yuri Sizov
1da407b921
Move the latest branch warning into templates
2023-02-24 19:42:51 +01: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
093acc43c6
Dynamically adjust the compatibility notice in the latest docs
2022-12-05 15:26:31 +03:00
Yuri Sizov
f8bab050a5
Fix styling issues in the sidebar
2022-11-22 04:55:33 +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
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
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
b8ab762814
Update position of the Ethical banner when folding changes
2022-11-19 20:56:08 +03:00
Yuri Sizov
b68c505789
Make sidebar categories collapsible
2022-11-17 20:50:33 +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
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
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
Rémi Verschelde
e4237e2948
Misc fixes to recent merges
2020-04-27 09:58:08 +02:00
Hugo Locurcio
544f4c4c93
Add instant.page to speed up page loading
...
instant.page prefetches pages when the user hovers links for
more than 65 milliseconds. This can be used to make navigation feel
significantly faster.
Note that this will have no effect in Firefox when using uBlock Origin,
as it forcibly disables prefetching.
2020-04-18 15:15:55 +02:00
Yuri Sizov
7eff46d5ed
Fix ethical banner appearing in steps ( #3394 )
2020-04-16 19:22:42 +02:00
Yuri Sizov
98e360ffec
Improve sidebar behavior on scroll and adjust styling ( #3391 )
2020-04-16 15:38:30 +02:00
Yuri Sizov
4f7ee00821
Improve navbar scrolling in the live version of the docs ( #3368 )
2020-04-16 09:52:29 +02:00
Yuri Sizov
4b3718d720
Add a scroll to navbar, second attempt
2020-04-09 22:21:27 +03:00
Yuri Sizov
5f12420e12
Improved CSS media queries to remove conflicts
2020-03-13 17:14:26 +03:00
Hugo Locurcio
36b76ba70a
Fix search bar shadow when it's not fixed due to scrolling yet
...
This closes #3113 .
2020-01-29 01:47:02 +01:00
Hugo Locurcio
bfb43a706a
Improve the fixed search bar
...
The search bar will now behave in a "sticky" manner. This makes
the logo disappear more smoothly instead of being abruptly hidden.
Another upside is that the drop shadow will only appear once the
search bar is made fixed.
2020-01-23 19:44:57 +01:00
Hugo Locurcio
a3ab30906b
Make the search bar fixed, hide the logo when scrolling down
...
This closes #2778 .
2020-01-23 16:58:56 +01:00