-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpydocmd.yml
65 lines (59 loc) · 2.36 KB
/
pydocmd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
site_name: "PyGaSe API Reference"
# This tells pydocmd which pages to generate from which Python modules,
# functions and classes. At the first level is the page name, below that
# is a tree of Python member names (modules, classes, etc.) that should be
# documented. Higher indentation leads to smaller header size.
generate:
- api/main.md:
- pygase:
- pygase.GameState+
- pygase.Backend+
- pygase.GameStateStore+ # (+ to include members)
- pygase.GameStateMachine+
- pygase.Server+
- pygase.Client+
- pygase.get_available_ip_addresses
- api/client.md: pygase.client++
- api/backend.md: pygase.backend++
- api/gamestate.md: pygase.gamestate++
- api/connection.md: pygase.connection++
- api/event.md: pygase.event++
- api/utils.md: pygase.utils++ # (++ to include members, and their members)
# MkDocs pages configuration. The `<<` operator is sugar added by pydocmd
# that allows you to use an external Markdown file (eg. your project's README)
# in the documentation. The path must be relative to current working directory.
pages:
- Getting Started: getting-started.md << ./getting-started.md
- API: api/main.md
- Low Level API:
- pygase.client: api/client.md
- pygase.backend: api/backend.md
- pygase.gamestate: api/gamestate.md
- pygase.connection: api/connection.md
- pygase.event: api/event.md
- pygase.utils: api/utils.md
# These options all show off their default values. You don't have to add
# them to your configuration if you're fine with the default.
docs_dir: sources
gens_dir: doc_build # This will end up as the MkDocs 'docs_dir'
site_dir: docs
theme: material
loader: pydocmd.loader.PythonLoader
preprocessor: pydocmd.preprocessor.Preprocessor
repo_url: https://github.com/sbischoff-ai/pygase
# Whether to output headers as markdown or HTML. Used to workaround
# https://github.com/NiklasRosenstein/pydoc-markdown/issues/11. The default is
# to generate HTML with unique and meaningful id tags, which can't be done with
# markdown.
#
# Note: if using the simple generator mode, this will default to 'markdown'
# instead of 'html'.
headers: markdown
# Additional search path for your Python module. If you use Pydocmd from a
# subdirectory of your project (eg. docs/), you may want to add the parent
# directory here.
additional_search_paths:
- ./pygase
# Extennsion for code highliting
markdown_extensions:
- codehilite