-
Notifications
You must be signed in to change notification settings - Fork 0
Build the documentation
Carsten Fortmann-Grote edited this page Mar 27, 2024
·
5 revisions
$ cd docs
$ make htmlWill create the file docs/build/html/index.html and all static resources.
$ python -m http.server --directory build/htmlShould open the documentation website at http://localhost:8000, or http://127.0.0.1:8000 or http://YOUR.HOSTNAME:8000
To create a real website with a proper https://... URL, some additional works is due:
-
On the repo's main page, click

-
create new branch, name "gh-pages"
- In Settings -> Pages, settings should look like this:
- Setting -> Actions -> General should look like this:

On the repo website, click the gear icon next to the "About" in the top right corner:

Activate "Use your github pages website"

Now, when making a release (see Make a release), the documentation website will appear as a separate stand-alone website. To get to it, follow the link listed in the "About" section in the top right corner of your repo page.