Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(v2): docs plugin refactor #3245

Merged
merged 32 commits into from
Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2a5402c
safe refactorings
slorber Aug 8, 2020
01fa240
safe refactors
slorber Aug 8, 2020
d54dcd3
add code to read versions more generically
slorber Aug 8, 2020
97d18de
refactor docs plugin
slorber Aug 8, 2020
19d07fb
refactors
slorber Aug 8, 2020
30c533a
Merge branch 'master' into slorber/docs-plugin-refactor
slorber Aug 11, 2020
0186a27
stable docs refactor
slorber Aug 11, 2020
9896e24
progress on refactor
slorber Aug 11, 2020
03e59d8
stable docs refactor
slorber Aug 11, 2020
2db4083
stable docs refactor
slorber Aug 12, 2020
b5a27d2
stable docs refactor
slorber Aug 12, 2020
ba4dec6
attempt to fix admonition :(
slorber Aug 12, 2020
d0b1d77
configureWebpack docs: better typing
slorber Aug 12, 2020
d8a8fac
more refactors
slorber Aug 12, 2020
2a3a313
rename cli
slorber Aug 12, 2020
d53f108
refactor docs metadata processing => move to pure function
slorber Aug 12, 2020
bdcccae
stable docs refactor
slorber Aug 12, 2020
d4baa1b
stable docs refactor
slorber Aug 12, 2020
6341d6b
named exports
slorber Aug 12, 2020
e3d6484
basic sidebars refactor
slorber Aug 12, 2020
9f2513c
add getElementsAround utils
slorber Aug 12, 2020
78dfd7f
refactor sidebar + ordering/navigation logic
slorber Aug 12, 2020
9f607af
stable retrocompatible refactor
slorber Aug 12, 2020
be48c5f
add proper versions metadata tests
slorber Aug 13, 2020
de1830e
fix docs metadata tests
slorber Aug 13, 2020
d30b88f
fix docs tests
slorber Aug 14, 2020
62b90d9
fix test due to absolute path
slorber Aug 14, 2020
96eee71
fix webpack tests
slorber Aug 14, 2020
7f59b6e
Merge branch 'master' into slorber/docs-plugin-refactor
slorber Aug 17, 2020
8c0a606
refactor linkify + add broken markdown links warning
slorber Aug 17, 2020
0a48fd4
fix DOM warning due to forwarding legacy prop to div element
slorber Aug 17, 2020
a362c08
add todo
slorber Aug 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ module.exports = {
{functions: false, classes: false, variables: true},
],
'no-unused-vars': OFF,
'no-nested-ternary': WARNING,
'@typescript-eslint/no-unused-vars': [ERROR, {argsIgnorePattern: '^_'}],
'@typescript-eslint/ban-ts-comment': [
ERROR,
Expand Down
5 changes: 4 additions & 1 deletion packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.0.0-alpha.61",
"@types/hapi__joi": "^17.1.2",
"@types/picomatch": "^2.2.1",
"commander": "^5.0.0",
"picomatch": "^2.1.1"
},
Expand All @@ -37,7 +38,9 @@
"lodash.pickby": "^4.6.0",
"lodash.sortby": "^4.6.0",
"remark-admonitions": "^1.2.1",
"shelljs": "^0.8.4"
"shelljs": "^0.8.4",
"utility-types": "^3.10.0",
"webpack": "^4.41.2"
},
"peerDependencies": {
"react": "^16.8.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version-1.0.1/docs": {
"Test": ["version-withSlugs/rootAbsoluteSlug"]
}
}
Loading