Force timezone for docs
This commit is contained in:
+4
-1
@@ -15,7 +15,7 @@
|
|||||||
# import os
|
# import os
|
||||||
# import sys
|
# import sys
|
||||||
# sys.path.insert(0, os.path.abspath("."))
|
# sys.path.insert(0, os.path.abspath("."))
|
||||||
import sphinx_rtd_theme
|
import os, time, sphinx_rtd_theme
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
@@ -31,6 +31,9 @@ release = "0.11.0"
|
|||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
|
os.environ["TZ"] = "Europe/Oslo"
|
||||||
|
time.tzset()
|
||||||
|
|
||||||
# needs_sphinx = "1.0"
|
# needs_sphinx = "1.0"
|
||||||
extensions = [
|
extensions = [
|
||||||
"sphinx_rtd_theme",
|
"sphinx_rtd_theme",
|
||||||
|
|||||||
Reference in New Issue
Block a user