Skip to content
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

[stable] Merge commit godotengine/godot-docs@4b616e1 #91

Merged
merged 119 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
5b4c353
Add multiple renderer support to Advanced Postprocessing
tetrapod00 Nov 11, 2024
cf7c654
Merge pull request #10248 from tetrapod00/advanced-postprocessing-43
mhilbrunner Nov 12, 2024
8835289
Add info about layer mask exporting to physics_introduction.rst (#10242)
notPelf Nov 17, 2024
d57d5f8
[GDScript] Clarify initialization of enum values
AThousandShips Aug 31, 2024
f8e4fa5
Merge pull request #9828 from Lukas-Fletcher/patch-2
skyace65 Sep 5, 2024
5aeaed3
Merge pull request #9929 from akien-mga/release-support-3.6
mhilbrunner Sep 9, 2024
fad8412
Add 3->4 upgrading information about NDC, light(), and reverse-z
tetrapod00 Sep 10, 2024
7be942a
Update Default editor shortcuts for Godot 4.3+
Calinou Oct 4, 2024
ef9d2db
Add a gdextension online documentation guide. (#9966)
Ivorforce Oct 8, 2024
a04b7d9
Add a note about GDScript format strings in C++ (#10061)
aaronfranke Oct 8, 2024
e06cef2
Clarify that the Better Collada addon is unmaintained in 4.x
tetrapod00 Oct 11, 2024
40bdaac
Remove note in Submitting to Asset Library
tetrapod00 Oct 15, 2024
c86adb0
Clarify restrictions on nested array types in Static typing in GDScript
Calinou Oct 16, 2024
b5e097d
Document Variant not being nullable
Calinou Oct 15, 2024
f2ea201
Add warning about uninitialized variables in shaders
tetrapod00 Oct 17, 2024
6c43491
Document filename requirements in C# global classes
Calinou Oct 12, 2024
9e89c10
Clarify section on using the file browser
tetrapod00 Oct 18, 2024
92c3c63
Add W4 Games to porting support list
shana Oct 9, 2024
bb4190a
Adding Visual Studio Code Mac launch.json example
pafuent Oct 12, 2024
73bfde3
Add note about flat shading and Grow in Standard Material page
tetrapod00 Oct 18, 2024
fb43d4a
Add link from Rendering to 2D and 3D rendering sections
tetrapod00 Oct 19, 2024
0b495a6
Fix docstring written as comment
tetrapod00 Oct 19, 2024
9af9d35
Fix shader language matrix row/col convention
Flarkk Aug 27, 2024
698771c
Fix HDR 2D mention in Upgrading to Godot 4 page
tetrapod00 Oct 21, 2024
18a8113
Remove reference to 3.1 as a minimum version
tetrapod00 Oct 20, 2024
14cd307
Remove references to 3.x minor versions
tetrapod00 Oct 20, 2024
d7fb01c
Update Release Policy for release of 3.6
tetrapod00 Oct 21, 2024
def9753
Removed unnecessary note, as this page got rid of "$" signs in below …
Jedrzej1940518 Oct 21, 2024
3813790
Remove references to Phong and Blinn specular
tetrapod00 Oct 22, 2024
f1dde51
Fix typo "exists" to "exits"
DanielGSilva Oct 22, 2024
5a3789a
Typo fix for Interpolation gif description
ScarfKat Oct 23, 2024
06bc5c0
Update URL to Microsoft codesigning guide in Exporting for Windows
Calinou Oct 22, 2024
50ba383
Clarify cherry-picking workflow in Contributing to the Documentation
tetrapod00 Oct 27, 2024
253baa6
Fix unreachable pages in sidebar under C# Diagnostics
tetrapod00 Oct 27, 2024
35d4c16
Add Web export file name section
adamscott Oct 25, 2024
88601c2
Improve GDScript Basics sidebar navigation by changing header levels
tetrapod00 Oct 13, 2024
df4c27e
Mention callback argument count in The JavaScript bridge singleton
Calinou Oct 29, 2024
a5b086a
Use negative index for `get_child()` in Singletons (Autoload)
Calinou Oct 27, 2024
92aa6f1
Correctly name enum type
Brederodes Oct 29, 2024
1ee040e
Remove usages of "LTS"
tetrapod00 Oct 29, 2024
2a96350
Fix unreachable pages under 3D Particles by using fake headers
tetrapod00 Oct 18, 2024
10ca7b1
Made edits to match GDScript code order
comminux Oct 31, 2024
51f0d5a
Update documentation changelog for 4.3
tetrapod00 Nov 2, 2024
cc32ace
Replace broken link to official discord
tetrapod00 Nov 2, 2024
9bd0882
Improve Customizing the mouse cursor
tetrapod00 Nov 3, 2024
b71ff5c
Improve display of rubric fake headers with heading-level option
tetrapod00 Nov 2, 2024
bf6c72c
Mention a way to get development snapshots' source code in Getting th…
Calinou Nov 3, 2024
9f1060b
Add documentation for themed icons (monochrome)
syntaxerror247 Oct 2, 2024
0f3b28f
Update Editor icons page to reflect usage of `svgo` (#10195)
tetrapod00 Nov 4, 2024
203c5d7
Clarify when fragcoord z is used as depth output
Flarkk Oct 31, 2024
ffff2e7
Link to Getting Started Input tutorial from Input examples page (#10200)
tetrapod00 Nov 4, 2024
d8039bd
Fix code sample for add_autoload_singleton in plugin
Hilderin Sep 19, 2024
12efc92
Add spring arm third-person camera tutorial (#10156)
TranquilMarmot Nov 4, 2024
f6b7d83
Fix link to Windows platform port in Custom platform ports
Calinou Nov 5, 2024
ea02eb4
Fix "or_greater"/"or_less" code example
KleidonBD Oct 12, 2024
b40f92e
CI: Skip class ref. sync and offline docs on forks
mhilbrunner Nov 5, 2024
097c7ec
Remove canonical/hreflang tags, let RTD I18N do it
mhilbrunner Nov 5, 2024
e336118
Improve GDScript format strings tutorial
tetrapod00 Nov 7, 2024
21bd5e0
Fix codespell not running on some files
tetrapod00 Nov 7, 2024
302aa47
Improve Bug triage guidelines
tetrapod00 Nov 6, 2024
d651092
Update list of debugging settings
tetrapod00 Nov 9, 2024
1ff691d
Update "Size and anchors" to reflect Godot 4.3 terminology (#10216)
mikael-ros Nov 8, 2024
57fb2ff
Remove unneeded C# comment from First 2D Game
tetrapod00 Nov 9, 2024
5b73d70
Fix typo in Using signals (#10246)
enarve Nov 11, 2024
d9f223a
Document `@export_custom` and additional range hints in GDScript exports
Calinou Sep 23, 2024
70969b1
Add custom codespell dictionary
tetrapod00 Nov 7, 2024
39bb9f4
Update Random number generation for Godot 4.2+ (#9822)
Calinou Nov 13, 2024
73e706c
Document exporting as progressive web app in Exporting for the web
Calinou Nov 8, 2024
b2b3ea5
C# exports: Fix semicolon syntax error
mhilbrunner Nov 17, 2024
70f703a
Update Sphinx version
Piralein Oct 28, 2024
e5e896f
Merge pull request #10346 from mhilbrunner/4.3-cherrypicks
mhilbrunner Nov 30, 2024
d94727f
Update using_transforms.rst to clarify rotate_local() axis usage
furkanCalik7 Oct 6, 2024
32705a4
Update handling_quit_requests.rst
ztc0611 Aug 15, 2024
bb8c89f
Update android export page for AAB requirement (#9637)
skyace65 Nov 17, 2024
3c0106b
Update vectors_advanced.rst
ntlblpm Nov 17, 2024
fec6259
Update matrices_and_transforms.rst
ntlblpm Nov 17, 2024
e163152
Document `rand_weighted()` in Random number generation (#10283)
Calinou Nov 18, 2024
8b1a1b6
Improved style for cross-language examples.
wlsnmrk Oct 8, 2023
eb2a0a0
Fix wrong editor setting in Overview of Debugging Tools
tetrapod00 Nov 19, 2024
4f1c986
Remove performance comparison from C# Basics
tetrapod00 Nov 19, 2024
d104230
Add dev_build and dev_mode flags to scons compilation instructions fo…
jonathansekela Sep 29, 2024
3eb1469
Add FAQ entry "Which programming language is fastest?"
tetrapod00 Nov 19, 2024
032be9e
Clarify Area2D warning behavior (#10173)
Kushal-Dev94 Nov 21, 2024
ce1be2c
Add GDScript naming convention summary table
tetrapod00 Nov 20, 2024
d560aac
Update PackedArray explanation to match Godot 4.0 behavior (#10304)
mechalynx Nov 22, 2024
250aefc
Delete mention of OpenGL ES 2
dustdfg Nov 22, 2024
d9964f7
Mention documentation comments in GDScript basics
Calinou Oct 16, 2024
7b0674e
Document focus StyleBox caveats in Introduction to GUI skinning
Calinou Nov 23, 2024
13a47e3
Remove link to Reddit list of tutorials
tetrapod00 Nov 24, 2024
54dd8c1
Use Stretch Ratio instead of prior Ratio terminology
tgnottingham Nov 23, 2024
627bd0e
Remove wiki reference in Introduction to 3D
tetrapod00 Nov 24, 2024
ccf9538
update groups image in saving_games tutorial
syntaxerror247 Nov 25, 2024
c66f811
Document `generate_bundle=yes` SCons option in Compiling for macOS an…
Calinou Oct 16, 2024
4302a98
Fix wording of OpenGL ES support on desktop in Internal rendering arc…
danila-zol Nov 26, 2024
68eb940
Update C# Rider install steps for now built-in plugin "Godot Support"…
RB35 Nov 27, 2024
dc92545
Remove instructions on setting up Pyston for faster development
Calinou Nov 29, 2024
83d7bb5
Fix outdated reference to `godot.tools.html` in Compiling for the Web
Calinou Nov 29, 2024
43ef9a7
Update saving_games.rst
ntlblpm Nov 29, 2024
4ba3e37
Replace mentions of Reference with RefCounted
quinnyo Nov 29, 2024
3489cc5
Update file_access.h location
esainane Nov 28, 2024
5dd44e6
Merge pull request #10347 from mhilbrunner/4.3-cherrypicks
mhilbrunner Nov 30, 2024
f9e72e2
CI: Integrate pre-commit for style checks
mhilbrunner Nov 30, 2024
522bc83
Merge pull request #10348 from mhilbrunner/pre-commit
mhilbrunner Nov 30, 2024
50f2139
Merge pull request #10349 from godotengine/4.3
mhilbrunner Nov 30, 2024
f911b13
Add note about uniform buffer size limit to Shading Language
tetrapod00 Oct 27, 2024
c2d0206
Tweak constant example in Shading language to avoid referring to rese…
Calinou Oct 29, 2024
4fd1d23
Clarify COLOR and TEXTURE in CanvasItem shaders
tetrapod00 Oct 18, 2024
95a3d64
Merge pull request #10356 from tetrapod00/cherrypick-shader
tetrapod00 Nov 30, 2024
9add6a4
Merge pull request #10357 from tetrapod00/update-stable
tetrapod00 Nov 30, 2024
7a79288
Restore old menu
Piralein Nov 2, 2024
8b18832
Mark Haxe GDExtension bindings as archived (#10330)
esainane Dec 2, 2024
9d6eb2b
Fix grammar in Using tilesets (#10360)
ntlblpm Dec 1, 2024
c24ffc1
Document physics spiral of death performance issue in Troubleshooting…
Calinou Oct 16, 2024
4b58306
a new intro to 2d content, similar to 3d
vgezer Jul 14, 2024
ab47627
Add color constants reference to BBCode in RichTextLabel
Calinou Oct 10, 2024
faac424
Add links to project setting mentions
tetrapod00 Oct 14, 2024
47831b0
Merge pull request #10363 from mhilbrunner/4.3-cherry-picks
mhilbrunner Dec 3, 2024
4b616e1
Merge pull request #10364 from godotengine/4.3
mhilbrunner Dec 3, 2024
a270225
Merge commit godotengine/godot-docs@4b616e14445484bda9a82b8b7db7af952…
Spartan322 Dec 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build_offline_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

jobs:
build:
# Don't run scheduled runs on forks unless the CI_OFFLINE_DOCS_CRON variable is set to 'true'.
# Manual runs can still be triggered as normal.
if: ${{ github.repository_owner == 'godotengine' || github.event_name != 'schedule' || vars.CI_OFFLINE_DOCS_CRON == 'true' }}
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,16 @@ concurrency:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
# Install tools used by `_tools/format.sh`.
sudo apt-get -qq update
sudo apt-get -qq install dos2unix recode
sudo pip3 install -r requirements.txt
sudo pip3 install codespell
- name: Style checks via pre-commit
uses: pre-commit/[email protected]

- name: Linter checks
run: |
bash _tools/format.sh
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt -S tutorials/i18n/locales.rst {about,community,contributing,getting_started,tutorials}/**/*.rst
- name: Install dependencies
run: sudo pip3 install -r requirements.txt

- name: Migrate to Redot
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sync_class_ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ concurrency:

jobs:
build:
# Don't run scheduled runs on forks unless the CI_SYNC_CLASS_REF_CRON variable is set to 'true'.
# Manual runs can still be triggered as normal.
if: ${{ github.repository_owner == 'godotengine' || github.event_name != 'schedule' || vars.CI_SYNC_CLASS_REF_CRON == 'true' }}
name: Update class reference files based on the engine revision
runs-on: ubuntu-latest
env:
Expand Down
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
default_language_version:
python: python3

repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
files: ^(about|community|contributing|getting_started|tutorials)/.*\.rst$
additional_dependencies: [tomli]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: fix-byte-order-marker
- id: mixed-line-ending
args: ['--fix=lf']
6 changes: 0 additions & 6 deletions _static/css/algolia.css

This file was deleted.

10 changes: 0 additions & 10 deletions _templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@

{% block linktags -%}
<meta name="theme-color" content="#3d8fcc" />
{% if godot_inject_language_links -%}
{% for alternate_lang in godot_docs_supported_languages -%}
{# Convert to ISO 639-1 format, e.g. zh_CN -> zh-cn -#}
{% set alternate_lang_href = alternate_lang.lower().replace("_", "-") -%}
<link rel="alternate" hreflang="{{ alternate_lang_href }}" href="{{ godot_docs_basepath }}{{ alternate_lang }}/{{ godot_canonical_version }}/{{ pagename }}{{ godot_docs_suffix }}" />
{% endfor -%}
<link rel="alternate" hreflang="x-default" href="{{ godot_docs_basepath }}{{ godot_default_lang }}/{{ godot_canonical_version }}/{{ pagename }}{{ godot_docs_suffix }}" />

<link rel="canonical" href="{{ godot_docs_basepath }}{{ lang_attr }}/{{ godot_canonical_version }}/{{ pagename }}{{ godot_docs_suffix }}" />
{% endif -%}
{{ super() }}
{% endblock -%}

Expand Down
1 change: 1 addition & 0 deletions _tools/codespell-dict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
anti-aliasing->antialiasing
42 changes: 0 additions & 42 deletions _tools/format.sh

This file was deleted.

46 changes: 46 additions & 0 deletions about/docs_changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,52 @@ added since version 3.0.
.. note:: This document only contains new pages so not all changes are reflected,
many pages have been substantially updated but are not reflected in this document.

New pages since version 4.2
---------------------------

About
^^^^^

- :ref:`doc_system_requirements`

2D
^^

- :ref:`doc_2d_parallax`

Contributing
^^^^^^^^^^^^

- :ref:`doc_handling_compatibility_breakages`
- :ref:`doc_ways_to_contribute`

GDExtension
^^^^^^^^^^^

- :ref:`doc_gdextension_file`
- :ref:`doc_gdextension_docs_system`

Migrating
^^^^^^^^^

- :ref:`doc_upgrading_to_godot_4.3`

Rendering
^^^^^^^^^

- :ref:`doc_compositor`

XR
^^

- :ref:`doc_a_better_xr_start_script`
- :ref:`doc_openxr_passthrough`
- :ref:`doc_xr_next_steps`
- :ref:`doc_openxr_settings`
- :ref:`doc_openxr_composition_layers`
- :ref:`doc_openxr_body_tracking`


New pages since version 4.1
---------------------------

Expand Down
32 changes: 32 additions & 0 deletions about/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,38 @@ The main reasons for creating a custom scripting language for Godot were:

GDScript was designed to curtail the issues above, and more.

.. _doc_faq_which_programming_language_is_fastest:

Which programming language is fastest?
--------------------------------------

In most games, the *scripting language* itself is not the cause of performance
problems. Instead, performance is slowed by inefficient algorithms (which are
slow in all languages), by GPU performance, or by the common C++ engine code
like physics or navigation. All languages supported by Godot are fast enough for
general-purpose scripting. You should choose a language based on other factors,
like ease-of-use, familiarity, platform support, or language features.

In general, the performance of C# and GDScript is within the same order of
magnitude, and C++ is faster than both.

Comparing GDScript performance to C# is tricky, since C# can be faster in some
specific cases. The C# *language* itself tends to be faster than GDScript, which
means that C# can be faster in situations with few calls to Godot engine code.
However, C# can be slower than GDScript when making many Godot API calls, due
to the cost of *marshalling*. C#'s performance can also be brought down by garbage
collection which occurs at random and unpredictable moments. This can result in
stuttering issues in complex projects, and is not exclusive to Godot.

C++, using :ref:`GDExtension <doc_what_is_gdextension>`, will almost always be
faster than either C# or GDScript. However, C++ is less easy to use than C# or
GDScript, and is slower to develop with.

You can also use multiple languages within a single project, with
:ref:`cross-language scripting <doc_cross_language_scripting>`, or by using
GDExtension and scripting languages together. Be aware that doing so comes with
its own complications.

What 3D model formats does Godot support?
-----------------------------------------

Expand Down
11 changes: 5 additions & 6 deletions about/list_of_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ This page aims to list **all** features currently supported by Godot.
.. note::

This page lists features supported by the current stable version of
Godot. Some of these features may not be available in the
`LTS release series (3.x) <https://docs.godotengine.org/en/3.5/about/list_of_features.html>`__.
Godot. Some of these features are not available in the
`3.x release series <https://docs.godotengine.org/en/3.6/about/list_of_features.html>`__.

Platforms
---------
Expand All @@ -30,8 +30,7 @@ Platforms
on an old enough base distribution.
- Official binaries are compiled using the
`Godot Engine buildroot <https://github.com/godotengine/buildroot>`__,
allowing for binaries that work across common Linux distributions
(including LTS variants).
allowing for binaries that work across common Linux distributions.

- Android (editor support is experimental).
- :ref:`Web browsers <doc_using_the_web_editor>`. Experimental in 4.0,
Expand Down Expand Up @@ -367,7 +366,7 @@ Rendering
- ETC2 (not supported on macOS).
- S3TC (not supported on mobile/Web platforms).

**Anti-aliasing:**
**Antialiasing:**

- Temporal :ref:`antialiasing <doc_3d_antialiasing>` (TAA).
- AMD FidelityFX Super Resolution 2.2 :ref:`antialiasing <doc_3d_antialiasing>` (FSR2),
Expand Down Expand Up @@ -487,7 +486,7 @@ Scripting
- Use any build system and language features you wish.

- Actively developed GDExtension bindings for `D <https://github.com/godot-dlang/godot-dlang>`__,
`Haxe <https://hxgodot.github.io/>`__, `Swift <https://github.com/migueldeicaza/SwiftGodot>`__, and `Rust <https://github.com/godot-rust/gdextension>`__
`Swift <https://github.com/migueldeicaza/SwiftGodot>`__, and `Rust <https://github.com/godot-rust/gdextension>`__
bindings provided by the community. (Some of these bindings may be experimental and not production-ready).

Audio
Expand Down
6 changes: 0 additions & 6 deletions community/asset_library/submitting_to_assetlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,6 @@ You can check all assets currently pending a review `here <https://godotengine.o
The approval process is manual and may take up to a few days for your asset to be accepted (or rejected), so please
be patient!

.. note::

You may have some luck accelerating the approval process by messaging the
moderators and AssetLib reviewers on the `Godot Contributors Chat <https://chat.godotengine.org/>`_,
or the official Discord server.

You will be informed when your asset is reviewed. If it was rejected,
you will be told why that may have been, and you will be able to submit it again
with the appropriate changes.
Expand Down
5 changes: 4 additions & 1 deletion community/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
Tutorials and resources
=======================

This is a list of third-party tutorials and resources created by the Godot community. For resources, remember that there is the official `Godot Asset Library <https://godotengine.org/asset-library/asset>`_ full of official and community resources too! Also, have a look at this `huge list over at Reddit <https://www.reddit.com/r/godot/comments/an0iq5/godot_tutorials_list_of_video_and_written/>`_.
This is a list of third-party tutorials and resources created by the Godot
community. For resources, remember that there is the official
`Godot Asset Library <https://godotengine.org/asset-library/asset>`_ full of
official and community resources too!

Think there is something missing here? Feel free to submit a `Pull Request <https://github.com/godotengine/godot-docs/blob/master/community/tutorials.rst>`_ as always.

Expand Down
23 changes: 11 additions & 12 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# -- General configuration ------------------------------------------------

needs_sphinx = "1.3"
needs_sphinx = "8.1"

# Sphinx extension module names and templates location
sys.path.append(os.path.abspath("_extensions"))
Expand Down Expand Up @@ -63,6 +63,9 @@

# Specify the site name for the Open Graph extension.
ogp_site_name = "Godot Engine documentation"
ogp_social_cards = {
"enable": False
}

if not os.getenv("SPHINX_NO_GDSCRIPT"):
extensions.append("gdscript")
Expand Down Expand Up @@ -158,7 +161,6 @@
# -- Options for HTML output ----------------------------------------------

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
if on_rtd:
using_rtd_theme = True

Expand All @@ -168,8 +170,11 @@
"logo_only": True,
# Collapse navigation (False makes it tree-like)
"collapse_navigation": False,
# Hide the documentation version name/number under the logo
"display_version": False,
# Remove version and language picker beneath the title
"version_selector": False,
"language_selector": False,
# Set Flyout menu to attached
"flyout_display": "attached",
}

html_title = supported_languages[language] % ( "(" + version + ")" )
Expand All @@ -181,13 +186,9 @@
"github_repo": "godot-docs", # Repo name
"github_version": "4.3", # Version
"conf_py_path": "/", # Path in the checkout to the docs root
"godot_inject_language_links": True,
"godot_docs_supported_languages": list(supported_languages.keys()),
"godot_docs_title": supported_languages[language],
"godot_docs_basepath": "https://docs.godotengine.org/",
"godot_docs_suffix": ".html",
"godot_default_lang": "en",
"godot_canonical_version": "stable",
# Distinguish local development website from production website.
# This prevents people from looking for changes on the production website after making local changes :)
"godot_title_prefix": "" if on_rtd else "(DEV) ",
Expand All @@ -211,16 +212,14 @@
# These paths are either relative to html_static_path
# or fully qualified paths (e.g. https://...)
html_css_files = [
'css/algolia.css',
'https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css',
"css/custom.css?10", # Increment the number at the end when the file changes to bust the cache.
"css/custom.css",
]

if not on_rtd:
html_css_files.append("css/dev.css")

html_js_files = [
"js/custom.js?7", # Increment the number at the end when the file changes to bust the cache.
"js/custom.js",
]

# Output file base name for HTML help builder
Expand Down
2 changes: 2 additions & 0 deletions contributing/development/code_style_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ You need to use **clang-format 17** to be compatible with Godot's format. Later
be suitable, but previous versions may not support all used options, or format
some things differently, leading to style issues in pull requests.

.. _doc_code_style_guidelines_pre_commit_hook:

Pre-commit hook
^^^^^^^^^^^^^^^

Expand Down
Loading