summaryrefslogtreecommitdiffstats
path: root/conf.py
diff options
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 770fa08..4587bf9 100644
--- a/conf.py
+++ b/conf.py
@@ -1,3 +1,13 @@
+import os
+
+# Read The Docs service was changed 2024.
+# https://about.readthedocs.com/blog/2024/07/addons-by-default/#how-does-it-affect-my-projects
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
+if os.environ.get("READTHEDOCS", "") == "True":
+ html_context = {
+ "READTHEDOCS": True
+ }
+
project = 'Linux FireWire subsystem'
author = 'Takashi Sakamoto'
copyright = '2023, Takashi Sakamoto'