Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: drop parallel in favor of sequential option #888

Merged
merged 9 commits into from
Dec 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(docs): clear and lint
wellwelwel committed Dec 11, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit b403a3f5607f6310b1ca8c1b787cc401bbd18b29
13 changes: 0 additions & 13 deletions website/deploy/access.ts

This file was deleted.

27 changes: 0 additions & 27 deletions website/deploy/mount-server.ts

This file was deleted.

34 changes: 0 additions & 34 deletions website/deploy/upload.ts

This file was deleted.

12 changes: 3 additions & 9 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import { navbarLocalePlugin } from './plugins/locale.js';
import { themes as prismThemes } from 'prism-react-renderer';

const config: Config = {
title: 'Poku',
@@ -40,7 +39,7 @@ const config: Config = {
versions: {
current: {
label: 'v3.x.x (Realease Candidate)',
badge: false
badge: false,
},
'2.x.x': {
label: 'v2.x.x',
@@ -82,11 +81,6 @@ const config: Config = {
type: 'docsVersionDropdown',
position: 'left',
},
// {
// to: '/docs/category/documentation',
// label: 'Docs',
// position: 'left',
// },
{
href: 'https://github.com/wellwelwel/poku',
position: 'right',
@@ -124,7 +118,7 @@ const config: Config = {
},
} satisfies Preset.ThemeConfig,

plugins: ['docusaurus-plugin-sass', navbarLocalePlugin],
plugins: ['docusaurus-plugin-sass'],
};

export default config;
137 changes: 0 additions & 137 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"clear": "docusaurus clear",
"serve": "docker compose up --build",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc",
@@ -19,8 +19,7 @@
"test:unit": "poku --parallel test/unit",
"test": "npm run typecheck && npm run lint && npm run test:unit && npm run clear && npm run build",
"update": "pu minor && npm i && (npm audit fix || true)",
"postupdate": "npm run lint:fix",
"deploy": "tsx deploy/upload.ts"
"postupdate": "npm run lint:fix"
},
"dependencies": {
"@docusaurus/core": "^3.6.3",
@@ -30,7 +29,6 @@
"@mdx-js/react": "^3.1.0",
"clsx": "^2.1.1",
"docusaurus-plugin-sass": "^0.2.6",
"dotenv": "^16.4.7",
"jsonc.min": "^1.1.0",
"lucide-react": "^0.468.0",
"prism-react-renderer": "^2.4.0",
@@ -57,7 +55,6 @@
"packages-update": "^2.0.0",
"poku": "^2.7.1",
"prettier": "^3.4.2",
"svps": "^2.3.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
16 changes: 0 additions & 16 deletions website/plugins/locale.ts

This file was deleted.

4 changes: 4 additions & 0 deletions website/src/css/custom.scss
Original file line number Diff line number Diff line change
@@ -231,6 +231,10 @@ html[data-theme='dark'] {
}
}

.theme-doc-version-badge.badge.badge--secondary {
margin-bottom: 20px;
}

// Components
@import './loading';
@import './faq';
4 changes: 1 addition & 3 deletions website/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
[
"2.x.x"
]
["2.x.x"]