Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Commit 5534a1c

Browse files
committed
fixup! fix: build missing in .readthedocs
1 parent e6299c0 commit 5534a1c

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

docs/source/conf.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@
1919
</div>
2020
"""
2121

22+
html_theme_options = {
23+
# Announcement banner defined as a string of arbitrary HTML, temporarily
24+
# displayed at the top of each page until the user begins scrolling.
25+
'announcement': """
26+
<div style="background-color: #fff3cd; padding: 12px; border-left: 5px solid #ffa502; margin-bottom: 20px;">
27+
⚠️ This documentation has moved to <a href="https://docs.mapswipe.org/">https://docs.mapswipe.org</a>.
28+
Please update your bookmarks.
29+
</div>
30+
""",
31+
}
32+
2233
# -- Project information -----------------------------------------------------
2334

2435
project = "MapSwipe Back-End"
@@ -63,7 +74,7 @@
6374
# The theme to use for HTML and HTML Help pages. See the documentation for
6475
# a list of builtin themes.
6576
#
66-
html_theme = "sphinx_rtd_theme"
77+
html_theme = "sphinx_book_theme"
6778

6879
# Add any paths that contain custom static files (such as style sheets) here,
6980
# relative to this directory. They are copied after the builtin static files,

docs/source/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
recommonmark
22
sphinx-markdown-tables
3-
sphinx-rtd-theme
3+
sphinx-book-theme
44
# mistune
55
m2r2

0 commit comments

Comments
 (0)