Skip to content

Commit

Permalink
Specify language as 'en' instead of None (#1059)
Browse files Browse the repository at this point in the history
Needed for Sphinx 5 compatibility. Should fix the following warning occurring in doc builds.

```
Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
```

xref: sphinx-doc/sphinx#10481

Authors:
  - https://github.com/jakirkham
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

URL: #1059
  • Loading branch information
jakirkham committed Jun 22, 2022
1 parent f68417a commit 8b86993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/docs/conf.py
Expand Up @@ -78,7 +78,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down

0 comments on commit 8b86993

Please sign in to comment.