-
Notifications
You must be signed in to change notification settings - Fork 320
Move most README content to index.rst #656
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
Conversation
.. rtd-inclusion-marker-do-not-remove | ||
|
||
Twine is `a utility`_ for `publishing`_ Python packages on `PyPI`_. | ||
Twine is a utility for `publishing`_ Python packages on `PyPI`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The utility
link went to PyPI, which seemed redundant with the badge above.
# HACK: Detect changes in README.rst; results in superfluous builds | ||
# Mitigated somewhat by ignoring dotfiles | ||
-z . -i '.*' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was only necessary when docs/index.rst
included README.rst
.
This looks good. Ideally the README is less overwhelming now and the docs serve their purpose better. |
Thanks, @sigmavirus24. In 172a828, I changed In f4a4cd6, I went a step further and shuffled some sections, prioritizing the command list above keyring, and pulling up "Configuration" in the outline. |
This all makes sense to me! Thanks again, @bhrutledge ! |
Note: I know this unexpected, and normally I would open an issue first, but the change was easy enough to just do, and I thought might facilitate discussion.
I thought of this while working on #644. By putting all of the source for the documentation in one location, it makes it easier to build and preview. More importantly (I think), it gives a canonical destination for users and contributors. I also like the simplicity of the README for rendering on GitHub and PyPI.
README preview: https://github.com/bhrutledge/twine/blob/move-readme/README.rst
Docs preview: https://twine-docs.bhrutledge.now.sh/
Prior art:
Additional changes:
doc8
lintingtox -e watch-docs