generated from microsoft/python-package-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmkdocs.yml
201 lines (188 loc) · 6.52 KB
/
mkdocs.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# Project information
site_name: pathpyG
site_url: https://www.pathpy.net/
site_author: pathpy developers
site_description: >-
An Open Source package facilitating next-generation network analytics and graph learning for time series data on graphs.
# Repository
# TODO: Check the number of stars and forks once repo is public
# Currently displays wrong numbes
repo_name: pathpy/pathpyG
repo_url: https://github.com/pathpy/pathpyG
edit_uri: edit/main/docs/
nav:
- Home: index.md
- Getting Started:
- getting_started.md
- Docker Installation: docker_installation.md
- Tutorial:
- tutorial.md
- Basic Concepts: tutorial/basic_concepts.ipynb
- Temporal Graphs: tutorial/temporal_graphs.ipynb
- Interactive Graph Visualisation: tutorial/visualisation.ipynb
- Graph Learning in Netzschleuder Data: tutorial/netzschleuder.ipynb
- Path Data and Higher-Order Models: tutorial/paths_higher_order.ipynb
- Higher-Order Models for Time-Respecting Paths: tutorial/trp_higher_order.ipynb
- Causality-Aware GNNs: tutorial/dbgnn.ipynb
- Generative Models for Random Graphs: tutorial/generative_models.ipynb
- Develop your own plot Functions: plot_tutorial.md
- Code Reference: reference/ # The rest is done automatically by literate-nav
- Contributing:
- contributing.md
- About: about.md
# Copyright
# TODO: Is this still up to date?
# copyright: Copyright © 2016-2024 Pathpy Developers
# Plugins
plugins:
- search
- autorefs
- gen-files:
scripts:
- docs/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
handlers:
python:
# load_external_modules: true # TODO: This could be a way to add the networkx docs
options:
annotations_path: full
show_bases: True
show_signature: False
- mkdocs-jupyter:
ignore_h1_titles: True
ignore: ["tutorial/new_paths.ipynb", "tutorial/xx_test.ipynb"]
execute: False # TODO: Set to True once all notebooks are executable
allow_errors: False
include_source: True
- git-revision-date-localized
- mike: # Versioning
alias_type: redirect
- markdown-exec # Execute code blocks to show the output; Also for rendering of directory trees
extra:
version:
default: dev
provider: mike
extra_css:
- overrides/assets/stylesheets/home.css
- overrides/assets/stylesheets/code_select.css
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
extra_javascript:
- overrides/assets/scripts/home.js
- overrides/assets/scripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- overrides/assets/scripts/katex.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
# Theme
theme:
name: material
logo: img/pathpy_logo.png
favicon: img/favicon.ico
custom_dir: docs/overrides
icon:
repo: fontawesome/brands/github
features:
- announce.dismiss
# Render top level sections as headers in the navigation bar
- navigation.tabs
# Speed up loading times
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
# Update the URL when scrolling through the page
- navigation.tracking
# Back to top button
- navigation.top
# Add breadcrumbs to the navigation bar
- navigation.path
# Integrate table of contents in left navigation bar
# - toc.integrate
# Search functionality
- search.suggest
- search.highlight
# Add button to show Github edit link
- content.action.view
- content.action.edit
# Code copy button
- content.code.copy
- content.code.annotate
# Tooltips
- content.tooltips
# Scroll toc sidebar with the page
- toc.follow
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
primary: blue grey
accent: cyan
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
primary: blue grey
accent: cyan
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
primary: blue grey
accent: cyan
# Enable cool markdown features
# See https://squidfunk.github.io/mkdocs-material/reference/
markdown_extensions:
- abbr
- admonition # blocks like !!! note
- attr_list
- def_list
- footnotes
- md_in_html
- toc: # Add a link that leads to each section
permalink: true
- pymdownx.arithmatex: # Math with $...$ and $$...$$
generic: true
- pymdownx.betterem: # Improves emphasis for **bold** and *italic*
smart_enable: all
- pymdownx.caret # Superscript with ^this^
- pymdownx.details # Collapsible admonitions with ???
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
options:
custom_icons:
- docs/overrides/assets/icons
- pymdownx.highlight: # Code highlighting with that starts with ```python
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite # Code highlighting in text with `:::python print("Hello World")`
- pymdownx.keys # Add keys by sorround them with ++key++
- pymdownx.mark # Highlight text with ==highlight==
- pymdownx.smartsymbols # Symbols like (c) and (r) (see https://facelessuser.github.io/pymdown-extensions/extensions/smartsymbols/)
- pymdownx.snippets: # Include files with --8<-- "filename:1:20" from line 1 to 20
auto_append:
- includes/mkdocs.md
- pymdownx.superfences: # Nested fences or with a title ```{.python title="Title"}
custom_fences:
- name: mermaid # Mermaid diagrams with ```mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed: # Tabs with === "Tab 1"
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde # Strikethrough with ~~this~~