Content-Length: 278373 | pFad | http://github.com/godotengine/godot-docs/pull/10990

A4 Remove warning on build caused by non-existent pygment by jynus · Pull Request #10990 · godotengine/godot-docs · GitHub
Skip to content

Remove warning on build caused by non-existent pygment #10990

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jynus
Copy link
Contributor

@jynus jynus commented Jun 3, 2025

At #10857 a gitignore codeblock was added. Addition seems correct, but a pygment formatting was defined as:

.. code-block:: gitignore

No such a pygment exists, and although there is an aditional package that could parse git-related files, we chose to not add an extra package dependency for building the docs.

Fallback to unixconfig instead.

Closes #10989

At godotengine#10857 a gitignore codeblock was added. Addition seems correct,
but a pygment formatting was defined as:

.. code-block:: gitignore

No such a pygment exists, and although there is an aditional
package that could parse git-related files, we chose to
not add an extra package dependency for building the docs.

Fallback to unixconfig instead.

Closes godotengine#10989
@jynus
Copy link
Contributor Author

jynus commented Jun 3, 2025

Here is the list of alternatives: https://pygments.org/languages/

@Calinou Calinou added bug content:website Issues related to adding website features and fixing bugs, whether on the front or back-end cherrypick:4.4 labels Jun 4, 2025
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. unixconfig is a close enough match (it'll gray out comment lines starting with #).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.4 content:website Issues related to adding website features and fixing bugs, whether on the front or back-end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building godot docs produces WARNING: Pygments lexer name 'gitignore' is not known
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/godotengine/godot-docs/pull/10990

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy