Read the Docs: vanHeemstraSystems-REPOSITORY-NAME
Run the following command:
$ pip install sphinx sphinx_rtd_theme recommonmark
Next to create the docs run:
$ cd docs
$ make html
Your docs will be created inside docs/build
.
-
Make sure there is a
.readthedocs.yml
file at the root of your GitHub repository. -
Connect your GitHub repository to ReadTheDocs at https://readthedocs.org/
- Go to ReadTheDocs and create an account
- Click "Import a Project"
- Connect your GitHub account if you haven't already
- Select your repository from the list
- Configure your project settings
- Push your changes to GitHub
- ReadTheDocs will automatically build your documentation
- Visit your project page on ReadTheDocs to see the result
ReadTheDocs should automatically set up webhooks, but if not:
- Go to your repository settings on GitHub
- Go to Webhooks
- Add a webhook with the URL from your ReadTheDocs project settings
- Build fails: Check the build logs on ReadTheDocs
- Missing content: Ensure all files are included in your
toctree
- Formatting issues: Check that your Markdown/reStructuredText is valid
- Images not showing: Verify paths to images are correct
- Update your documentation files as needed
- Push changes to GitHub
- ReadTheDocs will automatically rebuild
- Use ReadTheDocs' versioning feature to maintain documentation for different releases
On ReadTheDocs, after logging in navigate to your GitHub repository entry (e.g., https://app.readthedocs.org/projects/YOUR-GITHUB-REPOSITOY-NAME/
) and from the dotted menu (...) choose Rebuild version.
- Images: Move images to
docs/source/_static/
and update references - Code blocks: Ensure proper syntax highlighting is specified
- Cross-references: Update to use Sphinx's reference system
- Metadata: Add appropriate metadata to each page for better SEO
- Broken links: Double-check all links after conversion
- Missing images: Ensure all image paths are updated
- Build failures: Check the ReadTheDocs build logs for errors
- Formatting differences: Some Markdown features might render differently in Sphinx
Visit https://vanHeemstraSystems-REPOSITORY-NAME.readthedocs.io/en/latest/