This repository was archived by the owner on Apr 3, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-9
lines changed
Expand file tree Collapse file tree 3 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 55# Required
66version : 2
77
8+ build :
9+ os : ubuntu-22.04
10+ tools :
11+ python : " 3.11"
12+
813# Build documentation in the docs/ directory with Sphinx
914sphinx :
1015 configuration : docs/source/conf.py
@@ -18,6 +23,5 @@ formats: all
1823
1924# Optionally set the version of Python and requirements required to build your docs
2025python :
21- version : 3.7
2226 install :
2327 - requirements : docs/source/requirements.txt
Original file line number Diff line number Diff line change 1010# import sys
1111# sys.path.insert(0, os.path.abspath('.'))
1212
13+ html_theme_options = {
14+ # Announcement banner defined as a string of arbitrary HTML, temporarily
15+ # displayed at the top of each page until the user begins scrolling.
16+ 'announcement' : """
17+ <div style="background-color: #fff3cd; padding: 12px; border-left: 5px solid #ffa502; margin-bottom: 20px;">
18+ ⚠️ This documentation has moved to <a href="https://docs.mapswipe.org/">https://docs.mapswipe.org</a>.
19+ Please update your bookmarks.
20+ </div>
21+ """ ,
22+ }
1323
1424# -- Project information -----------------------------------------------------
1525
2737 "sphinx.ext.autodoc" ,
2838 "sphinx.ext.napoleon" ,
2939 "sphinx_markdown_tables" ,
30- "m2r " ,
40+ "m2r2 " ,
3141]
3242
3343# Add any paths that contain templates here, relative to this directory.
5565# The theme to use for HTML and HTML Help pages. See the documentation for
5666# a list of builtin themes.
5767#
58- html_theme = "sphinx_rtd_theme "
68+ html_theme = "sphinx_book_theme "
5969
6070# Add any paths that contain custom static files (such as style sheets) here,
6171# relative to this directory. They are copied after the builtin static files,
Original file line number Diff line number Diff line change 1- Sphinx == 2.1.2
2- recommonmark == 0.5.0
3- sphinx-markdown-tables == 0.0.9
4- sphinx-rtd-theme == 0.4.3
5- mistune == 0.8.4
6- m2r == 0.2.1
1+ recommonmark
2+ sphinx-markdown-tables
3+ sphinx-book-theme
4+ # mistune
5+ m2r2
You can’t perform that action at this time.
0 commit comments