Skip to content

nxtlo/syn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

syn

A collection of pdoc themes ready for use.

Installation

TODO

Usage

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

Available styles

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)

Overview

1 2
3

Svelte WIP

If you'd like to see one of those themes in action, go to their directory.

Development

Currently the code isn't organized correctly, but i have a plan to make it simpler to develop new themes using just var(--color).

Testing

to test a theme, there's already a module with testing cases pre-defined in it. just use pdoc _project/core/ -t <theme>