Commit graph

14 commits

Author SHA1 Message Date
Alexey Pyltsyn
b7a2ad2904
feat(v2): pluralize posts on tag's page (#2263)
* feat(v2): pluralize posts on tag's page

* FIx ESlint error for  import/no-extraneous-dependencies rule

* Move pluralize method to theme scope

* Fix import
2020-02-07 00:55:28 +08:00
Alexey Pyltsyn
42061c6d83
fix(v2): show doc sidebar on pages with case-sensitive paths (#2235) 2020-01-23 19:07:31 +03:00
Alexey Pyltsyn
7e750de6fa refactor(v2): disable scroll when sidebar menu is open (#2189) 2020-01-08 23:06:07 +08:00
Alexey Pyltsyn
705b496397 fix(v2): allow external links in doc sidebar (#2186)
* fix(v2): allow external links in doc sidebar

* Fix for ESLint
2020-01-05 03:09:44 +08:00
Alexey Pyltsyn
24206de744 fix(v2): make sidebar logo positioning relative navbar (#2179) 2020-01-03 10:39:26 +08:00
Alexey Pyltsyn
ca30adc19d feat(v2): add logo and title in doc sidebar (#2161)
* feat(v2): add logo and title in doc sidebar

* fix: hide sidebar logo on small screens
2019-12-30 21:06:12 +08:00
Endi
6ff66567e5 fix(v2): fix docs sidebar highlighting if link is partially matched (#2061) 2019-11-27 09:18:33 -08:00
Endi
9862a6821a feat(v2): allow non sidebar category to be first item of sidebar (#2032)
* feat(v2): allow non sidebar category to be first item of sidebar

* better error messages

* edit the react component

* Update website/docs/sidebar.md

* nits

* add @babel/plugin-transform-runtime
2019-11-23 20:08:19 -08:00
Alexey Pyltsyn
5d3b889169 fix(v2): remove hashbang when click on category (#1999)
* fix(v2): remove hashbang when click on collapsed item

* Refactor: rename handler
2019-11-15 10:14:12 -08:00
Alexey Pyltsyn
60a4d1dd60 fix(v2): do not show categories with empty items (#1891) 2019-10-25 20:25:49 -07:00
Alexey Pyltsyn
ce6a725ff5 feat(v2): add ability expand all items in doc sidebar (#1876)
* feat(v2): add ability expand all items in doc sidebar

* Fix tests

* Refactor: use themeConfig

* Improve docs

* Revert unnecessary  changes

* Refactor: better consistency

* Revert extra change

* Refactor: use useDocusaurusContext to get config value
2019-10-24 21:36:46 +07:00
Yangshun Tay
54e9e025d8 misc(v2): remove legacy from docs 2019-10-10 19:45:50 -07:00
Yangshun Tay
e5e085b33d
chore(v2): make v2 docs plugin legacy (#1639)
* chore(v2): make v2 docs plugin legacy

* chore(v2): update fixtures
2019-07-05 17:20:46 -07:00
Endi
f0d5313d48
refactor(v2): move themes components from docs blog (#1571)
* refactor(v2): move themes from docs blog

* move mdxprovider to docs and blog only
2019-06-06 16:53:47 +07:00
Renamed from packages/docusaurus-plugin-content-docs/src/theme/DocSidebar/index.js (Browse further)