Commit Graph
96 Commits
Author SHA1 Message Date
Hugo Locurcio e7fdb120c7 Fix dead links in the documentation
Command used:

    lychee **/*.rst --github-token="..." --accept="100..=103,200..=299,429"

429 error codes were allowed due to a high number of false positives,
even with a GitHub token specified.
2024-07-01 18:55:30 +02:00
skyace65 17a683682c Update name of where you get openJDK from 2024-06-28 18:57:55 -04:00
A Thousand Ships 36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
Hugo Locurcio 06bd5b3ccb Fix false positives in codespell CI and fix reported typos
- Don't install codespell when building offline docs
  as it's not needed in that workflow.
2024-05-31 10:58:12 +02:00
Aaron Franke 1a7fd1ea5f Improve Compiling for iOS docs: Mention how to set up Xcode 2024-05-29 00:17:25 -07:00
Aaron Franke e3297dd7cd Improve Compiling for Android docs: Homebrew, GDExtension, terminal 2024-05-29 00:17:25 -07:00
Rémi Verschelde 55f6c52037 Compiling: Min versions are now SCons 3.1.2 and GCC 9 2024-05-17 11:24:51 +02:00
Fredia Huya-Kouadio 91a4273b2c Update the Android documentation for Godot 4.3 2024-05-14 23:32:45 -07:00
Max Hilbrunner 2fbda9eb30 Merge pull request #9357 from Calinou/compiling-for-linuxbsd-update-deps
Update dependencies in Compiling for Linux/*BSD
2024-05-12 12:53:34 +02:00
Aaron Franke 97e34daba4 Fix meaning of "scons" by itself in Introduction to the Buildsystem 2024-05-11 18:14:08 -07:00
Hugo Locurcio 27f9076302 Update dependencies in Compiling for Linux/*BSD
- List Wayland dependency and packages on most distributions.
- Use `sudo` on distributions that are set up to use it by default.
- Use unattended install-friendly commands (e.g. `-y` switch).
- Mention required commands to run before installing, such as
  `apt-get update`.
- Fix install commands on some distributions:
  - Alpine no longer packages libexecinfo since 3.17, so it was removed
    from the list.
  - Solus requires `-c` for `system.devel`.
- Reorder distributions so they're in alphabetical order.
2024-05-11 00:05:57 +02:00
Paul Joannon f300b404bb Update required SDK version on "compiling w/ .NET" 2024-04-23 23:31:34 +02:00
Mikael Hermansson 3279f8a8a8 Update the names of the export binaries 2024-04-17 12:26:18 +02:00
Christen Lofland 4b47a47de0 Simplify the MSVC install instructions
This line can be simplified from:
`If installing Visual Studio 2017 or 2019, make sure to enable **C++** in
the list of workflows to install.`
To:
`Make sure to enable **C++** in the list of workflows to install.`

This line is not needed as we don't support 2015 anymore:
`If installing Visual Studio 2015, make sure to run a **Custom**
installation instead of **Typical** and select **C++** as a language there.`

This can be simplified from:
`If you've already made the mistake of installing Visual Studio without
C++ support, run the installer again; it should present you a **Modify** button.`
To:
`If you've already installed Visual Studio without C++ support, run the installer
again; it should present you a **Modify** button.`

From my checking on my system, this line is no longer true, so we can remove it:
`Running the installer from *Add/Remove Programs* will only give you
a **Repair** option, which won't let you install C++ tools.`

Now we can move the simplified text up so that the reader does not have to dig through the entire document to find that important bit of information, while not making the text at the top much longer due removing outdated information.
2024-04-11 10:22:27 -05:00
A Thousand Ships bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
Matthew 809e728db0 Merge pull request #8983 from Calinou/compiling-for-linuxbsd-production
Clarify `production=yes` SCons option in Compiling for Linux/*BSD
2024-03-13 19:33:57 -04:00
A Thousand Ships 54a8d084bf [Navigation] Document 3D support is required for navigation 2024-03-06 15:45:22 +01:00
Hugo Locurcio a5649f0a4b Clarify production=yes SCons option in Compiling for Linux/*BSD 2024-03-05 19:37:08 +01:00
Matthew 4f21f44632 Merge pull request #8743 from akien-mga/scons-cmdline-CCFLAGS-lowercase
Rename SCons command line options for CCFLAGS, etc. to lowercase
2024-02-22 20:26:08 -05:00
Fabio Alessandrelli 712aa0c345 [Web] Expand "Interacting with Javascript"
Document the new (preferred) interface.

Add a small section about downloading files to the user device.
2024-02-21 11:45:33 +01:00
Matthew e31543bb83 Merge pull request #8863 from DSOE1024/patch-1
Update compiling_for_linuxbsd.rst Added a description that compiling for RISC-V devices
2024-02-11 08:52:45 -05:00
Matthew 7f531fed8c Merge pull request #8905 from adamscott/update-emscripten-minimum-requirements
Update the Emscripten minimum requirements to 3.1.39
2024-02-05 17:58:55 -05:00
Adam Scott b3926b9d0a Update the Emscripten minimum requirements 2024-02-05 13:46:57 -05:00
Hugo Locurcio b4cc1899d2 Update recommended MSVC version in Compiling for Windows
- Mention that official Godot binaries are compiled using MinGW
  (and describe why).
2024-01-29 19:37:51 +01:00
DSOE1024 bd86d78232 Update compiling_for_linuxbsd.rst
Added a description that compiling for RISC-V devices requires the use of the Clang compiler
2024-01-29 19:52:43 +08:00
31 f26f1a9bb2 Update compiling_with_dotnet.rst: clarify NuGet source creation 2024-01-20 23:55:16 -08:00
Max Hilbrunner 01a7b2ff94 Merge pull request #7520 from Calinou/add-page-comments
Add support for user-provided comments with Giscus
2024-01-13 22:32:30 +01:00
Hugo Locurcio 95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
Rémi Verschelde 87a57ea670 Rename SCons command line options for CCFLAGS, etc. to lowercase
Matching the changes in https://github.com/godotengine/godot/pull/86964.
2024-01-09 10:09:34 +01:00
bruvzg 3a773fea91 [iOS] Remove mention of Command Line Tools. 2024-01-08 10:01:00 +02:00
Rémi Verschelde 43f0195ba1 Merge pull request #8657 from aaronfranke/template-target
Update export template docs to use Godot 4.x target names
2024-01-04 17:53:24 +01:00
Matthew cdd2141ad9 Merge pull request #8624 from bruvzg/upd_d3d12_docs
Update D3D12 build instructions.
2023-12-24 16:38:47 -05:00
bruvzg 58b9d83390 Fix Windows build command highlighting. 2023-12-21 21:42:21 +02:00
Aaron Franke 65f2d2b36f Update export template docs to use Godot 4.x target names 2023-12-19 14:48:58 -06:00
Matthew 665dba8d51 Merge pull request #8391 from Calinou/compiling-for-android-generate-apk
Document `generate_apk=yes` SCons option in Compiling for Android
2023-12-14 19:12:06 -05:00
bruvzg 95a47f3edb Update D3D12 build instructions. 2023-12-14 16:12:55 +02:00
bruvzg 7f8e0e374f Add instructions for compiling with ANGLE on Windows. 2023-12-13 23:07:05 +02:00
Clay JohnandRémi Verschelde 671a844be4 Apply suggestions from code review
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-12-12 14:46:02 -07:00
clayjohn 26d2ef09f3 Add instructions for compiling with Direct3D 12 support on Windows 2023-12-11 22:14:17 -07:00
Max Hilbrunner 5f5185e5a7 Merge pull request #8503 from idoleat/master
Add an option to soft link besides copying for libatomic.a on linuxbsd
2023-11-26 03:51:15 +01:00
Hugo Locurcio 2633dedf71 Add section on optimizing distribution size in Optimizing a build for size
This isn't strictly related to compiling custom export templates,
but it's a neat trick to reduce the final distribution size that works
regardless of the export template binary used.
2023-11-24 21:54:01 +01:00
idoleat 4219b924bf Add an option to soft link besides copying
The document suggests copy `/usr/lib/libatomic_ops.a` to
`/usr/lib/libatomic.a`. Instead of copying, using a soft link to
libatomic_ops is also an option. The reason to soft link is also added.
I have successfully built Godot by using soft link.
2023-11-19 10:20:15 +08:00
Rémi Verschelde ee401703f0 Remove UWP mentions as the platform port was removed in 4.2 2023-11-16 13:03:31 +01:00
Aitor GuevaraandHugo Locurcio 4a51190b60 Update MinGW-w64 instructions for Windows cross-compilation (#8469)
Fix outdated environment variables when setting up MinGW-w64 paths. Also
add a note to mind different host/target architectures (common pitfall
when compiling from e.g. Apple silicon).

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-16 12:53:29 +01:00
Adam Scott e130fd58e7 Add --headless parameter to examples 2023-11-11 15:19:22 -05:00
Hugo Locurcio e0a8e07f56 Update list of modules that can be disabled in Optimizing for size
This list was confirmed to be working for the 2D platformer demo
(with missing background music if the Ogg/Vorbis modules are left
disabled).

This adds instructions for disabling the advanced text server
and using the fallback text server instead. The list has been
reorganized to list options with the most space savings at the top.

This also removes the platform options from each example as SCons
uses autodetection by default now.
2023-11-08 13:08:10 +01:00
Hugo Locurcio 14d35fc671 Document generate_apk=yes SCons option in Compiling for Android
This removes the need for OS-specific instructions and streamlines
the build process a bit.
2023-11-04 08:29:37 +01:00
Fredia Huya-Kouadio 7db7cc92c2 - Update the JDK version for Godot Android development
- Update the env variable pointing to the Android SDK
2023-11-01 09:20:26 -07:00
skyace65 de4f406e59 Update Windows security instructions 2023-10-15 19:28:53 -04:00
Max Hilbrunner e269ed9f56 Merge pull request #7884 from m4gr3d/update_android_plugin_tutorial
Update the Android documentation for Godot 4.2
2023-10-10 19:09:15 +02:00