Introduction to Sphinx for Picasso v3.0 Documentation #122
ZPYin
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Download Sphinx
Start Anaconda command line by typing windows key and search anaconda. And enter the commands below inside Anaconda command line.
Some details of Sphinx installation can be found here.
Edit Sphinx documentation
The source code of Sphinx documentation is located under
./doc-auto/source, where all editable ReStructureText (.rst) files were stored. This is the place where you can edit the documentation.I recommend to read the .rst file syntax before your first try. Tutorial can be found here.
Build Sphinx documentation
After your editing, you can build the .rst files into HTML pages (or other file format) for beautiful layout.
While building the Sphinx documentation, you can see build report in the command line. You need to resolve all errors for successful build. After the build, you can find the HTML pages under the folder of
./docs. You can just open the HTLM pages for a quick look.Push changes to the GitHub repository
git add auto-doc docs git commit -m "commit message" git push origin masterRelated topics
Beta Was this translation helpful? Give feedback.
All reactions