A collection of pdoc themes ready for use.
TODO
To output the documentation use:
pdoc <module-or-dir> -t <theme-name> -d numpy -o <out-dir>
To run a local server with one of the themes use the same command without the -o
option.
A full usage example
pdoc asyncio -t onedark -o docs
Current available styles are the ones not marked with (WIP).
- Rust: a theme that's generated by
cargo doc
- Dracula: classic dracula's color scheme
- Github: github's one dark color scheme
- Svelte: a theme that's used in svelte's docs (WIP)
Svelte WIP |
If you'd like to see one of those themes in action, go to their directory.
Currently the code isn't organized correctly, but i have a plan to make it simpler
to develop new themes using just var(--color)
.
to test a theme, there's already a module with testing cases pre-defined in it. just use pdoc _project/core/ -t <theme>