Skip to content

Commit 38caca0

Browse files
committed
updated to newest awesome-ci
1 parent 2dec83e commit 38caca0

File tree

6 files changed

+231
-30
lines changed

6 files changed

+231
-30
lines changed

docs/01-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 1
2+
title: What to expect?
33
---
44

55
# What to expect?

docusaurus.config.js

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4+
const fs = require("node:fs");
45
const lightCodeTheme = require("prism-react-renderer/themes/vsLight");
56
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
67

@@ -26,7 +27,8 @@ const config = {
2627
/** @type {import('@docusaurus/preset-classic').Options} */
2728
({
2829
docs: {
29-
sidebarPath: require.resolve("./sidebars.js"),
30+
path: fs.realpathSync("docs"),
31+
sidebarPath: fs.realpathSync("./sidebars.js"),
3032
editUrl:
3133
"https://github.com/fullstack-devops/fullstack-devops.github.io/tree/main/",
3234
},
@@ -42,22 +44,7 @@ const config = {
4244
],
4345
],
4446

45-
plugins: [
46-
[
47-
"@docusaurus/plugin-content-docs",
48-
{
49-
id: "ng-mat-components",
50-
path: "modules/ng-mat-components/docs",
51-
routeBasePath: "ng-mat-components",
52-
sidebarPath: require.resolve(
53-
"./modules/ng-mat-components/docs/sidebars.js"
54-
),
55-
editUrl:
56-
"https://github.com/fullstack-devops/ng-mat-components/tree/main/",
57-
},
58-
],
59-
require.resolve("docusaurus-lunr-search"),
60-
],
47+
plugins: [require.resolve("docusaurus-lunr-search")],
6148

6249
themeConfig:
6350
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"docusaurus-lunr-search": "^2.3.2",
2424
"prism-react-renderer": "^1.3.5",
2525
"react": "^17.0.2",
26-
"react-dom": "^17.0.2"
26+
"react-dom": "^17.0.2",
27+
"static-site-generator-webpack-plugin": "^3.4.2"
2728
},
2829
"devDependencies": {
2930
"@docusaurus/module-type-aliases": "2.3.1",

static/img-awesome-ci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules/awesome-ci/docs/static/img-awesome-ci

0 commit comments

Comments
 (0)