Try to fix padding problem in code samples in docs

This commit is contained in:
Roman Mogylatov 2018-02-22 14:26:54 +02:00
parent 665b8d024d
commit 4e299b09e4
3 changed files with 10 additions and 3 deletions

View File

@ -0,0 +1,3 @@
.rst-content .highlight>pre, .rst-content .linenodiv>pre {
line-height: normal;
}

View File

@ -117,10 +117,10 @@ html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a 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 # further. For a list of options available for each theme, see the
# documentation. # documentation.
#html_theme_options = {} # html_context = {}
# Add any paths that contain custom themes here, relative to this directory. # 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 # The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation". # "<project> v<release> documentation".
@ -290,3 +290,7 @@ texinfo_documents = [
autodoc_member_order = 'bysource' autodoc_member_order = 'bysource'
disqus_shortname = 'python-dependency-injector' disqus_shortname = 'python-dependency-injector'
def setup(app):
app.add_stylesheet('sphinx_rtd_theme-hotfix.css')

View File

@ -1,3 +1,3 @@
sphinx sphinx
sphinx_rtd_theme==0.2.5b2 sphinx_rtd_theme>=0.2.5b2
-e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus -e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus