Skip to content

Commit

Permalink
fix: sphinx "invalid language code"
Browse files Browse the repository at this point in the history
Problem:

    docs: commands[0] …/docs> sphinx-build -b html -d …/.tox/docs/tmp/doctrees . …/py
    Running Sphinx v6.2.1
    WARNING: Invalid configuration value found: 'language = None'.
    Update your configuration to a valid language code. Falling back to 'en' (English).

Solution:

    Set language.
  • Loading branch information
justinmk committed Jul 14, 2023
1 parent 61bf6fa commit e4224fc
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 @@ -68,7 +68,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 e4224fc

Please sign in to comment.