4 Commits

6 changed files with 8068 additions and 22508 deletions

View File

@@ -15,12 +15,12 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
cache: npm cache: yarn
- name: Install dependencies - name: Install dependencies
run: npm ci run: yarn install --immutable
- name: Build website - name: Build website
run: npm run build run: yarn build
# Popular action to deploy to GitHub Pages: # Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus

View File

@@ -26,7 +26,7 @@ const config = {
// to replace "en" with "zh-Hans". // to replace "en" with "zh-Hans".
i18n: { i18n: {
defaultLocale: 'en', defaultLocale: 'en',
locales: ['en', 'fr', 'tr'], locales: ['en']
}, },
presets: [ presets: [
[ [
@@ -175,7 +175,7 @@ const config = {
darkTheme: darkCodeTheme, darkTheme: darkCodeTheme,
}, },
}), }),
plugins : [ plugins: [
[ [
'docusaurus-plugin-typedoc', 'docusaurus-plugin-typedoc',
{ {
@@ -183,6 +183,18 @@ const config = {
entryPoints: ['../sernHandlerV2/src/index.ts'], entryPoints: ['../sernHandlerV2/src/index.ts'],
tsconfig: '../sernHandlerV2/tsconfig.json', tsconfig: '../sernHandlerV2/tsconfig.json',
}, },
],
[
"@dipakparmar/docusaurus-plugin-umami",
{
websiteID: "e82ff65c-b08f-47b5-8e74-5c31cbcec0ad",
analyticsDomain: "analytics.srizan.dev",
scriptName: 'ua.js',
dataAutoTrack: true,
dataDoNotTrack: true,
dataCache: true,
dataDomains: "sern.dev",
},
] ]
] ]
}; };

View File

@@ -28,7 +28,7 @@ const config = {
// to replace "en" with "zh-Hans". // to replace "en" with "zh-Hans".
i18n: { i18n: {
defaultLocale: 'en', defaultLocale: 'en',
locales: ['en', 'fr', 'tr'], locales: ['en']
}, },
presets: [ presets: [
[ [
@@ -177,16 +177,28 @@ const config = {
darkTheme: darkCodeTheme, darkTheme: darkCodeTheme,
}, },
}), }),
// plugins : [ plugins: [
// [ /* [
// 'docusaurus-plugin-typedoc', 'docusaurus-plugin-typedoc',
// { {
// //if you're editing website, please change this to your local branch of sern to generate documentation //if you're editing website, please change this to your local branch of sern to generate documentation
// entryPoints: ['../sernHandlerV2/src/index.ts'], entryPoints: ['../sernHandlerV2/src/index.ts'],
// tsconfig: '../sernHandlerV2/tsconfig.json', tsconfig: '../sernHandlerV2/tsconfig.json',
// }, },
// ] ], */
// ] [
"@dipakparmar/docusaurus-plugin-umami",
{
websiteID: "e82ff65c-b08f-47b5-8e74-5c31cbcec0ad",
analyticsDomain: "analytics.srizan.dev",
scriptName: 'ua.js',
dataAutoTrack: true,
dataDoNotTrack: true,
dataCache: true,
dataDomains: "sern.dev",
},
]
]
}; };
module.exports = config; module.exports = config;

22482
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,7 @@
"typedoc-json": "typedoc --json ../sern-community/docs.json --pretty --entryPoints ../sernHandlerV2/src/index.ts --tsconfig ../sernHandlerV2/tsconfig.json --excludeExternals" "typedoc-json": "typedoc --json ../sern-community/docs.json --pretty --entryPoints ../sernHandlerV2/src/index.ts --tsconfig ../sernHandlerV2/tsconfig.json --excludeExternals"
}, },
"dependencies": { "dependencies": {
"@dipakparmar/docusaurus-plugin-umami": "^2.1.1",
"@docusaurus/core": "^2.4.0", "@docusaurus/core": "^2.4.0",
"@docusaurus/plugin-content-pages": "^2.4.0", "@docusaurus/plugin-content-pages": "^2.4.0",
"@docusaurus/preset-classic": "^2.4.0", "@docusaurus/preset-classic": "^2.4.0",
@@ -32,7 +33,8 @@
"@docusaurus/module-type-aliases": "2.0.0-rc.1", "@docusaurus/module-type-aliases": "2.0.0-rc.1",
"docusaurus-plugin-typedoc": "latest", "docusaurus-plugin-typedoc": "latest",
"typedoc": "latest", "typedoc": "latest",
"typedoc-plugin-markdown": "latest" "typedoc-plugin-markdown": "latest",
"typescript": "latest"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [

8016
yarn.lock Normal file

File diff suppressed because it is too large Load Diff