mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Proper RTD detection.
This commit is contained in:
1 parent
1652539d40
commit
c26797d808
2 files changed
+5
-1
No files matched your search
@@ -142,6 +142,10 @@ html_experimental_html5_writer = True
|
||||
# a list of builtin themes.
|
||||
html_theme = 'basic'
|
||||
|
||||
html_context = {
|
||||
'ON_READTHEDOCS': bool(os.environ.get('READTHEDOCS'))
|
||||
}
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
|
||||
Reference in new issue
Block a user