Adding Sphinx Projects¶
Common Steps¶
Add a link inside
docs/index/index.mdto the new Sphinx project.
Inside docs.postmarketos.org.git¶
Add the project to the
Makefile. Search for an existing one, such aspolicies-and-processesand add the new project in the same way.Create a new directory in
docsand fill it withconf.pyandindex.mdfrom an existing project, then adjust these files.
From Another Git Repository¶
Add the new project to
Makefileandscripts/clone-other-repos.sh. Search forpmbootstrapin these files for reference.Create a
docsdirectory in the repository you want to add, and copyMakefile,conf.py, andindex.mdfrom pmbootstrap’s docs dir. Then adjust these files.Adjust CI to build the docs inside the repository when changes are made, and to trigger the docs.postmarketos.org pipeline when changes are merged. See pmbootstrap’s
gitlab-ci.ymland.ci/docs.shfor reference.