mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Try to fix padding problem in code samples in docs
This commit is contained in:
parent
665b8d024d
commit
4e299b09e4
3
docs/_static/sphinx_rtd_theme-hotfix.css
vendored
Normal file
3
docs/_static/sphinx_rtd_theme-hotfix.css
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.rst-content .highlight>pre, .rst-content .linenodiv>pre {
|
||||
line-height: normal;
|
||||
}
|
|
@ -117,10 +117,10 @@ html_theme = 'sphinx_rtd_theme'
|
|||
# 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.
|
||||
#html_theme_options = {}
|
||||
# html_context = {}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
html_theme_path = ['_themes']
|
||||
#html_theme_path = ['_themes']
|
||||
|
||||
# The name for this set of Sphinx documents. If None, it defaults to
|
||||
# "<project> v<release> documentation".
|
||||
|
@ -290,3 +290,7 @@ texinfo_documents = [
|
|||
autodoc_member_order = 'bysource'
|
||||
|
||||
disqus_shortname = 'python-dependency-injector'
|
||||
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet('sphinx_rtd_theme-hotfix.css')
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
sphinx
|
||||
sphinx_rtd_theme==0.2.5b2
|
||||
sphinx_rtd_theme>=0.2.5b2
|
||||
-e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus
|
||||
|
|
Loading…
Reference in New Issue
Block a user