Skip to content

Conversation

@adrn
Copy link
Member

@adrn adrn commented Jul 5, 2016

This adds a new section to setup.cfg for build_docs so that

python setup.py build_sphinx

and

python setup.py build_docs

build to the same location: <root>/docs/_build/.... Testing locally, this seems to be all it took. Not sure if this should be tested in some way -- thoughts?

Also, I'm not sold that we need two documentation build commands that do the same exact thing, but that can be discussed elsewhere...(I guess I should take it up with robo-Erik?)

Closes #4133

cc @eteq @astrofrog

@eteq
Copy link
Member

eteq commented Jul 5, 2016

👍 on this from me. Although, this probably has to be replicated in the package-template, right @astrofrog?

Longer-term, I agree it's not great to have two commands, and I'd be OK with deprecating build_sphinx... But I suspect there's some scripts in the CI or other places that assume it exists... perhaps the path forward is to switch the "real" command to build_docs (instead of build_docs being an alias for build_sphinx), and then have build_sphinx issue some kind of deprecation warning?

@adrn
Copy link
Member Author

adrn commented Jul 5, 2016

@eteq that seems like a fine idea -- I'll make an issue.

@pllim pllim added Docs zzz 💤 astropy-helpers archived: PRs and issues related to astropy-helpers build Bug labels Jul 6, 2016
@adrn
Copy link
Member Author

adrn commented Jul 6, 2016

@pllim I don't think this particular PR is an astropy-helpers issue, but I think #5157 is

@pllim pllim removed the zzz 💤 astropy-helpers archived: PRs and issues related to astropy-helpers label Jul 6, 2016
@pllim
Copy link
Member

pllim commented Jul 6, 2016

@adrn , okay, I fixed the tags. Thanks!

@eteq
Copy link
Member

eteq commented Jul 6, 2016

This looks good and is pretty straightforward, so I'll merge this now. But @adrn or @astrofrog, can you make a PR to do this in the package-template too?

@eteq eteq merged commit 326b7d5 into astropy:master Jul 6, 2016
@astrobot
Copy link

astrobot commented Jul 6, 2016

@eteq - thanks for merging this! However, I noticed the following issues with this pull request:

  • The milestone has not been set
  • Changelog entry not present (or pull request number missing) and neither the Affects-dev nor the no-changelog-entry-needed label are set

Would it be possible to fix these? Thanks!

This is an experimental bot being written by @astrofrog - let me know if the message above is incorrect!

@pllim
Copy link
Member

pllim commented Jul 7, 2016

I added some tags and a milestone to make the bot happy. Feel free to re-tag if wrong.

eteq added a commit that referenced this pull request Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants