Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

docs: exclude node_modules from typedoc (#636)

白熱60f8325f0dbc
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml
index 628773aed4..c9e9bd98e3 100644
--- a/.github/workflows/release-nightly.yml
+++ b/.github/workflows/release-nightly.yml
@@ -267,7 +267,7 @@ jobs:
- [📽️ Slide](${{ needs.build-demo.outputs.preview-url }}/slides/)
**[View Docs]**
- - [📚 Storybook](${{ needs.build-docs.outputs.preview-url }}/)
+ - [📚 Storybook](${{ needs.build-storybook.outputs.preview-url }}/)
🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉
Have a good dream! 🌙
diff --git a/apps/docs/docusaurus.config.ts b/apps/docs/docusaurus.config.ts
index 4c2f08b92f..8d6f441a80 100644
--- a/apps/docs/docusaurus.config.ts
+++ b/apps/docs/docusaurus.config.ts
@@ -59,6 +59,12 @@ const config: Config = {
id: `api/${name}`,
entryPoints: [`../../packages/${name}/src/index.ts`],
tsconfig: `../../packages/${name}/tsconfig.json`,
+ exclude: ['node_modules/**/*', "**/*+(.spec|.e2e|.test).ts"],
+ excludePrivate: true,
+ excludeExternals: true,
+ excludeInternal: true,
+ cleanOutputDir: true,
+ skipErrorChecking: true,
out: `api/${name}`,
sidebar: {
categoryLabel: name,
@@ -76,16 +82,15 @@ const config: Config = {
sidebarPath: './sidebars.ts',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
- editUrl:
- 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
- },
- blog: {
- showReadingTime: true,
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- editUrl:
- 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
+ editUrl: 'https://github.com/dream-num/univer/edit/dev/apps/docs/docs/',
},
+ // blog: {
+ // showReadingTime: true,
+ // // Please change this to your repo.
+ // // Remove this to remove the "edit this page" links.
+ // editUrl:
+ // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
+ // },
theme: {
customCss: './src/css/custom.css',
},
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 93774c4473..65c5d85eb8 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev:docusaurus": "docusaurus start --no-open",
- "build:docusaurus": "NODE_OPTIONS=--max-old-space-size=10240 docusaurus build",
+ "build:docusaurus": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",