Commit Graph
51 Commits
Author SHA1 Message Date
Hugo Locurcio 8a6ad4c926 Replace uses of shorthand codeblock syntax to avoid issues with localization
Previously, many paragraphs in the documentation used `::` at the end of a line
as a replacement for a single colon (and `::` on the following line).
Due to this, the `::` was part of the extracted string for localization.
Weblate also showed a warning about the trailing `::`, as it's not
normally expected to be there.

This change requires translators to revalidate all modified strings.
However, considering many of those have broken code blocks due to translators
replacing `::` with `:`, it can be a good idea.

This also adds documentation writing guidelines for code blocks and admonitions.
This commit does not modify existing admonitions in any way (as this would
lead to a much larger diff, and require more localizable text to be revalidated
by translators).
2025-05-30 02:02:30 +02:00
Matthew da17e45e02 Merge pull request #10170 from tetrapod00/contribution-checklist
Add docs contribution checklist page
2025-03-03 19:08:41 -05:00
tetrapod00 239c16c494 Update links to Q&A site to forum 2025-02-08 22:04:46 -08:00
tetrapod00 39bbba660d Fix video alignment after dependency update without CSS 2025-02-03 11:52:04 -08:00
tetrapod00 049b42989e Revert "Fix video alignment after dependency update"
This reverts commit 0e87849415.
2025-02-03 10:22:46 -08:00
Max Hilbrunner 36359b2fcd Merge pull request #10566 from tetrapod00/fix-video-align
Fix video alignment after dependency update
2025-02-03 10:28:24 +01:00
Marek S. Łukasiewicz f9c0fa58c0 Add a command snippet to build only modified documentation (#10571)
Add a command snippet to build only modified documentation

Clarified that the FILELIST feature isn't available on Windows, hint about WSL.
Added examples for diff from HEAD and master.
2025-02-01 23:17:02 -05:00
tetrapod00 0e87849415 Fix video alignment after dependency update 2025-01-29 00:30:10 -08:00
tetrapod00 2017152e9c Add docs contribution checklist page 2025-01-28 00:30:51 -08:00
Max Hilbrunner 4b4e8518a7 Merge pull request #10370 from tetrapod00/standardize-header-the-rest
Standardize RST header syntax
2025-01-02 12:17:38 +01:00
Matthew 83afe9d168 Merge pull request #10446 from tetrapod00/header-guideline
Document standards for RST section header syntax
2024-12-31 17:45:49 -05:00
tetrapod00 618bbd2150 Document standards for RST section header syntaxx 2024-12-29 14:42:29 -08:00
tetrapod00 c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
tetrapod00 bdb4983eb1 Tweak wording in Contributing to the class reference 2024-12-18 10:26:34 -08:00
Hugo Locurcio 0d8944df0b Mention that GIFs should be avoided in Docs image guidelines 2024-12-07 08:35:09 +01:00
tetrapod00 55b08515b4 Update word counts and translation priorities in Localization contributing page 2024-11-25 10:41:00 -08:00
Max Hilbrunner dfb8a1890c Merge pull request #10169 from tetrapod00/manual-style-guide
Add section on manual style to Writing Guidelines
2024-11-17 11:13:43 +01:00
tetrapod00 76bcb140d4 Consistently use "built-in" and "built into", avoid "builtin" and "built-in to" 2024-11-08 17:28:29 -08:00
tetrapod00 e7c07d2908 Add section on manual style to Writing Guidelines
Specifies when to link to the class reference.
Specifies how to style various kinds of text.
2024-11-05 01:21:55 -08:00
Max Hilbrunner c01fc521a6 Merge pull request #10123 from tetrapod00/docs-version-guidelines
Add writing guidelines for when to specify a Godot version
2024-10-28 14:35:45 +01:00
tetrapod00 2f176dc20e Clarify cherry-picking workflow in Contributing to the Documentation 2024-10-27 12:00:03 -07:00
tetrapod00 fba304815b Add writing guidelines for when to specify a Godot version 2024-10-20 16:50:47 -07:00
Lukas Fletcher fee32262bf update editing pages online instructions in contributing_to_the_documentation.rst
add current branch instructions
add note about incorrect origin symptom
update text describing github ui
2024-08-24 20:57:39 +02:00
tetrapod00 f5fcba79e3 Fix make html with filelist command in building_the_manual.rst 2024-08-19 17:57:02 -07:00
Russell SanbornandA Thousand Ships bb17829d9b Update contributing/documentation/docs_image_guidelines.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-09 13:58:43 -05:00
Russell SanbornandA Thousand Ships 4e8142a35f Update contributing/documentation/docs_writing_guidelines.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-09 13:55:30 -05:00
Russell Sanborn a3e4e9b0cc Add commas before "but" throughout documentation 2024-07-06 08:41:08 -05:00
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
Bamarin [IT] b702b8794a Fix typo 2024-05-29 19:12:55 +02:00
Danil Alexeev c89b0e6ab3 Update class reference and doc comment markup documentation 2024-05-02 13:14:02 +03:00
Joel KuntzandA Thousand Ships 67eff82f63 Add note about class reference generated XML descriptions
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-27 10:48:15 -03:00
melquiadess dbe3a88377 Fix various minor typos 2024-04-20 16:41:23 +01:00
Hugo Locurcio 3e3bbde35b Add support for embedding videos in documentation pages
This is more efficient than GIFs, animated PNGs or WebPs, while also
providing controls and audio playback if needed.
2024-03-27 19:58:27 +01:00
skyace65 175524548c Replace "alt" with "opt" for macOS shortcuts 2024-03-05 19:31:26 -05: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
skyace65 83346a6a5a Update remaining QA links 2023-10-15 19:08:48 -04:00
skyace65 df73737a7a Add compression guidelines to doc image guide 2023-06-22 20:01:36 -04:00
Rémi Verschelde c0761647f4 Tweak Vector math page (style, links, more notes)
Also cleanup style issues in the docs image guidelines.
2023-06-12 14:51:16 +02:00
Hugo Locurcio 0a1bd872a2 Document -j auto in Building the manual 2023-06-06 00:15:34 +02:00
Max Hilbrunner 485116d8a3 Character and typo fixes 2023-05-31 18:07:27 +02:00
Danil Alexeev d8e71f7453 Update info about BBCode in doc comments and Class Reference 2023-05-29 21:43:10 +03:00
Yuri Sizov 0606a8ed38 Move tutorial ZIPs to a dedicated repository 2023-04-26 10:42:20 +02:00
Unai Martinez-Corral e7cd5e5a92 [contributing/documentation/building_the_manual] fix headings 2023-04-18 17:57:08 +02:00
Unai Martinez-CorralandMax Hilbrunner f85fa75561 [contributing/documentation/building_the_manual] use tabs and admonitions (#7074)
* [contributing/documentation/building_the_manual] use tabs and admonitions

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-04-18 05:13:51 +02:00
Max Hilbrunner 64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
Max Hilbrunner 057d8b97f1 Merge pull request #7031 from wlsnmrk/sphinx-build-dir
Corrected directory for HTML documentation output
2023-03-23 06:39:14 +01:00
Mark Wilson 24bc17efe3 Provide correct directory for HTML documentation output
Updated output directory in tutorial for manual sphinx-build operations
on godot-docs. It now matches the output directory used by the make
command for godot-docs.
2023-03-20 13:57:35 -04:00
Justin McGettigan 7f7042c515 Updated instances of onready to @onready. 2023-03-18 16:06:11 -04:00
Hana 64476d96b4 update references 2023-02-10 19:13:03 +01:00
skyace65 bde912b341 Add a guide for creating documentation images 2023-01-18 19:43:04 -05:00