Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 3be3d48

Browse files
author
Craigory Coppola
committed
feat(nxdoc): support for docusaurus@2.0.0-beta.1
1 parent b4e57af commit 3be3d48

7 files changed

Lines changed: 641 additions & 340 deletions

File tree

docs/core/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: '@nx-dotnet/core'
33
sidebar_position: 0
4+
sidebar_label: 'Getting Started'
45
slug: /core/
56
---
67

docs/nx-ghpages/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: '@nx-dotnet/nx-ghpages'
33
sidebar_position: 0
4+
sidebar_label: 'Getting Started'
45
slug: /nx-ghpages/
56
---
67

docs/nxdoc/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: '@nx-dotnet/nxdoc'
33
sidebar_position: 0
4+
sidebar_label: 'Getting Started'
45
slug: /nxdoc/
56
---
67

docs/typescript/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: '@nx-dotnet/typescript'
33
sidebar_position: 0
4+
sidebar_label: 'Getting Started'
45
slug: /typescript/
56
---
67

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,17 @@
3535
},
3636
"private": false,
3737
"dependencies": {
38-
"@docusaurus/core": "^2.0.0-alpha.70",
39-
"@docusaurus/preset-classic": "^2.0.0-alpha.70",
38+
"@algolia/client-search": "^4.5.1",
39+
"@docusaurus/core": "^2.0.0-beta.1",
40+
"@docusaurus/preset-classic": "^2.0.0-beta.1",
41+
"@docusaurus/theme-search-algolia": "^2.0.0-beta.1",
4042
"@mdx-js/react": "^1.6.21",
4143
"@types/xmldoc": "^1.1.5",
4244
"chokidar": "^3.5.1",
4345
"clsx": "^1.1.1",
4446
"glob": "^7.1.6",
4547
"inquirer": "^8.0.0",
48+
"prism-react-renderer": "^1.2.1",
4649
"react": "^16.8.4",
4750
"react-dom": "^16.8.4",
4851
"rimraf": "^3.0.2",
@@ -64,7 +67,7 @@
6467
"@nrwl/tao": "12.3.4",
6568
"@nrwl/workspace": "12.3.4",
6669
"@nx-dotnet/nxdoc": "latest",
67-
"@nx-plus/docusaurus": "^11.0.1",
70+
"@nx-plus/docusaurus": "^12.0.0",
6871
"@semantic-release/changelog": "^5.0.1",
6972
"@semantic-release/commit-analyzer": "^8.0.1",
7073
"@semantic-release/exec": "^5.0.0",
@@ -75,6 +78,7 @@
7578
"@types/is-ci": "^3.0.0",
7679
"@types/jest": "26.0.8",
7780
"@types/node": "14.14.33",
81+
"@types/react": "17",
7882
"@types/rimraf": "^3.0.0",
7983
"@types/tmp": "^0.2.0",
8084
"@typescript-eslint/eslint-plugin": "4.19.0",

packages/nxdoc/src/generators/generate-docs/templates/index/__projectFileName__/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<% if(frontMatter) {%>---
22
<% if(frontMatter.title) { %>title: "<%= frontMatter.title %>"<%}%>
33
sidebar_position: 0
4+
sidebar_label: "Getting Started"
45
slug: /<%=projectFileName%>/
56
<%}%>---
67

0 commit comments

Comments
 (0)