Add message on instaloader.rtfd.io that doc moved
This commit is contained in:
parent
58a80c349d
commit
92114f9018
docs
3
docs/_templates/rtdmessage.html
vendored
Normal file
3
docs/_templates/rtdmessage.html
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<h3>New Documentation URL</h3>
|
||||||
|
<div class="danger"><p style="margin-left: 1em"><b>Instaloader's Documentation has been moved to
|
||||||
|
<a class="reference external" href="https://instaloader.github.io/">https://instaloader.github.io</a>.</b></p></div>
|
@ -191,7 +191,10 @@ html_static_path = ['_static']
|
|||||||
|
|
||||||
# Custom sidebar templates, maps document names to template names.
|
# Custom sidebar templates, maps document names to template names.
|
||||||
#
|
#
|
||||||
html_sidebars = {'**': ["caption.html", "globaltoc.html", "relations.html", "links.html"] }
|
if not os.environ.get("READTHEDOCS"):
|
||||||
|
html_sidebars = {'**': ["caption.html", "globaltoc.html", "relations.html", "links.html"] }
|
||||||
|
else:
|
||||||
|
html_sidebars = {'**': ["caption.html", "rtdmessage.html", "globaltoc.html", "relations.html", "links.html"] }
|
||||||
|
|
||||||
# Additional templates that should be rendered to pages, maps page names to
|
# Additional templates that should be rendered to pages, maps page names to
|
||||||
# template names.
|
# template names.
|
||||||
|
Loading…
Reference in New Issue
Block a user