Skip to content

Commit

Permalink
Update website theme to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Oct 15, 2024
1 parent 3dc29d3 commit cf4d228
Show file tree
Hide file tree
Showing 8 changed files with 6,605 additions and 1,907 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Suibase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- New built-in sui explorer (do "localnet status" to see URL). Code from https://github.com/kkomelin/sui-explorer
- New VSCode extension https://marketplace.visualstudio.com/items?itemName=suibase.suibase
- (#113) Reduce localnet storage (less checkpoints per secs)
- (#101) Eliminate rust dependencies (suibase-daemon precompiled for most platforms)

### Fixed
- (#112) fix for keytool generate command (.key were created in unexpected location)
Expand Down
26 changes: 13 additions & 13 deletions docs/ci/package.json.ci
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
"license": "Apache License 2.0",
"type": "module",
"scripts": {
"start": "vuepress dev src",
"docs:build": "vuepress build src",
"docs:clean-dev": "vuepress dev src --clean-cache",
"docs:dev": "vuepress dev src",
"start": "vuepress-vite dev src",
"docs:build": "vuepress-vite build src",
"docs:clean-dev": "vuepress-vite dev src --clean-cache",
"docs:dev": "vuepress-vite dev src",
"docs:update-package": "pnpm dlx vp-update"
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/plugin-docsearch": "2.0.0-rc.40",
"@vuepress/bundler-vite": "2.0.0-rc.17",
"@vuepress/plugin-docsearch": "2.0.0-rc.55",
"@vuepress/plugin-google-analytics": "2.0.0-rc.37",
"@vuepress/plugin-register-components": "2.0.0-rc.37",
"markdownlint": "^0.34.0",
"vue": "^3.4.35",
"vuepress": "2.0.0-rc.14",
"vuepress-theme-hope": "2.0.0-rc.52"
"sass-embedded": "1.79.4",
"vue": "^3.5.10",
"vuepress": "2.0.0-rc.17",
"vuepress-theme-hope": "2.0.0-rc.58"
},
"dependencies": {
"chart.js": "^4.4.3",
"flowchart.ts": "^3.0.0",
"chart.js": "^4.4.4",
"flowchart.ts": "^3.0.1",
"katex": "^0.16.11",
"mermaid": "^10.9.1"
"mermaid": "^10.9.2"
}
}
4,194 changes: 3,267 additions & 927 deletions docs/ci/pnpm-lock.yaml.ci

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
"license": "Apache License 2.0",
"type": "module",
"scripts": {
"start": "vuepress dev src",
"docs:build": "vuepress build src",
"docs:clean-dev": "vuepress dev src --clean-cache",
"docs:dev": "vuepress dev src",
"start": "vuepress-vite dev src",
"docs:build": "vuepress-vite build src",
"docs:clean-dev": "vuepress-vite dev src --clean-cache",
"docs:dev": "vuepress-vite dev src",
"docs:update-package": "pnpm dlx vp-update"
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/plugin-docsearch": "2.0.0-rc.40",
"@vuepress/bundler-vite": "2.0.0-rc.17",
"@vuepress/plugin-docsearch": "2.0.0-rc.55",
"@vuepress/plugin-google-analytics": "2.0.0-rc.37",
"@vuepress/plugin-register-components": "2.0.0-rc.37",
"markdownlint": "^0.34.0",
"vue": "^3.4.35",
"vuepress": "2.0.0-rc.14",
"vuepress-theme-hope": "2.0.0-rc.52"
"sass-embedded": "1.79.4",
"vue": "^3.5.10",
"vuepress": "2.0.0-rc.17",
"vuepress-theme-hope": "2.0.0-rc.58"
},
"dependencies": {
"chart.js": "^4.4.3",
"flowchart.ts": "^3.0.0",
"chart.js": "^4.4.4",
"flowchart.ts": "^3.0.1",
"katex": "^0.16.11",
"mermaid": "^10.9.1"
"mermaid": "^10.9.2"
}
}
4,194 changes: 3,267 additions & 927 deletions docs/pnpm-lock.yaml

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions docs/src/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ a:has(polygon) {
color: #6fbcf0;
}

.hint-container.details {
padding-top: 1rem;
margin-block-start: 0em;
padding-bottom: 0.5rem;
}
//.hint-container.details {
// padding-top: 1rem;
// margin-block-start: 0em;
// padding-bottom: 0.5rem;
//}

.hint-container.details summary {
padding-top: 0.5rem;
padding-bottom: 0rem;
}
//.hint-container.details summary {
// padding-top: 0.5rem;
// padding-bottom: 0rem;
//}

.hint-container.note summary {
padding-top: 0.5rem;
padding-bottom: 0rem;
}
//.hint-container.note summary {
// padding-top: 0.5rem;
// padding-bottom: 0rem;
//}

.hint-container-title {
margin-top: 0;
margin-bottom: 0;
}
//.hint-container-title {
// margin-top: 0;
// margin-bottom: 0;
//}

.hint-container p {
margin-top: 0.2rem;
margin-bottom: 0.2rem;
}
//.hint-container p {
// margin-top: 0.2rem;
// margin-bottom: 0.2rem;
//}

.footer a {
color: #6fbcf0;
Expand Down
20 changes: 14 additions & 6 deletions docs/src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,11 @@ export default hopeTheme({
align: true,
attrs: true,
chart: true,
codetabs: true,
/*demo: true,*/
echarts: false,
figure: false,
flowchart: true,
gfm: true,
imgLazyload: true,
imgSize: true,
include: true,
katex: true,
mark: true,
mermaid: true,
/*playground: {
Expand All @@ -121,11 +116,24 @@ export default hopeTheme({
],
sub: true,
sup: true,
tabs: true,
vPre: true,
vuePlayground: false,
},

markdownImage: {
// options
figure: false,
lazyload: true,
mark: true,
size: true,
},

markdownMath: true,

markdownHint: true,

markdownTab: true,

// uncomment these if you want a pwa
// pwa: {
// favicon: "/favicon.ico",
Expand Down
9 changes: 9 additions & 0 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022"
},
"include": ["src/.vuepress/**/*.ts", "src/.vuepress/**/*.vue"],
"exclude": ["node_modules"]
}

0 comments on commit cf4d228

Please sign in to comment.