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

Commit

Permalink
docs: opt-in to new version switcher
Browse files Browse the repository at this point in the history
- Bumps v2 docs TOC under a new parent, "v2".
- Adds `extra.current_version` config, with value `v2`.
- Adds `extra.versions` config
  • Loading branch information
weierophinney committed Apr 29, 2019
1 parent 3fc4522 commit 37bf68b
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
docs_dir: docs/book
site_dir: docs/html
extra:
current_version: v2
versions:
- v2
- v1
pages:
- Home: index.md
- Overview: v2/overview.md
- Installation: v2/install.md
- Usage: v2/usage.md
- Reference:
- Factories: v2/factories.md
- "Custom Responses": v2/custom-responses.md
- Serialization: v2/serialization.md
- API: v2/api.md
- Migration: v2/migration.md
- v2:
- Overview: v2/overview.md
- Installation: v2/install.md
- Usage: v2/usage.md
- Reference:
- Factories: v2/factories.md
- "Custom Responses": v2/custom-responses.md
- Serialization: v2/serialization.md
- API: v2/api.md
- Migration: v2/migration.md
- v1:
- Overview: v1/overview.md
- Installation: v1/install.md
Expand Down

0 comments on commit 37bf68b

Please sign in to comment.