Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
BUG: Specify the language in Sphinx documentation config file
Browse files Browse the repository at this point in the history
Specify the language in Sphinx documentation config file.

Fixes:
```
Running Sphinx v7.2.6

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

raised when running:
```
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
```
  • Loading branch information
jhlegarreta committed Mar 18, 2024
1 parent 4b632ea commit 8912300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,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 8912300

Please sign in to comment.