mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-20 17:51:40 +03:00
15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
import { Theme } from "@vuepress/core";
|
|
import { path } from "@vuepress/utils";
|
|
import { defaultTheme } from "vuepress";
|
|
|
|
export const docsPlugin: Theme = (options, app) => {
|
|
return defaultTheme({
|
|
name: "xray-docs-theme",
|
|
extends: "@vuepress/theme-default",
|
|
clientAppEnhanceFiles: path.resolve(__dirname, "clientAppEnhance.ts"),
|
|
|
|
});
|
|
};
|
|
|
|
export default docsPlugin;
|