diff --git a/site/docs/.vuepress/client.js b/site/docs/.vuepress/client.js index ad348c49c..461632895 100644 --- a/site/docs/.vuepress/client.js +++ b/site/docs/.vuepress/client.js @@ -14,7 +14,7 @@ const addOldDocsContributors = () => { return contributors.find( (contributor) => contributor.name === oldContributor.name && - contributor.email === oldContributor.email + contributor.email === oldContributor.email, ); }; diff --git a/site/docs/.vuepress/config.js b/site/docs/.vuepress/config.js index 50ab0efb4..10dd75aa1 100644 --- a/site/docs/.vuepress/config.js +++ b/site/docs/.vuepress/config.js @@ -91,7 +91,7 @@ export default defineUserConfig({ .map((page) => [ page.path.replace(/^\/en\/doc\//, "/doc/en/"), page.path, - ]) + ]), ); delete redirects["/doc/en/"]; diff --git a/site/docs/.vuepress/plugins/vuepress-plugin-loadVersion/index.js b/site/docs/.vuepress/plugins/vuepress-plugin-loadVersion/index.js index 53d1c9ce1..33edb752f 100644 --- a/site/docs/.vuepress/plugins/vuepress-plugin-loadVersion/index.js +++ b/site/docs/.vuepress/plugins/vuepress-plugin-loadVersion/index.js @@ -8,7 +8,7 @@ export function loadVersionPlugin() { const getVersionByMaven = async () => { return await fetch( - "https://search.maven.org/solrsearch/select?q=arthas&rows=1&wt=json" + "https://search.maven.org/solrsearch/select?q=arthas&rows=1&wt=json", ) .then((res) => res.json()) .then((res) => res.response.docs[0].latestVersion); diff --git a/site/docs/.vuepress/public/doc/arthas-tutorials.html b/site/docs/.vuepress/public/doc/arthas-tutorials.html index ac1439d6e..63121ffa5 100644 --- a/site/docs/.vuepress/public/doc/arthas-tutorials.html +++ b/site/docs/.vuepress/public/doc/arthas-tutorials.html @@ -1,4 +1,4 @@ - + @@ -1142,8 +1142,8 @@ diff --git a/site/docs/.vuepress/theme/components/AutoLink.vue b/site/docs/.vuepress/theme/components/AutoLink.vue index cbf4d6d44..af9121536 100644 --- a/site/docs/.vuepress/theme/components/AutoLink.vue +++ b/site/docs/.vuepress/theme/components/AutoLink.vue @@ -31,7 +31,7 @@ const { item } = toRefs(props); const hasHttpProtocol = computed(() => isLinkHttp(item.value.link)); // if the link has non-http protocol const hasNonHttpProtocol = computed( - () => isLinkMailto(item.value.link) || isLinkTel(item.value.link) + () => isLinkMailto(item.value.link) || isLinkTel(item.value.link), ); // resolve the `target` attr const linkTarget = computed(() => { @@ -45,7 +45,7 @@ const isBlankTarget = computed(() => linkTarget.value === "_blank"); // is `` or not const isRouterLink = computed( () => - !hasHttpProtocol.value && !hasNonHttpProtocol.value && !isBlankTarget.value + !hasHttpProtocol.value && !hasNonHttpProtocol.value && !isBlankTarget.value, ); // resolve the `rel` attr const linkRel = computed(() => { diff --git a/site/docs/.vuepress/theme/components/HomeBadges.vue b/site/docs/.vuepress/theme/components/HomeBadges.vue index a7da6d3a8..9de24152b 100644 --- a/site/docs/.vuepress/theme/components/HomeBadges.vue +++ b/site/docs/.vuepress/theme/components/HomeBadges.vue @@ -17,11 +17,11 @@ const fork = ref(6494); const getStarForkData = async () => { const stars = await fetch("https://arthas.aliyun.com/api/starCount").then( - (res) => res.json() + (res) => res.json(), ); const forks = await fetch("https://arthas.aliyun.com/api/forkCount").then( - (res) => res.json() + (res) => res.json(), ); star.value = stars || star.value; diff --git a/site/docs/.vuepress/theme/components/HomeHero.vue b/site/docs/.vuepress/theme/components/HomeHero.vue index f889ea469..f511877bc 100644 --- a/site/docs/.vuepress/theme/components/HomeHero.vue +++ b/site/docs/.vuepress/theme/components/HomeHero.vue @@ -31,7 +31,7 @@ const heroText = computed(() => { }); const heroAlt = computed( - () => frontmatter.value.heroAlt || heroText.value || "hero" + () => frontmatter.value.heroAlt || heroText.value || "hero", ); const tagline = computed(() => { diff --git a/site/docs/.vuepress/theme/components/NavbarBrand.vue b/site/docs/.vuepress/theme/components/NavbarBrand.vue index cd73c9514..0477a0549 100644 --- a/site/docs/.vuepress/theme/components/NavbarBrand.vue +++ b/site/docs/.vuepress/theme/components/NavbarBrand.vue @@ -19,7 +19,7 @@ const themeLocale = useThemeLocaleData(); const version = ref(pageData.value.version); const navbarBrandLink = computed( - () => themeLocale.value.home || routeLocale.value + () => themeLocale.value.home || routeLocale.value, ); const navbarBrandTitle = computed(() => siteLocale.value.title); const navbarBrandLogo = computed(() => { @@ -35,7 +35,7 @@ const NavbarBrandVersion = () => { class: "navbar-version", }, - `v${version.value}` + `v${version.value}`, ); const NavbarBrandLogo = () => { diff --git a/site/docs/.vuepress/theme/components/NavbarDropdown.vue b/site/docs/.vuepress/theme/components/NavbarDropdown.vue index d13ff30e2..4aabb7f1d 100644 --- a/site/docs/.vuepress/theme/components/NavbarDropdown.vue +++ b/site/docs/.vuepress/theme/components/NavbarDropdown.vue @@ -16,7 +16,7 @@ const props = defineProps({ const { item } = toRefs(props); const dropdownAriaLabel = computed( - () => item.value.ariaLabel || item.value.text + () => item.value.ariaLabel || item.value.text, ); const open = ref(false); @@ -25,7 +25,7 @@ watch( () => route.path, () => { open.value = false; - } + }, ); /** diff --git a/site/docs/.vuepress/theme/index.js b/site/docs/.vuepress/theme/index.js index 9063fb550..5e2a524c6 100644 --- a/site/docs/.vuepress/theme/index.js +++ b/site/docs/.vuepress/theme/index.js @@ -12,13 +12,13 @@ export function localTheme(options) { "@theme/Home.vue": path.resolve(__dirname, "components/Home.vue"), "@theme/NavbarDropdown.vue": path.resolve( __dirname, - "components/NavbarDropdown.vue" + "components/NavbarDropdown.vue", ), "@theme/AutoLink.vue": path.resolve(__dirname, "components/AutoLink.vue"), "@theme/Page.vue": path.resolve(__dirname, "components/Page.vue"), "@theme/NavbarBrand.vue": path.resolve( __dirname, - "components/NavbarBrand.vue" + "components/NavbarBrand.vue", ), }, };