-
Notifications
You must be signed in to change notification settings - Fork 286
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
Rewrite docs using Sphinx #567
Comments
We have actually been moving in a direction away from a docs folder and instead putting everything in a comprehensive README in other projects, in Markdown. For example, see pinax-likes or pinax-referrals. One could argue that I would like to keep with a standard authoring language for docs in Pinax, however. That means sticking with Markdown. Are you opposed to writing in Markdown? |
Not opposed, just unskilled. Any suggestions as to how I may preview my doc changes locally, especially browsing between pages using the inter document links? |
@tysonclugg |
@paltman Sphinx and recommonmark could be added under a dev section in setup.py (extras_require) along with any other dev requirements, so no new dependencies would be introduced for normal installation. This would be a convenient place to add Would a PR that introduces Sphinx (with Markdown; ie: not converting docs to ReStructuredText) for the docs be welcomed? I see the primary benefit as being able to publish to Read the Docs and/or pythonhosted.org, as well as being able to build (and preview) the docs locally before submitting doc changes in any pull request. |
Hmm, I just discovered the thing I've been missing - MkDocs. It's what was used to generate the docs at https://pinax-stripe.readthedocs.io/en/latest/. Grepping the repo reveals no mention of mkdocs at all, and asking here didn't prompt any memories. Adding documentation on how to run tests and make a release to PyPi + RTD would help prevent further confusion like I've experienced. I'm happy enough to add either Spinx + recommonmark, or mkdocs to a |
@paltman @blueyed
I'm working on a PR for #523 which necessitates updating the docs. I haven't figuring out how to preview my doc changes, particularly given I need to link between different documents. I feel like I'm missing something.
Given the docs aren't very up to date, and not well publicised, I'm considering updating the docs to use ReStructuredText/Sphinx (which I'm very familiar with) instead of Markdown. I'd perform the conversion using pandoc, and give instructions on how to preview changes whilst editing the doc sources. The resulting docs could be uploaded to the Python Package Index (pythonhosted.org) as a part of the release process.
Would a pull request that changes the docs to use Sphinx/ReStructuredText be welcomed?
The text was updated successfully, but these errors were encountered: