Commit graph

15 commits

Author SHA1 Message Date
Sébastien Lorber
0a33a52301
fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" ()
* homePageId => deprecated

* docs prettier
2020-08-06 18:31:50 +02:00
Teik Jun
11751c20b0
docs(v2): correct the documentation for doc-only mode () 2020-07-09 17:15:23 +02:00
slorber
ce10646606 document that docs/blog-only modes should delete the existing homepage 2020-06-23 18:29:19 +02:00
Alexey Pyltsyn
e68b81bc33
fix(v2): do not create route for document that serve as docs home page () 2020-06-03 15:56:57 +08:00
Sébastien Lorber
b8de9c6ded
feat(v2): introduce docs slug in front matter ()
* feat: docs pathname frontmatter (for )

* feat: docs pathname frontmatter (for )

* chore: comment typo

* feat: add slug frontmatter for docs

* test: add tests for versioned sites slugs

* docs: document slug feature

* test: fix tests and snapshots about doc slug feature

* docs(v2): doc slug wording

* Update website/docs/docs.md

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-06-02 20:50:30 +03:00
hackerman
7cba7f0d06
docs(v2): _index docs page does not show a sidebar ()
* docs: _index docs page does not show a sidebar

Closes 

* Update website/docs/docs.md

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-06-01 14:06:02 +03:00
Joe Previte
07b9e9cd62
feat(v2): expanded sidebar categories by default ()
* feat: update sidebar categ to  take collapsed prop

* feat: add extra sidebars collapsed test

* fix: only mutate item.collapsed if necessary

* feat: update docs for SidebarItemCategory

* fix: update snapshots

* fix: update json to match new sidebar schema

* fix: update last snapshot

* refactor: check if item should be expanded

* docs: update sidebar categories section

* refactor: use new collpased on docusaurus

* feat: only highlight category for active page

* fix: check for window

* refactor: use ExecutionEnviornment

* refactor: make isCategoryOfActivePage pure

* fix: rename docs to docs-introduction in sidebars

* Update docs.md

* misc: remove setting for every sidebar

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-05-28 13:17:19 +08:00
Alexey Pyltsyn
fc161b8455
docs(v2): various improvements () 2020-05-18 11:37:53 +08:00
Fanny
d145f03ea8
refactor(v2): change the label for docs introduction ()
* change the label for docs introduction

* change file id

* refactor(v2): change name
2020-05-17 19:29:57 +08:00
Alexey Pyltsyn
00a8e9e365
feat(v2): allow home page for docs ()
* feat(v2): allow home page for docs

* Refactor

* Remove debugging info 🤦‍♂️

* Add sort routes for first test case

* Sort child routes for consistency
2020-05-17 17:48:02 +08:00
Alexey Pyltsyn
df815db031 docs(v2): fix correct route base path for docs-only mode 2020-05-02 23:58:56 +03:00
Alexey Pyltsyn
510bec6532
Revert "feat(v2): add option to toggle sidebar category open by default ()" ()
This reverts commit 1863a3c805.
2020-04-22 18:50:18 +03:00
Joe Previte
1863a3c805
feat(v2): add option to toggle sidebar category open by default ()
* feat: update sidebar categ to  take collapsed prop

* feat: add extra sidebars collapsed test

* fix: only mutate item.collapsed if necessary

* feat: update docs for SidebarItemCategory

* fix: update snapshots

* fix: update json to match new sidebar schema

* fix: update last snapshot
2020-04-22 20:31:10 +08:00
Yangshun Tay
3dd83be988
docs(v2): proofread docs () 2020-04-04 14:05:59 +08:00
Yangshun Tay
8018a835e5
docs(v2): misc docs updates () 2020-04-02 12:29:39 +08:00
Renamed from website/docs/sidebar.md (Browse further)