docusaurus/packages/docusaurus-plugin-content-docs/src
Joshua Chen 24156efcfb
feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203)
* Add prop

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Add `collapsible` option to sidebar item

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Add eslint-ignore

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Move new page

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Allow in autogenerated

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Fix tests

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Move config options to plugin-docs

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Make non-collapsible items always expanded

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* docs versioning cli should receive a single options object

* Update cli.test.ts

* revert validateCategoryMetadataFile change

* remove theme usage of themeConfig.sidebarCollapsible

* better handling of sidebar item category inconsistencies + add warning message

* Update snapshot

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Handle plugin option inconsistencies

* improve doc for new sidebarCollapsible doc options

* remove warning in fixSidebarItemInconsistencies as it will be annoyed for versioned sites, as "collapsed" is already persisted in sidebar json files

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-07-23 14:24:36 +02:00
..
__tests__ feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
client feat(v2): docs version banner configuration option (#5052) 2021-06-24 18:04:16 +02:00
markdown refactor(v2): cleanup console output (#4979) 2021-06-16 11:37:28 +02:00
theme/hooks fix(v2): fix useEffect infinite loop in blogOnly mode (#5097) 2021-06-30 12:50:06 +02:00
cli.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
constants.ts refactor(v2): docs plugin refactor (#3245) 2020-08-17 17:50:22 +02:00
docFrontMatter.ts fix(v2): allow negative sidebar positions (#5074) 2021-06-28 19:59:05 +02:00
docs.ts feat(v2): generalize usage of _ prefix convention to exclude content files/folders (#5173) 2021-07-15 13:21:41 +02:00
globalData.ts feat(v2): doc navbar item type (#3539) 2020-10-07 14:42:24 +03:00
index.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
lastUpdate.ts fix(v2): read last update from inner git repositories (#5048) 2021-06-24 15:05:22 +02:00
numberPrefix.ts feat(v2): docs, make numberPrefixParser configurable, better defaults, minor breaking-changes (#4655) 2021-04-21 12:06:06 +02:00
options.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
plugin-content-docs.d.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
props.ts feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273) 2021-07-09 16:50:38 +02:00
sidebarItemsGenerator.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
sidebars.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
slug.ts refactor(v2): cleanup console output (#4979) 2021-06-16 11:37:28 +02:00
translations.ts feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325) 2020-11-26 12:16:46 +01:00
types.ts feat: docs plugin options sidebarCollapsible + sidebarCollapsed (#5203) 2021-07-23 14:24:36 +02:00
versions.ts style(v2): reduce number of ESLint warnings (#4993) 2021-06-24 18:12:48 +02:00