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

[docs] set language = 'en' in Sphinx config #5322

Merged
merged 1 commit into from Jun 22, 2022
Merged

Conversation

jameslamb
Copy link
Collaborator

Noticed on #5320 that the check-docs CI job has started failing with the following error.

Warning, treated as error:
Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
make: *** [Makefile:20: html] Error 2

Per sphinx-doc/sphinx#10481, it looks like Sphinx no longer accepts language = None in configuration. (found that link from rapidsai/cuml#4781, thanks @galipremsagar!).

This PR proposes explicitly setting language = 'en' in the project's Sphinx configuration.

@jameslamb
Copy link
Collaborator Author

Thanks for the quick review @jmoralez !

@jameslamb jameslamb added doc and removed maintenance labels Jun 22, 2022
@jameslamb jameslamb merged commit feb4cf4 into master Jun 22, 2022
@jameslamb jameslamb deleted the ci/docs-build branch June 22, 2022 16:54
@jameslamb jameslamb mentioned this pull request Oct 7, 2022
40 tasks
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants