mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-20 01:31:40 +03:00
17 lines
473 B
TypeScript
17 lines
473 B
TypeScript
import { path } from "@vuepress/utils";
|
|
import { Theme } from "@vuepress/core";
|
|
|
|
export const docsPlugin: Theme = (options, app) => {
|
|
return {
|
|
name: "xray-docs-theme",
|
|
extends: "@vuepress/theme-default",
|
|
layouts: {
|
|
Layout: path.resolve(__dirname, "layouts/Layout.vue"),
|
|
},
|
|
clientAppEnhanceFiles: path.resolve(__dirname, "clientAppEnhance.ts"),
|
|
plugins: [["@vuepress/plugin-palette", { preset: "sass" }]],
|
|
};
|
|
};
|
|
|
|
export default docsPlugin;
|