20 Commits

Author SHA1 Message Date
dylannorthrup
0a01baec10 Fix epub-related failures (#8207)
* Append closing "/" to meta description tag; do not add new description tag if one already exists

* Add closing "/" to all meta tags

* Remove URL parameters from css/js paths to fix ThemeError

* Updating package versions to reflect the latest versions in the readthedocs github repo

* noop change to trigger CI workflow

* Add verbose option to "pip3 install"

* Update python version to 3.9

* Debug Iteration

* Revert CI testing changes

* Revert module upgrades and changes it required

* Update _extensions/godot_descriptions.py

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-11-25 19:01:44 +01:00
Max Hilbrunner
ca94970356 Less intrusive 4.0 update state info (#7100)
* Less intrusive 4.0 update state info

---------

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2023-04-01 00:40:18 +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
Thiago Lages de Alencar
6e4cb63908 Update URL from "Learn how to contribute!" 2023-01-11 10:13:49 -03:00
Yuri Sizov
8d38e7501d Add a custom local template for the RTD panel 2022-12-29 19:06:54 +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
21f92e43d6 Add a link to doc writing guidelines to the header (#5947) 2022-07-18 23:42:20 +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
Hugo Locurcio
9becaa5480 Add Open Graph tags for better link preview on social media
This is provided by the sphinxext-opengraph extension.

This also adds a theme color property in the HTML layout file.
2021-03-18 20:34:06 +01:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Max Hilbrunner
0b6d26e33d Prepend "(DEV)" to HTML titles if build locally/not on RTD 2020-04-28 16:53:08 +02:00
Max Hilbrunner
3c79f3e321 Fix locale names AGAIN :)
this time formatting to ISO 639-1 dynamically
2020-04-27 19:48:52 +02:00
Max Hilbrunner
fd5f6f4909 Appease our great search engine overlords
This hopefully fixes all translated pages showing up in search engine results, and makes the STABLE version of each page canonical.
In turn, this allows us to re-enable indexing of the version-specific pages (see robots.txt changes), as search engines should prefer the canonical (stable) version, and only show the other versions if no canonical (stable) version exists (i.e. because that feature is only in latest, or was removed in stable).

It adds proper canonical links for all generated pages, and fixes the existing links between the various translations of a page by both ensuring the pages links to itself with the proper language tag, and by properly linking to the full path of other translated versions.
2020-04-21 13:32:55 +02:00
StraToN
54c3b3e98a Adds a breadcrumb template to manage hiding 'Edit on Github' link.
To work, requires adding a meta the very beginning of files that have to hide this link:
:github_url: hide
2019-07-25 15:49:11 +02:00
Rémi Verschelde
a95cd08285 Use HTTPS for links which support it 2018-12-13 12:06:02 +01:00
Rémi Verschelde
4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Rémi Verschelde
b6cb5c3ee7 Add layout.html template to set hreflang attributes
Tentative fix for search engines pointing English-seeking users
to localized docs.
2018-06-12 23:08:16 +02:00