diff --git a/docs/src/conf.py b/docs/src/conf.py index 77df2902..0df6b36a 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -6,6 +6,7 @@ from datetime import datetime import os +import locale from pathlib import Path import re import sys @@ -26,7 +27,7 @@ os.environ["ESMFMKFILE"] = f"{rtd_conda_prefix}/lib/esmf.mk" os.environ["PROJ_DATA"] = f"{rtd_conda_prefix}/share/proj" os.environ["PROJ_NETWORK"] = "OFF" - os.environ["LC_ALL"] = "C" + locale.setlocale(locale.LC_NUMERIC, "C") # -- Project information -----------------------------------------------------