You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`pulp-docs` is a tool for serving and building an unified doc out of Pulp's Plugin Ecosystem.
6
+
7
+
The idea is that each repository should install `pulp-docs` and imediatelly be able run the unified website server.
8
+
Also, this should be used for the production build.
9
+
10
+
It was developed as part of [The new Pulp "Unified Docs"](https://hackmd.io/eE3kG8qhT9eohRYbtooNww?view) project.
11
+
12
+
## How it works
13
+
14
+
Through a `mkdocs-macro-plugin` hook (called in early stages of mkdocs processing), we inject the following steps:
15
+
16
+
1. Read [`repolist.yml`](https://github.com/pedro-psb/pulp-docs/blob/main/src/pulp_docs/data/repolist.yml) packaged with `pulp-docs` to know which repos/urls to use
17
+
1. Download and Place all source code required to dir under `tempfile.gettempdir()`
18
+
- Uses `../{repo}` if available OR
19
+
- Uses existing cached `{tmpdir}/{repo}` if available OR
20
+
- Downloads from github
21
+
1. Configure `mkdocs` through a hook: fix `mkdocstrings` config, generate navigation structure, etc
0 commit comments