Joshua Chen
|
3a4b9b4c30
|
refactor: install eslint-plugin-regexp (#6906)
* refactor: install eslint-plugin-regexp
* simplify
* simplify
* fix
|
2022-03-13 18:32:17 +08:00 |
|
Joshua Chen
|
aa5a2d4c04
|
test: enable a few jest eslint rules (#6900)
* test: enable a few jest eslint rules
* more
|
2022-03-12 08:43:09 +08:00 |
|
Joshua Chen
|
c9ee6e467c
|
refactor: import jest as global; unify import style of some modules (#6898)
* refactor: import jest as global
* fix react
|
2022-03-11 19:04:27 +08:00 |
|
Joshua Chen
|
23a34c1a07
|
refactor: prefer fs.outputFile to ensureDir + writeFile (#6880)
* refactor: prefer fs.outputFile to ensureDir + writeFile
* fix test
* fix
|
2022-03-09 17:50:33 +08:00 |
|
Joshua Chen
|
f903422617
|
refactor: unify error handling behavior (#6755)
* refactor: unify error handling behavior
* revert
* normalize paths
* test...
* change
* does this work...
* fix...
* maybe fix
* maybe fix
* fix
* fix...
|
2022-02-25 15:07:13 +08:00 |
|
Joshua Chen
|
c6d0d812eb
|
refactor: convert all fs methods to async (#6725)
* refactor: convert all fs methods to async
* fix snap
|
2022-02-20 10:21:33 +08:00 |
|
Joshua Chen
|
c56e6194b4
|
refactor: mark all functions that import external modules as async (#6521)
|
2022-01-31 13:04:45 +08:00 |
|
Joshua Chen
|
cf265c051e
|
refactor: move exported type definitions to declaration file (#6300)
* refactor: move exported type definitions to declaration file
* fix
* fix
|
2022-01-09 22:02:31 +08:00 |
|
Joshua Chen
|
cb1aa30286
|
refactor: enforce type import specifiers (#6230)
* refactor: enforce type import specifiers
* fix
* Upgrade esbuild
* Fix (haha)
|
2021-12-31 21:17:09 +08:00 |
|
Joshua Chen
|
770418f8d2
|
refactor: unify log format with new logger utility (#5994)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
|
2021-12-20 17:24:59 +01:00 |
|
Joshua Chen
|
e07ebadf6c
|
fix: make Docusaurus PnP strict mode compatible (#6047)
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
|
2021-12-08 14:26:24 +01:00 |
|
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 |
|
Alexey Pyltsyn
|
41d9288e3d
|
refactor(v2): cleanup console output (#4979)
* refactor(v2): cleanup console output
* fix jest issue
Co-authored-by: slorber <lorber.sebastien@gmail.com>
|
2021-06-16 11:37:28 +02:00 |
|
Sébastien Lorber
|
a4c8a7f55b
|
refactor(v2): docs plugin refactor (#3245)
* safe refactorings
* safe refactors
* add code to read versions more generically
* refactor docs plugin
* refactors
* stable docs refactor
* progress on refactor
* stable docs refactor
* stable docs refactor
* stable docs refactor
* attempt to fix admonition :(
* configureWebpack docs: better typing
* more refactors
* rename cli
* refactor docs metadata processing => move to pure function
* stable docs refactor
* stable docs refactor
* named exports
* basic sidebars refactor
* add getElementsAround utils
* refactor sidebar + ordering/navigation logic
* stable retrocompatible refactor
* add proper versions metadata tests
* fix docs metadata tests
* fix docs tests
* fix test due to absolute path
* fix webpack tests
* refactor linkify + add broken markdown links warning
* fix DOM warning due to forwarding legacy prop to div element
* add todo
|
2020-08-17 17:50:22 +02:00 |
|