|
1 | 1 | # How to publish your Python package documentation online
|
2 | 2 |
|
3 |
| -We suggest that you setup a hosting service for your Python package |
| 3 | +We suggest that you setup a hosting service for your Python package |
4 | 4 | documentation. Two free and commonly used ways to
|
5 |
| -quickly create a documentation website hosting environment are below. |
| 5 | +quickly create a documentation website hosting environment are below. |
6 | 6 |
|
7 |
| -1. You can host your documentation yourself using [GitHub Pages](https://pages.github.com/) or another online hosting service. |
| 7 | +1. You can host your documentation yourself using [GitHub Pages](https://pages.github.com/) or another online hosting service. |
8 | 8 | 1. You can host your documentation using [Read the Docs](https://readthedocs.org/).
|
9 | 9 |
|
10 | 10 | ## What is Read the Docs ?
|
11 |
| -[Read the Docs](https://readthedocs.org/) is a documentation hosting service that supports publishing your project's documentation. |
| 11 | +[Read the Docs](https://readthedocs.org/) is a documentation hosting service that supports publishing your project's documentation. |
12 | 12 |
|
13 |
| -Read the Docs is a fully featured, free, documentation hosting |
| 13 | +Read the Docs is a fully featured, free, documentation hosting |
14 | 14 | service. Some of its many features include:
|
15 | 15 |
|
16 | 16 | * Is free to host your documentation (but there are also paid tiers if you wish to customize hosting)
|
17 |
| -* Automates building your documentation |
| 17 | +* Automates building your documentation |
18 | 18 | * Allows you to turn on integration with pull requests where you can view documentation build progress (success vs failure).
|
19 |
| -* Supports versioning of your documentation which allows users to refer to older tagged versions of the docs if they are using older versions of your package. |
20 |
| -* Supports downloading of documentation in PDF and other formats. |
21 |
| -* You can customize the documentation build using a **.readthedocs.yaml** file in your GitHub repository. |
| 19 | +* Supports versioning of your documentation which allows users to refer to older tagged versions of the docs if they are using older versions of your package. |
| 20 | +* Supports downloading of documentation in PDF and other formats. |
| 21 | +* You can customize the documentation build using a **.readthedocs.yaml** file in your GitHub repository. |
22 | 22 |
|
23 | 23 |
|
24 | 24 | ## What is GitHub Pages?
|
25 |
| -[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages) is a free web |
26 |
| -hosting service offered by GitHub. Using GitHub pages, you can build your |
27 |
| -documentation locally or using a Continuous Integration setup, and then push |
28 |
| -to a branch in your GitHub repository that is setup to run the GitHub Pages |
29 |
| -web build. |
| 25 | +[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages) is a free web |
| 26 | +hosting service offered by GitHub. Using GitHub pages, you can build your |
| 27 | +documentation locally or using a Continuous Integration setup, and then push |
| 28 | +to a branch in your GitHub repository that is setup to run the GitHub Pages |
| 29 | +web build. |
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
| -## Read the Docs vs GitHub Pages |
| 33 | +## Read the Docs vs GitHub Pages |
34 | 34 |
|
35 |
| -GitHub pages is a great option for your documentation deployment. |
36 |
| -However, you will need to do a bit more work to build and deploy your |
37 |
| -documentation if you use GitHub pages. |
| 35 | +GitHub pages is a great option for your documentation deployment. |
| 36 | +However, you will need to do a bit more work to build and deploy your |
| 37 | +documentation if you use GitHub pages. |
38 | 38 |
|
39 |
| -Read the Docs can be setup in your Read the Docs user account. The service |
40 |
| -and automates the entire process of building and deploying your documentation. |
| 39 | +Read the Docs can be setup in your Read the Docs user account. The service |
| 40 | +and automates the entire process of building and deploying your documentation. |
41 | 41 |
|
42 |
| -If you don't want to maintain a documentation website for your Python package, |
| 42 | +If you don't want to maintain a documentation website for your Python package, |
43 | 43 | we suggest using the Read the Docs website.
|
44 |
| - |
0 commit comments