-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathmkdocs.yml
More file actions
171 lines (162 loc) · 5.75 KB
/
Copy pathmkdocs.yml
File metadata and controls
171 lines (162 loc) · 5.75 KB
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
# MkDocs configuration for the Skywire documentation site.
#
# Source markdown lives in docs/ on the develop branch. The site is
# built by .github/workflows/docs.yml on every push to develop and
# deployed to the gh-pages branch, which GitHub Pages serves at
# https://skycoin.github.io/skywire/.
#
# External markdown trees (skywire-specs/, rewards/, cmd/apps/**/README.md,
# etc.) are NOT moved into docs/ — they're rsync'd into place at build
# time by the workflow and gitignored under docs/. This keeps each tree's
# canonical location intact while letting MkDocs render them as part of
# the unified site.
#
# Local preview: `make docs-serve` (which runs the rsync step + mkdocs
# serve). Open http://127.0.0.1:8000.
site_name: Skywire
site_description: Skywire — peer-to-peer encrypted networking
site_url: https://skycoin.github.io/skywire/
repo_url: https://github.com/skycoin/skywire
repo_name: skycoin/skywire
edit_uri: edit/develop/docs/
docs_dir: docs
theme:
name: material
features:
# Instant loading turns the site into a persistent shell: internal
# doc links are intercepted and the page content swapped via fetch +
# history.pushState (real URLs, working back/forward). This is what
# lets the desk shell (javascripts/desk-shell.js) keep its wasm
# terminal, visor, and nested browser alive while the reader
# navigates between pages. Direct hits on any URL still render that
# page standalone; without JS the site degrades to plain static
# pages.
- navigation.instant
- navigation.instant.progress
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.top
- navigation.tracking
- navigation.indexes
- search.suggest
- search.highlight
- search.share
- content.code.copy
- content.action.edit
- toc.follow
palette:
# Auto light/dark toggle via system preference, then manual override.
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
icon:
repo: fontawesome/brands/github
# Top-level nav. Sub-pages of each section are discovered automatically
# from the directory layout; we only define the section roots here.
# `awesome-pages` plugin lets directories opt into custom ordering via
# .pages files when needed (e.g. the cobra-generated tree under
# docs/skywire/ comes out alphabetical, which matches `--help` order).
nav:
- Home: index.md
# The Terminal nav item surfaces the desk layer in place (desk-shell.js
# intercepts the click); a direct hit on /playground/ redirects to the
# root, which IS the desk surface.
- Terminal: https://skycoin.github.io/skywire/playground/
- Guides: guides/README.md
- Command Reference: skywire/README.md
- Apps:
- Overview: apps-overview.md
- PTY:
- pty/README.md
- pty/skywire-pty.md
- pty/standalone-pty.md
- Skychat:
- skychat/README.md
- skychat/skychat-visor.md
- skychat/standalone-skychat.md
- SkyNet:
- skynet/README.md
- skynet/client.md
- SOCKS5 Proxy:
- skysocks/README.md
- skysocks/client.md
- VPN:
- vpn/README.md
- vpn/client.md
- vpn/router.md
- Packaging & Updates:
- packaging/README.md
- Auto-Update: packaging/auto-update.md
- AUR Packages: packaging/aur-packages.md
- Specs: specs/index.md
- Code Graph: graph/index.md
- Glossary: glossary.md
- Rewards: rewards/index.md
- Blog: https://blog.theskywirenetwork.net
plugins:
- search
- awesome-pages
# The desk shell: the SITE ROOT is the desk surface. The root page
# auto-opens the playground (the whole skywire binary compiled to wasm
# behind a websh terminal + nested browser) as a layer over the page,
# greeting the visitor with a terminal that has just run
# `skywire --help`; the index content renders underneath and one click
# minimizes the layer to read it. The iframe is created only at the
# root (or on a Terminal click) and survives doc navigation (see
# navigation.instant above) as a `>_ terminal` pill, so anything
# started in it keeps running while you read.
extra_javascript:
- javascripts/desk-shell.js
markdown_extensions:
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
permalink_title: Permalink
- pymdownx.details
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/skycoin/skywire
name: skycoin/skywire on GitHub
- icon: fontawesome/brands/telegram
link: https://t.me/skywire
name: Skywire on Telegram
- icon: fontawesome/solid/rss
link: https://blog.theskywirenetwork.net
name: Skycoin blog
# Strict mode catches broken links at build time. Disabled for now —
# the imported skywire-specs/ and rewards/ trees contain a handful of
# case-mismatched anchor links (e.g. `#Regional-Saturation-Scaling`
# vs the lowercased slug MkDocs emits). They render as dead anchors
# but don't block the rest of the site; flipping to strict belongs
# in a follow-up that sweeps those upstream files.
strict: false