Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions .github/scripts/tag-alert-blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ async function isUsingAlertBlock(base = 'origin/master') {
result
.trim()
.split(/\r?\n/)
.map(file =>
.map((file) =>
run(`git diff ${base} -- ${file}`)
.then(diff => ALERT_BLOCK.test(diff))
.then(usesAlertBlock => (usesAlertBlock ? file : ''))
.then((diff) => ALERT_BLOCK.test(diff))
.then((usesAlertBlock) => (usesAlertBlock ? file : ''))
)
)
).filter(Boolean)
Expand Down
9 changes: 9 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 75,
"sortPackageJson": false,
"ignorePatterns": ["*.vue", "src/public/rom3.min.js"]
}
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

14 changes: 7 additions & 7 deletions .vitepress/theme/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "./pages.css";
@import "./badges.css";
@import "./options-boxes.css";
@import "./inline-demo.css";
@import "./utilities.css";
@import "./style-guide.css";
@import "./vars.css";
@import './pages.css';
@import './badges.css';
@import './options-boxes.css';
@import './inline-demo.css';
@import './utilities.css';
@import './style-guide.css';
@import './vars.css';
3 changes: 1 addition & 2 deletions .vitepress/theme/styles/inline-demo.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.vt-doc a[href^="https://play.vuejs.org"]:before
{
.vt-doc a[href^='https://play.vuejs.org']:before {
content: '▶';
width: 20px;
height: 20px;
Expand Down
6 changes: 4 additions & 2 deletions .vitepress/theme/styles/style-guide.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
padding: 1.6em 1.6em 0.1px;
position: relative;
border: 1px solid transparent;
transition: background-color 0.25s ease, border-color 0.25s ease;
transition:
background-color 0.25s ease,
border-color 0.25s ease;
}

.vt-doc .style-example h3 {
Expand Down Expand Up @@ -62,4 +64,4 @@
.vt-doc summary {
width: fit-content;
cursor: pointer;
}
}
4 changes: 3 additions & 1 deletion .vitepress/theme/styles/vue-mastery.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
background-color: var(--vt-c-bg-soft);
border-radius: 8px;
padding: 8px 16px 8px 8px;
transition: color 0.5s, background-color 0.5s;
transition:
color 0.5s,
background-color 0.5s;
}

.vue-mastery-link a {
Expand Down
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build.environment]
NODE_VERSION = "24"
NODE_VERSION = "24"

[build]
publish = ".vitepress/dist"
command = "pnpm run build"
publish = ".vitepress/dist"
command = "pnpm run build"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.0.0",
"oxc-minify": "^0.111.0",
"oxfmt": "^0.36.0",
"typescript": "^5.9.3",
"vitepress-plugin-group-icons": "^1.7.1",
"vitepress-plugin-llms": "^0.0.8",
Expand Down
217 changes: 217 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 0 additions & 2 deletions src/about/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ We do **not** collect or store any type of personal data, whether through our we
We may collect anonymized data via 3rd party services integrated in our websites:

- **Visitor data to our websites.** Our website analytics is powered by [Fathom Analytics](https://usefathom.com/), which doesn't use cookies and complies with the GDPR, ePrivacy (including PECR), COPPA and CCPA. Using this privacy-friendly website analytics software, your IP address is only briefly processed, and we (running this website) have no way of identifying you. As per the CCPA, your personal information is de-identified. You can read more about this on Fathom Analytics' website.

- Fathom Analytics' Privacy Policy: https://usefathom.com/legal/privacy

- **Usage data of the search functionality.** Our search functionality is powered by [Algolia DocSearch](https://docsearch.algolia.com/), which does not perform any type of user tracking or fingerprinting, and does not use cookies. Algolia services are GDPR compliant, CCPA compliant, and TRUSTe Certified.

- Algolia's privacy policy: https://www.algolia.com/policies/privacy/
- Algolia's security and privacy compliance: https://www.algolia.com/distributed-secure/security-compliance/

Expand Down
4 changes: 2 additions & 2 deletions src/api/api.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const headersCache = new Map<
export default {
// Declare files that should trigger Hot Module Replacement (HMR)
watch: './*.md',

// Load API data and process sidebar items
load(): APIGroup[] {
// Generate the API group data by processing the sidebar configuration
Expand All @@ -121,7 +121,7 @@ export default {
anchor: slugify(group.text), // Generate anchor for the group title
items: group.items.map((item) => ({
...item, // Spread the original item properties
headers: parsePageHeaders(item.link), // Parse the headers from the item's markdown link
headers: parsePageHeaders(item.link) // Parse the headers from the item's markdown link
}))
}))
}
Expand Down
Loading