Skip to content

add document generation to tox#568

Merged
pganssle merged 1 commit into
dateutil:masterfrom
gaborbernat:master
Dec 7, 2017
Merged

add document generation to tox#568
pganssle merged 1 commit into
dateutil:masterfrom
gaborbernat:master

Conversation

@gaborbernat

Copy link
Copy Markdown
Contributor

and trigger automatically at CI (also check links in documentation to avoid having dangling pointers to the internet)

… check links in documentation to avoid having dangling pointers to the internet)
from dateutil.tz import tzfile as _tzfile

__all__ = ["get_zonefile_instance", "gettz", "gettz_db_metadata", "rebuild"]
__all__ = ["get_zonefile_instance", "gettz", "gettz_db_metadata"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we can change the public interface like this...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hm, actually rebuild is a separate file. Yeah, I see how this works. This is fine.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the problem here is that this import does not work, the Sphinx could not load it, as no import is there. how is this rebuild suppose to exist?

@pganssle

pganssle commented Dec 7, 2017

Copy link
Copy Markdown
Member

This is awesome, thanks @gaborbernat. I'll merge once CI passes.

@gaborbernat gaborbernat mentioned this pull request Dec 7, 2017
@gaborbernat

gaborbernat commented Dec 7, 2017

Copy link
Copy Markdown
Contributor Author

tox -e docs will now build to .tox\docs_out the documentation (on any platform) 👍 with this we could probably try to deprecate the makefile and build.bat files in the doc folder.

@pganssle pganssle added this to the 2.7.0 milestone Dec 7, 2017
@pganssle pganssle merged commit fa11a15 into dateutil:master Dec 7, 2017
@pganssle pganssle mentioned this pull request Mar 11, 2018
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.

2 participants