Skip to content

Fix warnings when building sphinx docs. Resolves #179 #183

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

Merged
merged 1 commit into from
Jan 7, 2017

Conversation

asottile
Copy link
Member

@asottile asottile commented Jan 7, 2017

This took me longer than I care to admit to figure out :)

the warnings were point at unrelated lines. In order to figure out the actual lines you need to write the docstring to a file and run rst2html.py against that file (and then ignore the sphinx-specific directive error messages).

The raw string is to fix 2 \ns in a code block. I removed the comments around the css just for readability. The actual fix was removing an extraneous : a few lines up.

@asottile
Copy link
Member Author

asottile commented Jan 7, 2017

Ah! Fixing these warnings also makes this page look way better! https://hongminhee.org/libsass-python/sassutils/wsgi.html?highlight=wsgi#module-sassutils.wsgi

@coveralls
Copy link

coveralls commented Jan 7, 2017

Coverage Status

Coverage remained the same at 94.454% when pulling 04baae8 on fix_docs_warnings into f530e13 on master.

@asottile asottile merged commit 8bc1d1e into master Jan 7, 2017
@asottile asottile deleted the fix_docs_warnings branch January 7, 2017 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants