-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra padding in "literalinclude" directive #417
Comments
It was fine at least in v0.1.9 (I've just updated from it). |
I've
@denisvm, can I interest you in this? =) |
Are you sure? That commit does nothing that might affect this. |
@Blendify, actually @klas-genestack may be right. My changes didn't cause this issue, but when I ran With that I've inherited the change made in #344 (Fix spacing in pre) with 7f307a8. If you disable this change, it'll fix this specific issue. This is related to #381. |
I get the same problem.
|
The problem is in the
|
A quick hack to solve the issue: Add this to a static css then load it from the conf.py
|
Sorry if this is the wrong place to add this comment, but any idea when this will get fixed ? I use the rtd theme a lot and a quick fix would be useful. |
Use temporary workaround from readthedocs/sphinx_rtd_theme#417 Fixes #108
#504 Should fix this can people try using it? |
Im closing this issue if people still have an issue after using latest master then we can re-open |
Can someone state when this latest master will be deployed on pypi ? I don’t want my documentation to be based on non released builds of the ‘latest master’ |
Exactly - using the 'latest GIT master' is not a viable solution to be frank.
--
Anthony Flury
[email protected]
From: Szabolcs Dombi <[email protected]>
To: rtfd/sphinx_rtd_theme <[email protected]>
Cc: Tony Flury <[email protected]>; Comment <[email protected]>
Sent: Monday, January 15, 2018 7:54 AM
Subject: Re: [rtfd/sphinx_rtd_theme] Extra padding in "literalinclude" directive (#417)
Using the sphinx_rtd_theme from PyPI:the bug is still presentUsing the sphinx_rtd_theme from github:the bug is fixedpython -m pip install https://github.com/rtfd/sphinx_rtd_theme/archive/master.zip -U
Version info:>>> import sphinx_rtd_theme
>> sphinx_rtd_theme.__version__
'0.2.5b2'—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@ericholscher @agjohnson Can we please take the steps to release 0.2.5! |
Details
Expected Result
the code snippets should appear without the extra bottom padding. Only happens when using the
literalinclude
directive. For example in the two big code snippets in http://aiocache.readthedocs.io/en/latest/configuration.html.Actual Result
Extra padding added coming I don't know from where:
The text was updated successfully, but these errors were encountered: