Skip to content

Commit

Permalink
docs: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Jan 6, 2024
1 parent f037d9b commit 20a927a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions docs/akte/markdownToHTML.ts
Expand Up @@ -14,8 +14,8 @@ import rehypeToc from "rehype-toc";
import rehypeStringify from "rehype-stringify";

import { common, createStarryNight } from "@wooorm/starry-night";
import ignoreGrammar from "@wooorm/starry-night/lang/source.gitignore";
import tsxGrammar from "@wooorm/starry-night/lang/source.tsx";
import ignoreGrammar from "@wooorm/starry-night/source.gitignore";
import tsxGrammar from "@wooorm/starry-night/source.tsx";
import { visit } from "unist-util-visit";
import { toString } from "hast-util-to-string";
import { h } from "hastscript";
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/css/style.css
@@ -1,9 +1,9 @@
@import "@fontsource/ibm-plex-sans";
@import "@wooorm/starry-night/style/both.css";
@import "@wooorm/starry-night/style/both";

@import "./properties";
@import "./defaults";
@import "./header";
@import "./nav";
@import "./main";
@import "./footer";
@import "./footer";
4 changes: 2 additions & 2 deletions docs/assets/js/base.ts
Expand Up @@ -14,12 +14,12 @@ type Event<
event: TType;
props?: Record<string, never>;
data?: Record<string, unknown>;
}
}
: {
event: TType;
props: TProps;
data?: Record<string, unknown>;
};
};

type PageViewEvent = Event<"pageView">;
type OutboundLinkClickEvent = Event<"outboundLink:click", { url: string }>;
Expand Down
48 changes: 24 additions & 24 deletions docs/package.json
Expand Up @@ -9,36 +9,36 @@
"preview": "cross-env DEBUG=akte:* vite preview"
},
"dependencies": {
"@fontsource/ibm-plex-sans": "^4.5.13",
"@wooorm/starry-night": "^1.6.0",
"globby": "^13.1.3",
"@fontsource/ibm-plex-sans": "^5.0.18",
"@wooorm/starry-night": "^3.2.0",
"globby": "^13.2.2",
"hast": "^1.0.0",
"hast-util-to-string": "^2.0.0",
"hastscript": "^7.2.0",
"hast-util-to-string": "^3.0.0",
"hastscript": "^8.0.0",
"mdast": "^3.0.0",
"plausible-tracker": "^0.3.8",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",
"rehype-stringify": "^9.0.3",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.0",
"rehype-toc": "^3.0.2",
"remark-directive": "^2.0.1",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7",
"vfile-matter": "^4.0.1"
"remark-directive": "^3.0.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"unified": "^11.0.4",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.1",
"vfile-matter": "^5.0.0"
},
"devDependencies": {
"akte": "latest",
"autoprefixer": "^10.4.14",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"cssnano": "^5.1.15",
"html-minifier-terser": "^7.1.0",
"postcss-import": "^15.1.0",
"postcss-nesting": "^10.2.0",
"vite": "^4.1.4"
"cssnano": "^6.0.3",
"html-minifier-terser": "^7.2.0",
"postcss-import": "^16.0.0",
"postcss-nesting": "^12.0.2",
"vite": "^5.0.11"
}
}
}

0 comments on commit 20a927a

Please sign in to comment.