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.
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.
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.
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>
I noticed some of the phrasing and grammar in object_class.rst was a bit confusing, so I tried to improve the clarity while keeping the original intent of the content.
Let me know if the changes are consistent with the rest of the docs, thanks!
The path to the `bin/` directory is written from the root as `./bin/<godot_binary>`,
however the path to the `scripts/` directory is written from outside the root as
`godot-source/modules/gdscript/tests/scripts`, which is inconsistent.
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.
Based in https://github.com/godotengine/godot/issues/84456
Change register_tts_types() to initialize_tts_module()
Change unregister_tts_types() to uninitialize_tts_module()
Add parameter ModuleInitializationLevel p_level to uninitialize_tts_module and initialize_tts_module