From da0a29b8b35ed81804cf877d0e9b0127cf579ac1 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 3 Mar 2021 21:20:20 +0100 Subject: [PATCH] Fix docusaurus setup --- README.md | 2 +- docs/docusaurus.config.js | 6 +++--- docs/package.json | 3 +-- docs/typedoc-sidebar.js | 1 + docs/yarn.lock | 5 ----- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fccbceb..89686fb 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

📸 The Camera library that sees the vision.


- +
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index f6ceada..cef8b7c 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -101,9 +101,9 @@ module.exports = { readme: "none", sidebar: { sidebarFile: 'typedoc-sidebar.js', - fullNames: true, - readmeLabel: 'Overview' - }, + fullNames: false, + indexLabel: 'Overview' + } }, ], ], diff --git a/docs/package.json b/docs/package.json index cb2b24f..7204162 100644 --- a/docs/package.json +++ b/docs/package.json @@ -34,7 +34,6 @@ "devDependencies": { "docusaurus-plugin-typedoc": "^0.10.0", "typedoc": "^0.20.28", - "typedoc-plugin-markdown": "^3.6.0", - "typescript": "^4.1.5" + "typedoc-plugin-markdown": "^3.6.0" } } diff --git a/docs/typedoc-sidebar.js b/docs/typedoc-sidebar.js index 5c1dd40..b58e3ed 100644 --- a/docs/typedoc-sidebar.js +++ b/docs/typedoc-sidebar.js @@ -1,5 +1,6 @@ module.exports = [ "api/index", + "api/modules", { "type": "category", "label": "Modules", diff --git a/docs/yarn.lock b/docs/yarn.lock index 38f72ab..e857b99 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -9760,11 +9760,6 @@ typedoc@^0.20.28: shiki "^0.9.2" typedoc-default-themes "^0.12.7" -typescript@^4.1.5: - version "4.1.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72" - integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA== - ua-parser-js@^0.7.18: version "0.7.24" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.24.tgz#8d3ecea46ed4f1f1d63ec25f17d8568105dc027c"