Skip to content

Automatically generate the version number for docs#350

Merged
harlowja merged 2 commits intopython-zk:masterfrom
deejay1:fix_sphinx_versioning
Nov 13, 2015
Merged

Automatically generate the version number for docs#350
harlowja merged 2 commits intopython-zk:masterfrom
deejay1:fix_sphinx_versioning

Conversation

@deejay1
Copy link
Copy Markdown
Contributor

@deejay1 deejay1 commented Aug 5, 2015

Reuse the code from setup.py to generate the proper version
number for the Sphinx documentation.

Reuse the code from setup.py to generate the proper version
number for the Sphinx documentation.
Comment thread docs/conf.py Outdated
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.

I think in this code we can just do the following?

  >>> from kazoo import version
  ...

The kazoo code is going to be needed to link the docs to the actually classes anyway, so I think we should be fine just importing it here (at least this is how I've commonly seen it done in other projects).

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.

Good catch, fixed in next commit.

@deejay1 deejay1 force-pushed the fix_sphinx_versioning branch from 176890e to ef6718d Compare August 6, 2015 07:59
harlowja added a commit that referenced this pull request Nov 13, 2015
Automatically generate the version number for docs
@harlowja harlowja merged commit 4961c6c into python-zk:master Nov 13, 2015
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