Skip to content

Commit 32f5c5d

Browse files
author
Brijesh Bittu
committed
feat: revamped docs site
It is now in sync with the base-ui docs design.
1 parent 0cd6daa commit 32f5c5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+3019
-3069
lines changed

.eslintrc.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ module.exports = {
5757
// Airbnb use warn https://github.com/airbnb/javascript/blob/63098cbb6c05376dbefc9a91351f5727540c1ce1/packages/eslint-config-airbnb-base/rules/style.js#L97
5858
// but eslint recommands error
5959
'func-names': 'error',
60-
'no-restricted-imports': [
61-
'error',
62-
{
63-
patterns: ['@mui/*/*/*'],
64-
},
65-
],
6660
'no-continue': 'off',
6761
'no-constant-condition': 'error',
6862
// Use the proptype inheritance chain

apps/pigment-css-next-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"local-ui-lib": "workspace:^",
1616
"react": "^19.0.0",
1717
"react-dom": "^19.0.0",
18-
"next": "15.1.3"
18+
"next": "15.1.6"
1919
},
2020
"devDependencies": {
2121
"@pigment-css/nextjs-plugin": "workspace:^",
22-
"@types/node": "^18.19.63",
23-
"@types/react": "^19.0.2",
24-
"@types/react-dom": "^19.0.2",
22+
"@types/node": "^20",
23+
"@types/react": "^19.0.8",
24+
"@types/react-dom": "^19.0.3",
2525
"eslint": "^8.57.0",
2626
"typescript": "^5.4.4"
2727
},

docs/.env

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
REPO_ROOT=https://github.com/mui/pigment-css
2-
DEFAULT_BRANCH=master
3-
1+
SOURCE_CODE_REPO=https://github.com/mui/pigment-css
2+
SOURCE_GITHUB_BRANCH=master

docs/.eslintrc.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@
2828
npm-debug.log*
2929
yarn-debug.log*
3030
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
3135

3236
# vercel
3337
.vercel
3438

3539
# typescript
3640
*.tsbuildinfo
3741
next-env.d.ts
42+
export

docs/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/data/getting-started/overview/overview.mdx

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/data/pages.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

docs/eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
});
11+
12+
const eslintConfig = [
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
];
15+
16+
export default eslintConfig;

docs/globals.d.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)