Skip to content

Astroquery doc fixes#269

Merged
keflavich merged 8 commits into
astropy:masterfrom
eteq:astroquery-doc-tweaks
Jan 5, 2014
Merged

Astroquery doc fixes#269
keflavich merged 8 commits into
astropy:masterfrom
eteq:astroquery-doc-tweaks

Conversation

@eteq

@eteq eteq commented Jan 5, 2014

Copy link
Copy Markdown
Member

This PR contains a variety of fixes that get rid of the 11 current warnings astroquery throws when you build the docs.

@keflavich - now that the docs are passing, perhaps there should be a test added that runs the sphinx docs and fails if warnings are issued (like in the main Astropy repo)? That will keep minor errors like those fixed here from creeping in.

eteq added 8 commits January 5, 2014 00:28
The actual problem is that there was no whitespace, although I've moved
it to the end for clarity
Automodapi's headings have to be consistent with the rest of the page,
so either use the =-^ sequence it uses, or use the ":headings:"
directive of automodapi.  I did the former because it makes things
more consistent with astropy.
astropy.sphinx.conf in the astropy core package adds a n astropy_
link, so having *another* one here was triggering a warning
@eteq

eteq commented Jan 5, 2014

Copy link
Copy Markdown
Member Author

@keflavich @cdeil @mirochaj (these are the main people who edited the files I adjusted here) - if you like, you might want to glance over these changes. They are mostly fiddly little sphinx quirks that aren't at all obvious, so that way you'll know to avoid these sort of things in the future.

Comment thread docs/api.rst

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a change here? It's probably not important, but I'd like to understand.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing terribly important - my editor automatically removes trailing
whitespace from the end of lines, and that's what's happening here.

In docs/api.rst:

     for obj,r in zip(['m31','m51','m17'],['1"','1"','1"'])]

-.. TODO::

+.. TODO::
+

Is there a change here? It's probably not important, but I'd like to
understand.


Reply to this email directly or view it on GitHubhttps://github.com//pull/269/files#r8656369
.

@keflavich

Copy link
Copy Markdown
Contributor

@eteq: Yes, I had avoided including the sphinx-doc warnings in the tests because I never got them to green; each subtle warning takes quite a lot of time for me to pin down.

keflavich added a commit that referenced this pull request Jan 5, 2014
@keflavich keflavich merged commit 139274c into astropy:master Jan 5, 2014
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