Fixed CSS override issue for docs
This commit is contained in:
parent
bf1e3453cc
commit
b23172e440
|
@ -10,6 +10,6 @@ The checklist for releasing a new version of this repository (and by extension,
|
|||
of the documentation) is as follows:
|
||||
|
||||
1. Create a final commit that bumps the version number(s) in
|
||||
`/doc/source/conf.py`.
|
||||
`/doc/source/conf.py` and `/setup.py`.
|
||||
2. Tag that commit with the appropriate version number.
|
||||
3. Done! RTD should find the tag and build the docs automagically.
|
||||
|
|
|
@ -7,6 +7,9 @@ import sys
|
|||
|
||||
sys.path.append(os.path.abspath('../../'))
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet('theme_overrides.css') # Override wide tables in RTD theme
|
||||
|
||||
# General Configuration
|
||||
# =====================
|
||||
|
||||
|
@ -20,8 +23,8 @@ project = u'BOLOS Python Loader'
|
|||
copyright = u'2017, Ledger Team'
|
||||
author = u'Ledger Team'
|
||||
|
||||
version = u'0.1.14'
|
||||
release = u'0.1.14'
|
||||
version = u'0.1.15'
|
||||
release = u'0.1.15'
|
||||
|
||||
pygments_style = 'sphinx'
|
||||
|
||||
|
@ -32,12 +35,6 @@ html_theme = 'sphinx_rtd_theme'
|
|||
|
||||
html_static_path = ['_static']
|
||||
|
||||
html_context = {
|
||||
'css_files': [
|
||||
'_static/theme_overrides.css', # Override wide tables in RTD theme
|
||||
],
|
||||
}
|
||||
|
||||
# sphinxarg
|
||||
# =========
|
||||
|
||||
|
@ -49,5 +46,5 @@ extensions += ['sphinxarg.ext']
|
|||
extensions += ['sphinx.ext.intersphinx']
|
||||
|
||||
intersphinx_mapping = {
|
||||
'ledger': ('https://ledger.readthedocs.io/en/1/', None)
|
||||
'ledger': ('https://ledger.readthedocs.io/en/2/', None)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue