Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 37bf68b

Browse files
committed
docs: opt-in to new version switcher
- Bumps v2 docs TOC under a new parent, "v2". - Adds `extra.current_version` config, with value `v2`. - Adds `extra.versions` config
1 parent 3fc4522 commit 37bf68b

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

mkdocs.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
docs_dir: docs/book
22
site_dir: docs/html
3+
extra:
4+
current_version: v2
5+
versions:
6+
- v2
7+
- v1
38
pages:
49
- Home: index.md
5-
- Overview: v2/overview.md
6-
- Installation: v2/install.md
7-
- Usage: v2/usage.md
8-
- Reference:
9-
- Factories: v2/factories.md
10-
- "Custom Responses": v2/custom-responses.md
11-
- Serialization: v2/serialization.md
12-
- API: v2/api.md
13-
- Migration: v2/migration.md
10+
- v2:
11+
- Overview: v2/overview.md
12+
- Installation: v2/install.md
13+
- Usage: v2/usage.md
14+
- Reference:
15+
- Factories: v2/factories.md
16+
- "Custom Responses": v2/custom-responses.md
17+
- Serialization: v2/serialization.md
18+
- API: v2/api.md
19+
- Migration: v2/migration.md
1420
- v1:
1521
- Overview: v1/overview.md
1622
- Installation: v1/install.md

0 commit comments

Comments
 (0)