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
Fix Sphinx warnings (broken line blocks, short title underline, html_static_path) #44
Conversation
Avoid errors like: .../docs/index.rst:26: WARNING: Line block ends without a blank line. by dropping the line blocks [1] added in 323ec78 (Update documentation of each parameter, 2014-07-29). I don't think we want to manually wrap the line endings here, and even if we did the syntax was invalid (continuation lines need to begin with a space in place of the vertical bar [1]). Since I was touching that section of the docs, I also replaced the manually-escaped 'CORS\_' and similar with inline literals [2]. Besides allowing us to use the more-easily-grepped 'CORS_', it gives us nicer styling. [1]: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#line-blocks [2]: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-literals
Avoid: .../docs/index.rst:156: WARNING: Title underline too short. 323ec78 (Update documentation of each parameter, 2014-07-29) changed the title for this section from 'Options' to 'Full list of options', but failed to adjust the underline length appropriately.
Avoid: WARNING: html_static_path entry '.../docs/_static' does not exist because we have no static source in doc/_static.
Hi WKing, Thanks for your contribution! I am new to sphinx and any help is much Currently my workflow for docs is to use pandoc to convert the markdown
My dream is to have this process automated and seamless, so anything I Thanks for your help! On Wednesday, August 6, 2014, W. Trevor King notifications@github.com
Sent from my mobile, please excuse spelling and brevity |
On Wed, Aug 06, 2014 at 10:37:11PM -0700, Cory Dolphin wrote:
PyPI uses reStructuredText 1, so I generally just write ReST It's more awkward to get the README changes automatically included in |
@wking I like that approach for the most part, but I am so used to writing Markdown, and at this point, PyPi is the only place I am forced to use ReST. Soon I will restructure the README and add a better separation of concerns and information between README and the pythonhosted/readthedocs meatier documentation. Thanks! |
Fix Sphinx warnings (broken line blocks, short title underline, html_static_path)
On Wed, Aug 06, 2014 at 11:25:22PM -0700, Cory Dolphin wrote:
You need ReST for Sphinx too, and you need Sphinx for autofunction Anyhow, can you hazard a guess about when you'll cut a release |
See the commit messages for details. With this series, the only
outstanding Sphinx warnings are:
/.../docs/index.rst:4: WARNING: nonlocal image URI found: https://api.travis-ci.org/wcdolphin/flask-cors.png?branch=master
and nine other nonlocal image warnings.