diff --git a/.github/workflows/auto-prettier.yaml b/.github/workflows/auto-prettier.yaml index c4c9ae0df..12d430f02 100644 --- a/.github/workflows/auto-prettier.yaml +++ b/.github/workflows/auto-prettier.yaml @@ -3,7 +3,7 @@ name: auto prettier on: push: paths: - - 'site-vuepress/**' + - 'site/**' jobs: prettier: @@ -18,4 +18,4 @@ jobs: - name: Prettify code uses: creyD/prettier_action@v4.2 with: - prettier_options: --config ./site-vuepress/.prettierrc.json --ignore-path ./site-vuepress/.prettierignore --write ./site-vuepress \ No newline at end of file + prettier_options: --config ./site/.prettierrc.json --ignore-path ./site/.prettierignore --write ./site \ No newline at end of file diff --git a/packaging/src/main/assembly/assembly-doc.xml b/packaging/src/main/assembly/assembly-doc.xml index 66eda67d0..2f46f3eb4 100644 --- a/packaging/src/main/assembly/assembly-doc.xml +++ b/packaging/src/main/assembly/assembly-doc.xml @@ -9,7 +9,7 @@ - ../site/target/site/sphinx/ + ../site/docs/.vuepress/dist/ **/* diff --git a/site-vuepress/.gitignore b/site/.gitignore similarity index 100% rename from site-vuepress/.gitignore rename to site/.gitignore diff --git a/site-vuepress/.prettierignore b/site/.prettierignore similarity index 100% rename from site-vuepress/.prettierignore rename to site/.prettierignore diff --git a/site-vuepress/.prettierrc.json b/site/.prettierrc.json similarity index 100% rename from site-vuepress/.prettierrc.json rename to site/.prettierrc.json diff --git a/site-vuepress/README.md b/site/README.md similarity index 100% rename from site-vuepress/README.md rename to site/README.md diff --git a/site-vuepress/docs/.vuepress/client.js b/site/docs/.vuepress/client.js similarity index 100% rename from site-vuepress/docs/.vuepress/client.js rename to site/docs/.vuepress/client.js diff --git a/site-vuepress/docs/.vuepress/config.js b/site/docs/.vuepress/config.js similarity index 98% rename from site-vuepress/docs/.vuepress/config.js rename to site/docs/.vuepress/config.js index b56394fe4..e44fb1a77 100644 --- a/site-vuepress/docs/.vuepress/config.js +++ b/site/docs/.vuepress/config.js @@ -24,7 +24,7 @@ module.exports = { logo: "/images/arthas_light.png", logoDark: "/images/arthas_dark.png", repo: "alibaba/arthas", - docsDir: "site-vuepress/docs", + docsDir: "site/docs", docsBranch: "master", locales: { diff --git a/site-vuepress/docs/.vuepress/configs/head.js b/site/docs/.vuepress/configs/head.js similarity index 100% rename from site-vuepress/docs/.vuepress/configs/head.js rename to site/docs/.vuepress/configs/head.js diff --git a/site-vuepress/docs/.vuepress/configs/navbar/en.js b/site/docs/.vuepress/configs/navbar/en.js similarity index 100% rename from site-vuepress/docs/.vuepress/configs/navbar/en.js rename to site/docs/.vuepress/configs/navbar/en.js diff --git a/site-vuepress/docs/.vuepress/configs/navbar/zh.js b/site/docs/.vuepress/configs/navbar/zh.js similarity index 100% rename from site-vuepress/docs/.vuepress/configs/navbar/zh.js rename to site/docs/.vuepress/configs/navbar/zh.js diff --git a/site-vuepress/docs/.vuepress/configs/sidebar/en.js b/site/docs/.vuepress/configs/sidebar/en.js similarity index 100% rename from site-vuepress/docs/.vuepress/configs/sidebar/en.js rename to site/docs/.vuepress/configs/sidebar/en.js diff --git a/site-vuepress/docs/.vuepress/configs/sidebar/zh.js b/site/docs/.vuepress/configs/sidebar/zh.js similarity index 100% rename from site-vuepress/docs/.vuepress/configs/sidebar/zh.js rename to site/docs/.vuepress/configs/sidebar/zh.js diff --git a/site-vuepress/docs/.vuepress/oldContributorsData.json b/site/docs/.vuepress/oldContributorsData.json similarity index 100% rename from site-vuepress/docs/.vuepress/oldContributorsData.json rename to site/docs/.vuepress/oldContributorsData.json diff --git a/site-vuepress/docs/.vuepress/public/doc/arthas-tutorials.html b/site/docs/.vuepress/public/doc/arthas-tutorials.html similarity index 100% rename from site-vuepress/docs/.vuepress/public/doc/arthas-tutorials.html rename to site/docs/.vuepress/public/doc/arthas-tutorials.html diff --git a/site-vuepress/docs/.vuepress/public/images/alibabacloud_hotreload.png b/site/docs/.vuepress/public/images/alibabacloud_hotreload.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/alibabacloud_hotreload.png rename to site/docs/.vuepress/public/images/alibabacloud_hotreload.png diff --git a/site-vuepress/docs/.vuepress/public/images/arthas-output-svg.jpg b/site/docs/.vuepress/public/images/arthas-output-svg.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas-output-svg.jpg rename to site/docs/.vuepress/public/images/arthas-output-svg.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/arthas-output.jpg b/site/docs/.vuepress/public/images/arthas-output.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas-output.jpg rename to site/docs/.vuepress/public/images/arthas-output.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/arthas-tunnel-server.png b/site/docs/.vuepress/public/images/arthas-tunnel-server.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas-tunnel-server.png rename to site/docs/.vuepress/public/images/arthas-tunnel-server.png diff --git a/site-vuepress/docs/.vuepress/public/images/arthas-web-ui.png b/site/docs/.vuepress/public/images/arthas-web-ui.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas-web-ui.png rename to site/docs/.vuepress/public/images/arthas-web-ui.png diff --git a/site-vuepress/docs/.vuepress/public/images/arthas.png b/site/docs/.vuepress/public/images/arthas.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas.png rename to site/docs/.vuepress/public/images/arthas.png diff --git a/site-vuepress/docs/.vuepress/public/images/arthas_dark.png b/site/docs/.vuepress/public/images/arthas_dark.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas_dark.png rename to site/docs/.vuepress/public/images/arthas_dark.png diff --git a/site-vuepress/docs/.vuepress/public/images/arthas_light.png b/site/docs/.vuepress/public/images/arthas_light.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/arthas_light.png rename to site/docs/.vuepress/public/images/arthas_light.png diff --git a/site-vuepress/docs/.vuepress/public/images/dashboard.png b/site/docs/.vuepress/public/images/dashboard.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/dashboard.png rename to site/docs/.vuepress/public/images/dashboard.png diff --git a/site-vuepress/docs/.vuepress/public/images/dingding2_qr.jpg b/site/docs/.vuepress/public/images/dingding2_qr.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/dingding2_qr.jpg rename to site/docs/.vuepress/public/images/dingding2_qr.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/dingding_group_search.png b/site/docs/.vuepress/public/images/dingding_group_search.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/dingding_group_search.png rename to site/docs/.vuepress/public/images/dingding_group_search.png diff --git a/site-vuepress/docs/.vuepress/public/images/dingding_qr.jpg b/site/docs/.vuepress/public/images/dingding_qr.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/dingding_qr.jpg rename to site/docs/.vuepress/public/images/dingding_qr.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/favicon.ico b/site/docs/.vuepress/public/images/favicon.ico similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/favicon.ico rename to site/docs/.vuepress/public/images/favicon.ico diff --git a/site-vuepress/docs/.vuepress/public/images/logo.png b/site/docs/.vuepress/public/images/logo.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/logo.png rename to site/docs/.vuepress/public/images/logo.png diff --git a/site-vuepress/docs/.vuepress/public/images/qqgroup2_qr.jpg b/site/docs/.vuepress/public/images/qqgroup2_qr.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/qqgroup2_qr.jpg rename to site/docs/.vuepress/public/images/qqgroup2_qr.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/qqgroup_qr.jpg b/site/docs/.vuepress/public/images/qqgroup_qr.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/qqgroup_qr.jpg rename to site/docs/.vuepress/public/images/qqgroup_qr.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/qr-jd-2019.png b/site/docs/.vuepress/public/images/qr-jd-2019.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/qr-jd-2019.png rename to site/docs/.vuepress/public/images/qr-jd-2019.png diff --git a/site-vuepress/docs/.vuepress/public/images/qrcode_gongzhonghao.jpg b/site/docs/.vuepress/public/images/qrcode_gongzhonghao.jpg similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/qrcode_gongzhonghao.jpg rename to site/docs/.vuepress/public/images/qrcode_gongzhonghao.jpg diff --git a/site-vuepress/docs/.vuepress/public/images/trace.png b/site/docs/.vuepress/public/images/trace.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/trace.png rename to site/docs/.vuepress/public/images/trace.png diff --git a/site-vuepress/docs/.vuepress/public/images/tunnel-server-agents.png b/site/docs/.vuepress/public/images/tunnel-server-agents.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/tunnel-server-agents.png rename to site/docs/.vuepress/public/images/tunnel-server-agents.png diff --git a/site-vuepress/docs/.vuepress/public/images/tunnel-server-apps.png b/site/docs/.vuepress/public/images/tunnel-server-apps.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/tunnel-server-apps.png rename to site/docs/.vuepress/public/images/tunnel-server-apps.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_alibaba.png b/site/docs/.vuepress/public/images/users/users_alibaba.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_alibaba.png rename to site/docs/.vuepress/public/images/users/users_alibaba.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_didi.png b/site/docs/.vuepress/public/images/users/users_didi.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_didi.png rename to site/docs/.vuepress/public/images/users/users_didi.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_icbc.png b/site/docs/.vuepress/public/images/users/users_icbc.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_icbc.png rename to site/docs/.vuepress/public/images/users/users_icbc.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_kaola.png b/site/docs/.vuepress/public/images/users/users_kaola.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_kaola.png rename to site/docs/.vuepress/public/images/users/users_kaola.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_qunar.png b/site/docs/.vuepress/public/images/users/users_qunar.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_qunar.png rename to site/docs/.vuepress/public/images/users/users_qunar.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_telecom.png b/site/docs/.vuepress/public/images/users/users_telecom.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_telecom.png rename to site/docs/.vuepress/public/images/users/users_telecom.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_weidian.png b/site/docs/.vuepress/public/images/users/users_weidian.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_weidian.png rename to site/docs/.vuepress/public/images/users/users_weidian.png diff --git a/site-vuepress/docs/.vuepress/public/images/users/users_yinlian.png b/site/docs/.vuepress/public/images/users/users_yinlian.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/users/users_yinlian.png rename to site/docs/.vuepress/public/images/users/users_yinlian.png diff --git a/site-vuepress/docs/.vuepress/public/images/web-console-local.png b/site/docs/.vuepress/public/images/web-console-local.png similarity index 100% rename from site-vuepress/docs/.vuepress/public/images/web-console-local.png rename to site/docs/.vuepress/public/images/web-console-local.png diff --git a/site-vuepress/docs/.vuepress/styles/index.scss b/site/docs/.vuepress/styles/index.scss similarity index 100% rename from site-vuepress/docs/.vuepress/styles/index.scss rename to site/docs/.vuepress/styles/index.scss diff --git a/site-vuepress/docs/.vuepress/theme/components/AutoLink.vue b/site/docs/.vuepress/theme/components/AutoLink.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/AutoLink.vue rename to site/docs/.vuepress/theme/components/AutoLink.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/Badge.vue b/site/docs/.vuepress/theme/components/Badge.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/Badge.vue rename to site/docs/.vuepress/theme/components/Badge.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/Home.vue b/site/docs/.vuepress/theme/components/Home.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/Home.vue rename to site/docs/.vuepress/theme/components/Home.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/HomeBadges.vue b/site/docs/.vuepress/theme/components/HomeBadges.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/HomeBadges.vue rename to site/docs/.vuepress/theme/components/HomeBadges.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/HomeFeatures.vue b/site/docs/.vuepress/theme/components/HomeFeatures.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/HomeFeatures.vue rename to site/docs/.vuepress/theme/components/HomeFeatures.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/HomeHero.vue b/site/docs/.vuepress/theme/components/HomeHero.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/HomeHero.vue rename to site/docs/.vuepress/theme/components/HomeHero.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/HomeUserBoards.vue b/site/docs/.vuepress/theme/components/HomeUserBoards.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/HomeUserBoards.vue rename to site/docs/.vuepress/theme/components/HomeUserBoards.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/NavbarDropdown.vue b/site/docs/.vuepress/theme/components/NavbarDropdown.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/NavbarDropdown.vue rename to site/docs/.vuepress/theme/components/NavbarDropdown.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/UserBoard.vue b/site/docs/.vuepress/theme/components/UserBoard.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/UserBoard.vue rename to site/docs/.vuepress/theme/components/UserBoard.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/icons/Fork.vue b/site/docs/.vuepress/theme/components/icons/Fork.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/icons/Fork.vue rename to site/docs/.vuepress/theme/components/icons/Fork.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/icons/GitHub.vue b/site/docs/.vuepress/theme/components/icons/GitHub.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/icons/GitHub.vue rename to site/docs/.vuepress/theme/components/icons/GitHub.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/icons/Star.vue b/site/docs/.vuepress/theme/components/icons/Star.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/icons/Star.vue rename to site/docs/.vuepress/theme/components/icons/Star.vue diff --git a/site-vuepress/docs/.vuepress/theme/components/icons/Translate.vue b/site/docs/.vuepress/theme/components/icons/Translate.vue similarity index 100% rename from site-vuepress/docs/.vuepress/theme/components/icons/Translate.vue rename to site/docs/.vuepress/theme/components/icons/Translate.vue diff --git a/site-vuepress/docs/.vuepress/theme/index.js b/site/docs/.vuepress/theme/index.js similarity index 100% rename from site-vuepress/docs/.vuepress/theme/index.js rename to site/docs/.vuepress/theme/index.js diff --git a/site-vuepress/docs/README.md b/site/docs/README.md similarity index 100% rename from site-vuepress/docs/README.md rename to site/docs/README.md diff --git a/site-vuepress/docs/doc/README.md b/site/docs/doc/README.md similarity index 100% rename from site-vuepress/docs/doc/README.md rename to site/docs/doc/README.md diff --git a/site-vuepress/docs/doc/advanced-use.md b/site/docs/doc/advanced-use.md similarity index 100% rename from site-vuepress/docs/doc/advanced-use.md rename to site/docs/doc/advanced-use.md diff --git a/site-vuepress/docs/doc/advice-class.md b/site/docs/doc/advice-class.md similarity index 100% rename from site-vuepress/docs/doc/advice-class.md rename to site/docs/doc/advice-class.md diff --git a/site-vuepress/docs/doc/agent.md b/site/docs/doc/agent.md similarity index 100% rename from site-vuepress/docs/doc/agent.md rename to site/docs/doc/agent.md diff --git a/site-vuepress/docs/doc/arthas-properties.md b/site/docs/doc/arthas-properties.md similarity index 100% rename from site-vuepress/docs/doc/arthas-properties.md rename to site/docs/doc/arthas-properties.md diff --git a/site-vuepress/docs/doc/arthas3.md b/site/docs/doc/arthas3.md similarity index 100% rename from site-vuepress/docs/doc/arthas3.md rename to site/docs/doc/arthas3.md diff --git a/site-vuepress/docs/doc/async.md b/site/docs/doc/async.md similarity index 100% rename from site-vuepress/docs/doc/async.md rename to site/docs/doc/async.md diff --git a/site-vuepress/docs/doc/auth.md b/site/docs/doc/auth.md similarity index 100% rename from site-vuepress/docs/doc/auth.md rename to site/docs/doc/auth.md diff --git a/site-vuepress/docs/doc/base64.md b/site/docs/doc/base64.md similarity index 100% rename from site-vuepress/docs/doc/base64.md rename to site/docs/doc/base64.md diff --git a/site-vuepress/docs/doc/batch-support.md b/site/docs/doc/batch-support.md similarity index 100% rename from site-vuepress/docs/doc/batch-support.md rename to site/docs/doc/batch-support.md diff --git a/site-vuepress/docs/doc/cat.md b/site/docs/doc/cat.md similarity index 100% rename from site-vuepress/docs/doc/cat.md rename to site/docs/doc/cat.md diff --git a/site-vuepress/docs/doc/classloader.md b/site/docs/doc/classloader.md similarity index 100% rename from site-vuepress/docs/doc/classloader.md rename to site/docs/doc/classloader.md diff --git a/site-vuepress/docs/doc/cls.md b/site/docs/doc/cls.md similarity index 100% rename from site-vuepress/docs/doc/cls.md rename to site/docs/doc/cls.md diff --git a/site-vuepress/docs/doc/commands.md b/site/docs/doc/commands.md similarity index 100% rename from site-vuepress/docs/doc/commands.md rename to site/docs/doc/commands.md diff --git a/site-vuepress/docs/doc/contact-us.md b/site/docs/doc/contact-us.md similarity index 100% rename from site-vuepress/docs/doc/contact-us.md rename to site/docs/doc/contact-us.md diff --git a/site-vuepress/docs/doc/dashboard.md b/site/docs/doc/dashboard.md similarity index 100% rename from site-vuepress/docs/doc/dashboard.md rename to site/docs/doc/dashboard.md diff --git a/site-vuepress/docs/doc/docker.md b/site/docs/doc/docker.md similarity index 100% rename from site-vuepress/docs/doc/docker.md rename to site/docs/doc/docker.md diff --git a/site-vuepress/docs/doc/download.md b/site/docs/doc/download.md similarity index 100% rename from site-vuepress/docs/doc/download.md rename to site/docs/doc/download.md diff --git a/site-vuepress/docs/doc/dump.md b/site/docs/doc/dump.md similarity index 100% rename from site-vuepress/docs/doc/dump.md rename to site/docs/doc/dump.md diff --git a/site-vuepress/docs/doc/echo.md b/site/docs/doc/echo.md similarity index 100% rename from site-vuepress/docs/doc/echo.md rename to site/docs/doc/echo.md diff --git a/site-vuepress/docs/doc/faq.md b/site/docs/doc/faq.md similarity index 100% rename from site-vuepress/docs/doc/faq.md rename to site/docs/doc/faq.md diff --git a/site-vuepress/docs/doc/getstatic.md b/site/docs/doc/getstatic.md similarity index 100% rename from site-vuepress/docs/doc/getstatic.md rename to site/docs/doc/getstatic.md diff --git a/site-vuepress/docs/doc/grep.md b/site/docs/doc/grep.md similarity index 100% rename from site-vuepress/docs/doc/grep.md rename to site/docs/doc/grep.md diff --git a/site-vuepress/docs/doc/groovy.md b/site/docs/doc/groovy.md similarity index 100% rename from site-vuepress/docs/doc/groovy.md rename to site/docs/doc/groovy.md diff --git a/site-vuepress/docs/doc/heapdump.md b/site/docs/doc/heapdump.md similarity index 100% rename from site-vuepress/docs/doc/heapdump.md rename to site/docs/doc/heapdump.md diff --git a/site-vuepress/docs/doc/help.md b/site/docs/doc/help.md similarity index 100% rename from site-vuepress/docs/doc/help.md rename to site/docs/doc/help.md diff --git a/site-vuepress/docs/doc/history.md b/site/docs/doc/history.md similarity index 100% rename from site-vuepress/docs/doc/history.md rename to site/docs/doc/history.md diff --git a/site-vuepress/docs/doc/http-api.md b/site/docs/doc/http-api.md similarity index 100% rename from site-vuepress/docs/doc/http-api.md rename to site/docs/doc/http-api.md diff --git a/site-vuepress/docs/doc/idea-plugin.md b/site/docs/doc/idea-plugin.md similarity index 100% rename from site-vuepress/docs/doc/idea-plugin.md rename to site/docs/doc/idea-plugin.md diff --git a/site-vuepress/docs/doc/install-detail.md b/site/docs/doc/install-detail.md similarity index 100% rename from site-vuepress/docs/doc/install-detail.md rename to site/docs/doc/install-detail.md diff --git a/site-vuepress/docs/doc/jad.md b/site/docs/doc/jad.md similarity index 100% rename from site-vuepress/docs/doc/jad.md rename to site/docs/doc/jad.md diff --git a/site-vuepress/docs/doc/jvm.md b/site/docs/doc/jvm.md similarity index 100% rename from site-vuepress/docs/doc/jvm.md rename to site/docs/doc/jvm.md diff --git a/site-vuepress/docs/doc/keymap.md b/site/docs/doc/keymap.md similarity index 100% rename from site-vuepress/docs/doc/keymap.md rename to site/docs/doc/keymap.md diff --git a/site-vuepress/docs/doc/logger.md b/site/docs/doc/logger.md similarity index 100% rename from site-vuepress/docs/doc/logger.md rename to site/docs/doc/logger.md diff --git a/site-vuepress/docs/doc/manual-install.md b/site/docs/doc/manual-install.md similarity index 100% rename from site-vuepress/docs/doc/manual-install.md rename to site/docs/doc/manual-install.md diff --git a/site-vuepress/docs/doc/mbean.md b/site/docs/doc/mbean.md similarity index 100% rename from site-vuepress/docs/doc/mbean.md rename to site/docs/doc/mbean.md diff --git a/site-vuepress/docs/doc/mc.md b/site/docs/doc/mc.md similarity index 100% rename from site-vuepress/docs/doc/mc.md rename to site/docs/doc/mc.md diff --git a/site-vuepress/docs/doc/memory.md b/site/docs/doc/memory.md similarity index 100% rename from site-vuepress/docs/doc/memory.md rename to site/docs/doc/memory.md diff --git a/site-vuepress/docs/doc/monitor.md b/site/docs/doc/monitor.md similarity index 100% rename from site-vuepress/docs/doc/monitor.md rename to site/docs/doc/monitor.md diff --git a/site-vuepress/docs/doc/ognl.md b/site/docs/doc/ognl.md similarity index 100% rename from site-vuepress/docs/doc/ognl.md rename to site/docs/doc/ognl.md diff --git a/site-vuepress/docs/doc/options.md b/site/docs/doc/options.md similarity index 100% rename from site-vuepress/docs/doc/options.md rename to site/docs/doc/options.md diff --git a/site-vuepress/docs/doc/perfcounter.md b/site/docs/doc/perfcounter.md similarity index 100% rename from site-vuepress/docs/doc/perfcounter.md rename to site/docs/doc/perfcounter.md diff --git a/site-vuepress/docs/doc/profiler.md b/site/docs/doc/profiler.md similarity index 100% rename from site-vuepress/docs/doc/profiler.md rename to site/docs/doc/profiler.md diff --git a/site-vuepress/docs/doc/pwd.md b/site/docs/doc/pwd.md similarity index 100% rename from site-vuepress/docs/doc/pwd.md rename to site/docs/doc/pwd.md diff --git a/site-vuepress/docs/doc/quick-start.md b/site/docs/doc/quick-start.md similarity index 100% rename from site-vuepress/docs/doc/quick-start.md rename to site/docs/doc/quick-start.md diff --git a/site-vuepress/docs/doc/quit.md b/site/docs/doc/quit.md similarity index 100% rename from site-vuepress/docs/doc/quit.md rename to site/docs/doc/quit.md diff --git a/site-vuepress/docs/doc/redefine.md b/site/docs/doc/redefine.md similarity index 100% rename from site-vuepress/docs/doc/redefine.md rename to site/docs/doc/redefine.md diff --git a/site-vuepress/docs/doc/release-notes.md b/site/docs/doc/release-notes.md similarity index 100% rename from site-vuepress/docs/doc/release-notes.md rename to site/docs/doc/release-notes.md diff --git a/site-vuepress/docs/doc/reset.md b/site/docs/doc/reset.md similarity index 100% rename from site-vuepress/docs/doc/reset.md rename to site/docs/doc/reset.md diff --git a/site-vuepress/docs/doc/retransform.md b/site/docs/doc/retransform.md similarity index 100% rename from site-vuepress/docs/doc/retransform.md rename to site/docs/doc/retransform.md diff --git a/site-vuepress/docs/doc/save-log.md b/site/docs/doc/save-log.md similarity index 100% rename from site-vuepress/docs/doc/save-log.md rename to site/docs/doc/save-log.md diff --git a/site-vuepress/docs/doc/sc.md b/site/docs/doc/sc.md similarity index 100% rename from site-vuepress/docs/doc/sc.md rename to site/docs/doc/sc.md diff --git a/site-vuepress/docs/doc/session.md b/site/docs/doc/session.md similarity index 100% rename from site-vuepress/docs/doc/session.md rename to site/docs/doc/session.md diff --git a/site-vuepress/docs/doc/sm.md b/site/docs/doc/sm.md similarity index 100% rename from site-vuepress/docs/doc/sm.md rename to site/docs/doc/sm.md diff --git a/site-vuepress/docs/doc/spring-boot-starter.md b/site/docs/doc/spring-boot-starter.md similarity index 100% rename from site-vuepress/docs/doc/spring-boot-starter.md rename to site/docs/doc/spring-boot-starter.md diff --git a/site-vuepress/docs/doc/stack.md b/site/docs/doc/stack.md similarity index 100% rename from site-vuepress/docs/doc/stack.md rename to site/docs/doc/stack.md diff --git a/site-vuepress/docs/doc/start-arthas.md b/site/docs/doc/start-arthas.md similarity index 100% rename from site-vuepress/docs/doc/start-arthas.md rename to site/docs/doc/start-arthas.md diff --git a/site-vuepress/docs/doc/stop.md b/site/docs/doc/stop.md similarity index 100% rename from site-vuepress/docs/doc/stop.md rename to site/docs/doc/stop.md diff --git a/site-vuepress/docs/doc/sysenv.md b/site/docs/doc/sysenv.md similarity index 100% rename from site-vuepress/docs/doc/sysenv.md rename to site/docs/doc/sysenv.md diff --git a/site-vuepress/docs/doc/sysprop.md b/site/docs/doc/sysprop.md similarity index 100% rename from site-vuepress/docs/doc/sysprop.md rename to site/docs/doc/sysprop.md diff --git a/site-vuepress/docs/doc/tee.md b/site/docs/doc/tee.md similarity index 100% rename from site-vuepress/docs/doc/tee.md rename to site/docs/doc/tee.md diff --git a/site-vuepress/docs/doc/thread.md b/site/docs/doc/thread.md similarity index 100% rename from site-vuepress/docs/doc/thread.md rename to site/docs/doc/thread.md diff --git a/site-vuepress/docs/doc/trace.md b/site/docs/doc/trace.md similarity index 100% rename from site-vuepress/docs/doc/trace.md rename to site/docs/doc/trace.md diff --git a/site-vuepress/docs/doc/tt.md b/site/docs/doc/tt.md similarity index 100% rename from site-vuepress/docs/doc/tt.md rename to site/docs/doc/tt.md diff --git a/site-vuepress/docs/doc/tunnel.md b/site/docs/doc/tunnel.md similarity index 100% rename from site-vuepress/docs/doc/tunnel.md rename to site/docs/doc/tunnel.md diff --git a/site-vuepress/docs/doc/version.md b/site/docs/doc/version.md similarity index 100% rename from site-vuepress/docs/doc/version.md rename to site/docs/doc/version.md diff --git a/site-vuepress/docs/doc/vmoption.md b/site/docs/doc/vmoption.md similarity index 100% rename from site-vuepress/docs/doc/vmoption.md rename to site/docs/doc/vmoption.md diff --git a/site-vuepress/docs/doc/vmtool.md b/site/docs/doc/vmtool.md similarity index 100% rename from site-vuepress/docs/doc/vmtool.md rename to site/docs/doc/vmtool.md diff --git a/site-vuepress/docs/doc/watch.md b/site/docs/doc/watch.md similarity index 100% rename from site-vuepress/docs/doc/watch.md rename to site/docs/doc/watch.md diff --git a/site-vuepress/docs/doc/web-console.md b/site/docs/doc/web-console.md similarity index 100% rename from site-vuepress/docs/doc/web-console.md rename to site/docs/doc/web-console.md diff --git a/site-vuepress/docs/en/README.md b/site/docs/en/README.md similarity index 100% rename from site-vuepress/docs/en/README.md rename to site/docs/en/README.md diff --git a/site-vuepress/docs/en/doc/README.md b/site/docs/en/doc/README.md similarity index 100% rename from site-vuepress/docs/en/doc/README.md rename to site/docs/en/doc/README.md diff --git a/site-vuepress/docs/en/doc/advanced-use.md b/site/docs/en/doc/advanced-use.md similarity index 100% rename from site-vuepress/docs/en/doc/advanced-use.md rename to site/docs/en/doc/advanced-use.md diff --git a/site-vuepress/docs/en/doc/advice-class.md b/site/docs/en/doc/advice-class.md similarity index 100% rename from site-vuepress/docs/en/doc/advice-class.md rename to site/docs/en/doc/advice-class.md diff --git a/site-vuepress/docs/en/doc/agent.md b/site/docs/en/doc/agent.md similarity index 100% rename from site-vuepress/docs/en/doc/agent.md rename to site/docs/en/doc/agent.md diff --git a/site-vuepress/docs/en/doc/arthas-properties.md b/site/docs/en/doc/arthas-properties.md similarity index 100% rename from site-vuepress/docs/en/doc/arthas-properties.md rename to site/docs/en/doc/arthas-properties.md diff --git a/site-vuepress/docs/en/doc/async.md b/site/docs/en/doc/async.md similarity index 100% rename from site-vuepress/docs/en/doc/async.md rename to site/docs/en/doc/async.md diff --git a/site-vuepress/docs/en/doc/auth.md b/site/docs/en/doc/auth.md similarity index 100% rename from site-vuepress/docs/en/doc/auth.md rename to site/docs/en/doc/auth.md diff --git a/site-vuepress/docs/en/doc/base64.md b/site/docs/en/doc/base64.md similarity index 100% rename from site-vuepress/docs/en/doc/base64.md rename to site/docs/en/doc/base64.md diff --git a/site-vuepress/docs/en/doc/batch-support.md b/site/docs/en/doc/batch-support.md similarity index 100% rename from site-vuepress/docs/en/doc/batch-support.md rename to site/docs/en/doc/batch-support.md diff --git a/site-vuepress/docs/en/doc/cat.md b/site/docs/en/doc/cat.md similarity index 100% rename from site-vuepress/docs/en/doc/cat.md rename to site/docs/en/doc/cat.md diff --git a/site-vuepress/docs/en/doc/classloader.md b/site/docs/en/doc/classloader.md similarity index 100% rename from site-vuepress/docs/en/doc/classloader.md rename to site/docs/en/doc/classloader.md diff --git a/site-vuepress/docs/en/doc/cls.md b/site/docs/en/doc/cls.md similarity index 100% rename from site-vuepress/docs/en/doc/cls.md rename to site/docs/en/doc/cls.md diff --git a/site-vuepress/docs/en/doc/commands.md b/site/docs/en/doc/commands.md similarity index 100% rename from site-vuepress/docs/en/doc/commands.md rename to site/docs/en/doc/commands.md diff --git a/site-vuepress/docs/en/doc/contact-us.md b/site/docs/en/doc/contact-us.md similarity index 100% rename from site-vuepress/docs/en/doc/contact-us.md rename to site/docs/en/doc/contact-us.md diff --git a/site-vuepress/docs/en/doc/dashboard.md b/site/docs/en/doc/dashboard.md similarity index 100% rename from site-vuepress/docs/en/doc/dashboard.md rename to site/docs/en/doc/dashboard.md diff --git a/site-vuepress/docs/en/doc/docker.md b/site/docs/en/doc/docker.md similarity index 100% rename from site-vuepress/docs/en/doc/docker.md rename to site/docs/en/doc/docker.md diff --git a/site-vuepress/docs/en/doc/download.md b/site/docs/en/doc/download.md similarity index 100% rename from site-vuepress/docs/en/doc/download.md rename to site/docs/en/doc/download.md diff --git a/site-vuepress/docs/en/doc/dump.md b/site/docs/en/doc/dump.md similarity index 100% rename from site-vuepress/docs/en/doc/dump.md rename to site/docs/en/doc/dump.md diff --git a/site-vuepress/docs/en/doc/echo.md b/site/docs/en/doc/echo.md similarity index 100% rename from site-vuepress/docs/en/doc/echo.md rename to site/docs/en/doc/echo.md diff --git a/site-vuepress/docs/en/doc/faq.md b/site/docs/en/doc/faq.md similarity index 100% rename from site-vuepress/docs/en/doc/faq.md rename to site/docs/en/doc/faq.md diff --git a/site-vuepress/docs/en/doc/getstatic.md b/site/docs/en/doc/getstatic.md similarity index 100% rename from site-vuepress/docs/en/doc/getstatic.md rename to site/docs/en/doc/getstatic.md diff --git a/site-vuepress/docs/en/doc/grep.md b/site/docs/en/doc/grep.md similarity index 100% rename from site-vuepress/docs/en/doc/grep.md rename to site/docs/en/doc/grep.md diff --git a/site-vuepress/docs/en/doc/groovy.md b/site/docs/en/doc/groovy.md similarity index 100% rename from site-vuepress/docs/en/doc/groovy.md rename to site/docs/en/doc/groovy.md diff --git a/site-vuepress/docs/en/doc/heapdump.md b/site/docs/en/doc/heapdump.md similarity index 100% rename from site-vuepress/docs/en/doc/heapdump.md rename to site/docs/en/doc/heapdump.md diff --git a/site-vuepress/docs/en/doc/help.md b/site/docs/en/doc/help.md similarity index 100% rename from site-vuepress/docs/en/doc/help.md rename to site/docs/en/doc/help.md diff --git a/site-vuepress/docs/en/doc/history.md b/site/docs/en/doc/history.md similarity index 100% rename from site-vuepress/docs/en/doc/history.md rename to site/docs/en/doc/history.md diff --git a/site-vuepress/docs/en/doc/http-api.md b/site/docs/en/doc/http-api.md similarity index 100% rename from site-vuepress/docs/en/doc/http-api.md rename to site/docs/en/doc/http-api.md diff --git a/site-vuepress/docs/en/doc/idea-plugin.md b/site/docs/en/doc/idea-plugin.md similarity index 100% rename from site-vuepress/docs/en/doc/idea-plugin.md rename to site/docs/en/doc/idea-plugin.md diff --git a/site-vuepress/docs/en/doc/install-detail.md b/site/docs/en/doc/install-detail.md similarity index 100% rename from site-vuepress/docs/en/doc/install-detail.md rename to site/docs/en/doc/install-detail.md diff --git a/site-vuepress/docs/en/doc/jad.md b/site/docs/en/doc/jad.md similarity index 100% rename from site-vuepress/docs/en/doc/jad.md rename to site/docs/en/doc/jad.md diff --git a/site-vuepress/docs/en/doc/jvm.md b/site/docs/en/doc/jvm.md similarity index 100% rename from site-vuepress/docs/en/doc/jvm.md rename to site/docs/en/doc/jvm.md diff --git a/site-vuepress/docs/en/doc/keymap.md b/site/docs/en/doc/keymap.md similarity index 100% rename from site-vuepress/docs/en/doc/keymap.md rename to site/docs/en/doc/keymap.md diff --git a/site-vuepress/docs/en/doc/logger.md b/site/docs/en/doc/logger.md similarity index 100% rename from site-vuepress/docs/en/doc/logger.md rename to site/docs/en/doc/logger.md diff --git a/site-vuepress/docs/en/doc/manual-install.md b/site/docs/en/doc/manual-install.md similarity index 100% rename from site-vuepress/docs/en/doc/manual-install.md rename to site/docs/en/doc/manual-install.md diff --git a/site-vuepress/docs/en/doc/mbean.md b/site/docs/en/doc/mbean.md similarity index 100% rename from site-vuepress/docs/en/doc/mbean.md rename to site/docs/en/doc/mbean.md diff --git a/site-vuepress/docs/en/doc/mc.md b/site/docs/en/doc/mc.md similarity index 100% rename from site-vuepress/docs/en/doc/mc.md rename to site/docs/en/doc/mc.md diff --git a/site-vuepress/docs/en/doc/memory.md b/site/docs/en/doc/memory.md similarity index 100% rename from site-vuepress/docs/en/doc/memory.md rename to site/docs/en/doc/memory.md diff --git a/site-vuepress/docs/en/doc/monitor.md b/site/docs/en/doc/monitor.md similarity index 100% rename from site-vuepress/docs/en/doc/monitor.md rename to site/docs/en/doc/monitor.md diff --git a/site-vuepress/docs/en/doc/ognl.md b/site/docs/en/doc/ognl.md similarity index 100% rename from site-vuepress/docs/en/doc/ognl.md rename to site/docs/en/doc/ognl.md diff --git a/site-vuepress/docs/en/doc/options.md b/site/docs/en/doc/options.md similarity index 100% rename from site-vuepress/docs/en/doc/options.md rename to site/docs/en/doc/options.md diff --git a/site-vuepress/docs/en/doc/perfcounter.md b/site/docs/en/doc/perfcounter.md similarity index 100% rename from site-vuepress/docs/en/doc/perfcounter.md rename to site/docs/en/doc/perfcounter.md diff --git a/site-vuepress/docs/en/doc/profiler.md b/site/docs/en/doc/profiler.md similarity index 100% rename from site-vuepress/docs/en/doc/profiler.md rename to site/docs/en/doc/profiler.md diff --git a/site-vuepress/docs/en/doc/pwd.md b/site/docs/en/doc/pwd.md similarity index 100% rename from site-vuepress/docs/en/doc/pwd.md rename to site/docs/en/doc/pwd.md diff --git a/site-vuepress/docs/en/doc/quick-start.md b/site/docs/en/doc/quick-start.md similarity index 100% rename from site-vuepress/docs/en/doc/quick-start.md rename to site/docs/en/doc/quick-start.md diff --git a/site-vuepress/docs/en/doc/quit.md b/site/docs/en/doc/quit.md similarity index 100% rename from site-vuepress/docs/en/doc/quit.md rename to site/docs/en/doc/quit.md diff --git a/site-vuepress/docs/en/doc/redefine.md b/site/docs/en/doc/redefine.md similarity index 100% rename from site-vuepress/docs/en/doc/redefine.md rename to site/docs/en/doc/redefine.md diff --git a/site-vuepress/docs/en/doc/release-notes.md b/site/docs/en/doc/release-notes.md similarity index 100% rename from site-vuepress/docs/en/doc/release-notes.md rename to site/docs/en/doc/release-notes.md diff --git a/site-vuepress/docs/en/doc/reset.md b/site/docs/en/doc/reset.md similarity index 100% rename from site-vuepress/docs/en/doc/reset.md rename to site/docs/en/doc/reset.md diff --git a/site-vuepress/docs/en/doc/retransform.md b/site/docs/en/doc/retransform.md similarity index 100% rename from site-vuepress/docs/en/doc/retransform.md rename to site/docs/en/doc/retransform.md diff --git a/site-vuepress/docs/en/doc/save-log.md b/site/docs/en/doc/save-log.md similarity index 100% rename from site-vuepress/docs/en/doc/save-log.md rename to site/docs/en/doc/save-log.md diff --git a/site-vuepress/docs/en/doc/sc.md b/site/docs/en/doc/sc.md similarity index 100% rename from site-vuepress/docs/en/doc/sc.md rename to site/docs/en/doc/sc.md diff --git a/site-vuepress/docs/en/doc/session.md b/site/docs/en/doc/session.md similarity index 100% rename from site-vuepress/docs/en/doc/session.md rename to site/docs/en/doc/session.md diff --git a/site-vuepress/docs/en/doc/sm.md b/site/docs/en/doc/sm.md similarity index 100% rename from site-vuepress/docs/en/doc/sm.md rename to site/docs/en/doc/sm.md diff --git a/site-vuepress/docs/en/doc/spring-boot-starter.md b/site/docs/en/doc/spring-boot-starter.md similarity index 100% rename from site-vuepress/docs/en/doc/spring-boot-starter.md rename to site/docs/en/doc/spring-boot-starter.md diff --git a/site-vuepress/docs/en/doc/stack.md b/site/docs/en/doc/stack.md similarity index 100% rename from site-vuepress/docs/en/doc/stack.md rename to site/docs/en/doc/stack.md diff --git a/site-vuepress/docs/en/doc/start-arthas.md b/site/docs/en/doc/start-arthas.md similarity index 100% rename from site-vuepress/docs/en/doc/start-arthas.md rename to site/docs/en/doc/start-arthas.md diff --git a/site-vuepress/docs/en/doc/stop.md b/site/docs/en/doc/stop.md similarity index 100% rename from site-vuepress/docs/en/doc/stop.md rename to site/docs/en/doc/stop.md diff --git a/site-vuepress/docs/en/doc/sysenv.md b/site/docs/en/doc/sysenv.md similarity index 100% rename from site-vuepress/docs/en/doc/sysenv.md rename to site/docs/en/doc/sysenv.md diff --git a/site-vuepress/docs/en/doc/sysprop.md b/site/docs/en/doc/sysprop.md similarity index 100% rename from site-vuepress/docs/en/doc/sysprop.md rename to site/docs/en/doc/sysprop.md diff --git a/site-vuepress/docs/en/doc/tee.md b/site/docs/en/doc/tee.md similarity index 100% rename from site-vuepress/docs/en/doc/tee.md rename to site/docs/en/doc/tee.md diff --git a/site-vuepress/docs/en/doc/thread.md b/site/docs/en/doc/thread.md similarity index 100% rename from site-vuepress/docs/en/doc/thread.md rename to site/docs/en/doc/thread.md diff --git a/site-vuepress/docs/en/doc/trace.md b/site/docs/en/doc/trace.md similarity index 100% rename from site-vuepress/docs/en/doc/trace.md rename to site/docs/en/doc/trace.md diff --git a/site-vuepress/docs/en/doc/tt.md b/site/docs/en/doc/tt.md similarity index 100% rename from site-vuepress/docs/en/doc/tt.md rename to site/docs/en/doc/tt.md diff --git a/site-vuepress/docs/en/doc/tunnel.md b/site/docs/en/doc/tunnel.md similarity index 100% rename from site-vuepress/docs/en/doc/tunnel.md rename to site/docs/en/doc/tunnel.md diff --git a/site-vuepress/docs/en/doc/version.md b/site/docs/en/doc/version.md similarity index 100% rename from site-vuepress/docs/en/doc/version.md rename to site/docs/en/doc/version.md diff --git a/site-vuepress/docs/en/doc/vmoption.md b/site/docs/en/doc/vmoption.md similarity index 100% rename from site-vuepress/docs/en/doc/vmoption.md rename to site/docs/en/doc/vmoption.md diff --git a/site-vuepress/docs/en/doc/vmtool.md b/site/docs/en/doc/vmtool.md similarity index 100% rename from site-vuepress/docs/en/doc/vmtool.md rename to site/docs/en/doc/vmtool.md diff --git a/site-vuepress/docs/en/doc/watch.md b/site/docs/en/doc/watch.md similarity index 100% rename from site-vuepress/docs/en/doc/watch.md rename to site/docs/en/doc/watch.md diff --git a/site-vuepress/docs/en/doc/web-console.md b/site/docs/en/doc/web-console.md similarity index 100% rename from site-vuepress/docs/en/doc/web-console.md rename to site/docs/en/doc/web-console.md diff --git a/site-vuepress/package-lock.json b/site/package-lock.json similarity index 100% rename from site-vuepress/package-lock.json rename to site/package-lock.json diff --git a/site-vuepress/package.json b/site/package.json similarity index 94% rename from site-vuepress/package.json rename to site/package.json index e97cf3828..f837427bd 100644 --- a/site-vuepress/package.json +++ b/site/package.json @@ -1,5 +1,5 @@ { - "name": "site-vuepress", + "name": "site", "version": "1.0.0", "description": "", "main": "index.js", diff --git a/site/pom.xml b/site/pom.xml index bf9b8cea4..5b4a7c38b 100644 --- a/site/pom.xml +++ b/site/pom.xml @@ -1,56 +1,94 @@ - - - 4.0.0 + + + - com.taobao.arthas arthas-all + com.taobao.arthas ${revision} - ../pom.xml - arthas-site - arthas-site - - - - full - - - - kr.motd.maven - sphinx-maven-plugin - 2.6.0 - - - zh doc - package - - ${basedir}/src/site/sphinx - ${project.build.directory}/site/sphinx - Arthas documentation - Documentation about Arthas - - - generate - - - - en doc - package - - ${basedir}/src/site/sphinx/en - ${project.build.directory}/site/sphinx/en - Arthas English documentation - Documentation about Arthas - - - generate - - - - - - - - - - + 4.0.0 + + site + + + UTF-8 + https://registry.npmmirror.com/ + + https://npmmirror.com/mirrors/node/ + v16.13.2 + v1.22.15 + + + + site + + + + + com.github.eirslett + frontend-maven-plugin + + 1.12.1 + + + + install node and yarn + + install-node-and-yarn + + + generate-resources + + + set registry + + yarn + + generate-resources + + config set registry ${yarn.registry.url} + + + + yarn install + + yarn + + + + install + + + + npm install + + npm + + + + generate-resources + + + + run docs:build + + + + + ${node.version} + ${yarn.version} + + + ${node.download.url} + + + + + \ No newline at end of file diff --git a/site/src/site/sphinx/Makefile b/site/src/site/sphinx/Makefile deleted file mode 100644 index 95862165c..000000000 --- a/site/src/site/sphinx/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -SPHINXPROJ = arthas -SOURCEDIR = . -BUILDDIR = _build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file diff --git a/site/src/site/sphinx/_extensions/highlightjs.py b/site/src/site/sphinx/_extensions/highlightjs.py deleted file mode 100755 index 3a35c748e..000000000 --- a/site/src/site/sphinx/_extensions/highlightjs.py +++ /dev/null @@ -1,69 +0,0 @@ -import html - -from docutils import nodes -from pygments.formatters.html import HtmlFormatter -from six import text_type -from sphinx.pygments_styles import NoneStyle -from sphinx.writers.html import HTMLTranslator - - -# Applies syntax highlighting to a literal block if it has a class 'highlight-'. -def parsed_literal_visit_literal_block(self, node, next_visitor): - classes = node.get('classes', []) - lang = '' - for c in classes: - if c.startswith('highlight-'): - lang = c[10:].strip() - break - - if len(lang) == 0: - return next_visitor(self, node) - - def warner(msg): - self.builder.warn(msg, (self.builder.current_docname, node.line)) - - self.body.append(self.highlighter.highlight_block(node.astext(), lang, warn=warner)) - - raise nodes.SkipNode - - -class HljsHighlighter(object): - - def __init__(self, dest='html', stylename='', trim_doctest_flags=False): - self.dest = dest - self.trim_doctest_flags = trim_doctest_flags - self.formatter_args = {'style': NoneStyle} - self.formatter = HtmlFormatter - - def get_formatter(self, **kwargs): - return self.formatter - - def unhighlighted(self, source): - return '
' + html.escape(source) + '
\n' - - def highlight_block(self, source, lang, opts=None, location=None, force=False, **kwargs): - if not isinstance(source, text_type): - source = source.decode() - - if lang != None and lang != 'default': - return '
' + html.escape(source) + '
\n' - else: - return '
' + html.escape(source) + '
\n' - - def get_stylesheet(self): - return '' - - -def override_highlighter(app): - if app.builder.name == 'html': - app.builder.highlighter = HljsHighlighter() - - -def setup(app): - app.connect('builder-inited', override_highlighter) - - # Intercept the rendering of HTML literals. - old_visitor = HTMLTranslator.visit_literal_block - HTMLTranslator.visit_literal_block = lambda self, node: parsed_literal_visit_literal_block(self, node, old_visitor) - - pass diff --git a/site/src/site/sphinx/_static/add_badges.js b/site/src/site/sphinx/_static/add_badges.js deleted file mode 100644 index 4f432c764..000000000 --- a/site/src/site/sphinx/_static/add_badges.js +++ /dev/null @@ -1,33 +0,0 @@ - function addBadge(parent, src, href) { - var img = document.createElement('img'); - img.src = src; - var a = document.createElement('a'); - a.href = href; - a.appendChild(img); - parent.appendChild(a); - parent.appendChild(document.createElement('br')); - } - - function addBadges(parent) { - var li = document.createElement('li'); - li.className = 'toctree-l1'; - var div = document.createElement('div'); - div.className = 'project-badges'; - addBadge(div, 'https://img.shields.io/github/stars/alibaba/arthas.svg?style=flat-square', - 'https://github.com/alibaba/arthas'); - addBadge(div, 'https://img.shields.io/github/license/alibaba/arthas.svg?style=flat-square', - 'https://github.com/alibaba/arthas'); - addBadge(div, 'https://img.shields.io/maven-central/v/com.taobao.arthas/arthas-packaging.svg?style=flat-square', - 'https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.taobao.arthas%22%20AND%20a%3A%22arthas-packaging%22'); - li.appendChild(div); - parent.appendChild(li); - } - - var menus = document.getElementsByClassName("wy-menu wy-menu-vertical"); - if (menus.length > 0) { - var menu = menus[0]; - var lists = menu.getElementsByTagName('ul'); - if (lists.length > 0) { - addBadges(lists[0]); - } - } \ No newline at end of file diff --git a/site/src/site/sphinx/_static/center_page.js b/site/src/site/sphinx/_static/center_page.js deleted file mode 100644 index ae4d2bb31..000000000 --- a/site/src/site/sphinx/_static/center_page.js +++ /dev/null @@ -1,47 +0,0 @@ -var head = document.head || document.getElementsByTagName('head')[0]; -var style = null; - -// Centers the page content dynamically. -function centerPage() { - if (style) { - head.removeChild(style); - style = null; - } - - var windowWidth = window.innerWidth; - if (windowWidth <= 768) { - return; - } - - var sideWidth = 300; - var contentWidth = 800; - var ribbonWidth = 150; - var leftMargin = Math.max(0, (windowWidth - sideWidth - contentWidth) / 2); - var scrollbarWidth = document.body ? windowWidth - document.body.clientWidth : 0; - var css = ''; - - css += '.wy-nav-side { left: ' + leftMargin + 'px; }'; - css += "\n"; - css += '.wy-nav-content-wrap { margin-left: ' + (sideWidth + leftMargin) + 'px; }'; - css += "\n"; - css += '.github-fork-ribbon-wrapper.right { left: ' + - (Math.min(windowWidth - scrollbarWidth, sideWidth + contentWidth + leftMargin) - ribbonWidth) + 'px; }'; - css += "\n"; - - var newStyle = document.createElement('style'); - newStyle.type = 'text/css'; - if (newStyle.styleSheet) { - newStyle.styleSheet.cssText = css; - } else { - newStyle.appendChild(document.createTextNode(css)); - } - - head.appendChild(newStyle); - style = newStyle; -} - -centerPage(); -window.addEventListener('resize', centerPage); -// Adjust the position of the 'fork me at GitHub' ribbon after document.body is available, -// so that we can calculate the width of the scroll bar correctly. -window.addEventListener('DOMContentLoaded', centerPage); diff --git a/site/src/site/sphinx/_static/dashboard.png b/site/src/site/sphinx/_static/dashboard.png deleted file mode 100644 index 7eddc17d6..000000000 Binary files a/site/src/site/sphinx/_static/dashboard.png and /dev/null differ diff --git a/site/src/site/sphinx/_static/overrides.css b/site/src/site/sphinx/_static/overrides.css deleted file mode 100644 index 69c456020..000000000 --- a/site/src/site/sphinx/_static/overrides.css +++ /dev/null @@ -1,330 +0,0 @@ -@import url('https://g.alicdn.com/code/lib/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css'); -/* @import url('https://fonts.loli.net/css?family=Source+Sans+Pro:400,400i,700,700i'); */ -/* @import url('https://fonts.loli.net/css?family=Inconsolata:400,700'); */ - -html, body, .wy-grid-for-nav { - font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif; - font-weight: normal; - font-size: 15px; - line-height: 1.42857143; - background: #f0f0f0; - margin: 0; - word-break: break-word; -} - -.wy-nav-side { - font-size: 17px; -} - -.wy-nav-top { - line-height: 30px; -} - -.wy-nav-content-wrap { - background: #f0f0f0; -} - -.wy-nav-content { - background: white; - max-width: 800px; - margin: 0; -} - -.wy-nav-content p { - font-size: inherit; -} - -.wy-side-nav-search > a, .wy-side-nav-search .wy-dropdown > a { - font-weight: inherit; -} - -.wy-nav-top > a { - font-size: 125%; -} - -.wy-side-nav-search > a { - margin: 0; - display: block; -} - -.wy-side-nav-search > a img.logo { - max-width: 11.5em; - height: auto; - margin: 0 auto; - padding: 0; -} - -.wy-menu .slack-invitation, -.wy-menu .project-badges { - padding: 0.4em 1.45em 0 1.45em; - display: block; - position: relative; - line-height: 1em; -} - -.wy-menu.wy-menu-vertical .project-badges a { - display: inline; - padding: 0; -} - -.wy-menu.wy-menu-vertical .project-badges a:hover { - background: inherit; -} - -.wy-menu.wy-menu-vertical .project-badges img { - display: inline; - padding: 0; - height: 1.45em; -} - -/* Hide the Github fork ribbon on mobile view. */ -@media screen and (max-width: 768px) { - .github-fork-ribbon-wrapper { - display: none; - } -} - -/* Move the right-side breadcrumb a little bit left so that it does not overlap with the Github fork ribbon. */ -@media screen and (min-width: 769px) { - .wy-breadcrumbs-aside { - padding-right: 64px; - } -} - -.wy-breadcrumbs-aside { - margin-top: 0.225em; -} - -/* Make sure the invitation dialog appears on top of the menu whose z-index is 200. */ -.__slackin { - z-index: 1000; -} - -h1, h2, h3, h4, h5, h6 { - font-weight: inherit; -} - -/* Code blocks and literals */ -pre, code, kbd, var, samp, tt, -.rst-content div[class*='highlight'] pre, -.rst-content pre.literal-block, -.rst-content code.literal, -.rst-content tt.literal, -.wy-menu-vertical li code, -.wy-menu-vertical li tt { - font-family: 'Inconsolata', 'Consolas', 'Menlo', 'Monaco', 'Lucida Console', 'Liberation Mono', - 'DejaVu Sans Mono', monospace; - font-weight: inherit; - word-break: break-all; -} - -/* Code blocks */ -pre, -.rst-content div[class*='highlight'] pre, -.rst-content pre.literal-block { - padding: 8px 12px 12px 12px; - font-size: inherit; - overflow-x: auto; - overflow-y: hidden; - color: inherit; - - /* Not sure why, but horizontal scrollbar does not go away without this on Chrome Linux */ - width: 99.9%; -} - -/* Code block wrappers */ -.rst-content div[class*='highlight'] { - overflow: inherit; -} - -/* Literals */ -code, kbd, var, samp, tt, -tt.literal, .rst-content tt.literal, -code.literal, .rst-content code.literal { - padding-left: 0; - padding-right: 0; - background: rgba(0,0,0,0.05); - border-radius: 3px; - font-size: inherit; - color: inherit; - border: none; - white-space: pre-wrap; -} - -/* Literals in menu */ -.wy-menu tt, -.wy-menu code { - padding-left: 0; - padding-right: 0; - background: inherit; - border-radius: 0; - font-size: inherit; - color: inherit; - border: none; - white-space: pre-wrap; -} - -/* Add small padding around a literal. */ -code::before, code::after, -kbd::before, kbd::after, -var::before, var::after, -samp::before, samp::after, -tt::before, tt::after { - letter-spacing: -0.3em; - content: "\00a0"; -} - -/* Do not add small padding around a literal in menu. */ -.wy-menu tt::before, -.wy-menu tt::after, -.wy-menu code::before, -.wy-menu code::after { - content: ""; -} - -/* Do not add color to the literals in a hyperlink. */ -a .highlight * { - color: inherit !important; -} - -h1, h2, h3, h4, h5, h6 { - font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif; -} - -/* Use justify-align and hyphenation. */ -p, .rst-content li { - text-align: justify; -} -p, .rst-content li, .wy-menu li { - word-wrap: break-word; - overflow-wrap: break-word; - hyphens: auto; -} - -/* Insert space for the nested list which comes after a paragraph. */ -.rst-content li > p + ul, -.rst-content li > p + ol { - padding-bottom: 1em; -} - -/* Do not insert bottom margin if it's the last child. */ -.rst-content li:last-child > .admonition:last-child { - margin-bottom: 0; -} - -/* Do not use monospace font for download links */ -.rst-content tt.download { - font-family: inherit; -} - -/* Adjust table width */ -.rst-content table.docutils, .rst-content table.field-list { - width: 100%; -} - -/* Adjust table padding */ -.rst-content table.docutils thead th, .rst-content table.docutils td, -.rst-content table.field-list thead th, .rst-content table.field-list td { - padding: 6px 10px; -} - -/* Adjust table header borders */ -.wy-table thead th, .rst-content table.docutils thead th, .rst-content table.field-list thead th { - border-left: solid 1px #e1e4e5; - border-right: solid 1px #e1e4e5; - border-bottom-width: 1px; -} - -/* Allow wrapping table content */ -.wy-table-responsive table td { - white-space: inherit; - word-wrap: break-word; - overflow-wrap: break-word; - hyphens: auto; - text-align: justify; -} - -/* Do not add left-margin for line-blocks */ -.rst-content .line-block { - margin-left: 0px; -} - -/* Adjust the height of the top navbar */ -.wy-nav-top { - line-height: 43px; -} - -/* Center the PlantUML diagrams */ -.plantuml { - text-align: center; -} - -/* Plural suffix inside code should not be monospaced. */ -code .plural-suffix { - font-family: 'Source Sans Pro', 'Helvetica', 'Arial', sans-serif; -} - -/* highlightjs style begins */ -div.hljs { - background: inherit; - padding: 0; -} -pre.hljs { - background: rgba(0, 0, 0, 0.01); /* 1% darker background */ -} -td.hljs-ln-numbers, td.hljs-ln-code { - line-height: 1.067em; -} -td.hljs-ln-numbers { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - - text-align: right; - color: #ccc; - border-right: 1px solid #CCC; - vertical-align: top; - padding-right: 8px !important; -} -td.hljs-ln-code { - padding-left: 8px !important; -} -/* highlightjs style ends */ - -/* branding begins. */ -.wy-nav-top, .wy-side-nav-search { - background-color: #3a3a3a; -} - -.wy-side-nav-search input[type="text"] { - border-color: #3a3a3a; -} - -.wy-nav-side { - background-color: #f8f8f8; -} - -.wy-menu a { - color: #666666; -} - -.wy-menu a:active, .wy-menu a:hover { - background-color: #d6d6d6; -} - -.wy-menu li.current a { - border-right-width: 0px; -} -/* branding ends. */ - - -blockquote { - margin-top: 10px; - margin-bottom: 10px; - margin-left: 50px; - padding-left: 15px; - border-left: 3px solid #ccc; -} \ No newline at end of file diff --git a/site/src/site/sphinx/_static/trace.png b/site/src/site/sphinx/_static/trace.png deleted file mode 100644 index d7fa4692d..000000000 Binary files a/site/src/site/sphinx/_static/trace.png and /dev/null differ diff --git a/site/src/site/sphinx/_static/web-console-local.png b/site/src/site/sphinx/_static/web-console-local.png deleted file mode 100644 index 56f44e4f2..000000000 Binary files a/site/src/site/sphinx/_static/web-console-local.png and /dev/null differ diff --git a/site/src/site/sphinx/_templates/breadcrumbs.html b/site/src/site/sphinx/_templates/breadcrumbs.html deleted file mode 100644 index aa4a9272f..000000000 --- a/site/src/site/sphinx/_templates/breadcrumbs.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "!breadcrumbs.html" %} -{% set display_github = True %} -{% set github_user = 'alibaba' %} -{% set github_repo = 'arthas' %} -{% set theme_vcs_pageview_mode = 'blob' %} -{% set github_version = 'master' %} -{% set conf_py_path = "/site/src/site/sphinx/" %} -{% if language == 'en' %} - {% set conf_py_path = "/site/src/site/sphinx/en/" %} -{% endif %} diff --git a/site/src/site/sphinx/_templates/layout.html b/site/src/site/sphinx/_templates/layout.html deleted file mode 100644 index 1ba564431..000000000 --- a/site/src/site/sphinx/_templates/layout.html +++ /dev/null @@ -1,47 +0,0 @@ -{% extends "!layout.html" %} -{% set sticky_navigation = True %} -{% set extra_css_files = ['_static/overrides.css'] %} -{% block extrahead %} - - - - -{{ super() }} -{% endblock %} -{% block footer %} - - - - - - - - - - - - - -{{ super() }} -{% endblock %} diff --git a/site/src/site/sphinx/arthas.png b/site/src/site/sphinx/arthas.png deleted file mode 100644 index 73317782d..000000000 Binary files a/site/src/site/sphinx/arthas.png and /dev/null differ diff --git a/site/src/site/sphinx/arthas_3_0/new_feature.md b/site/src/site/sphinx/arthas_3_0/new_feature.md deleted file mode 100644 index 044a75a9a..000000000 --- a/site/src/site/sphinx/arthas_3_0/new_feature.md +++ /dev/null @@ -1,196 +0,0 @@ -Arthas 3.0新特性介绍 -=== - -Arthas 3.0在架构上做了重大改造,通过引入`termd`完整的支持了telnet协议,并基于websocket封装了telnet协议实现了`Telnet over HTTP`,使得在线诊断成为了可能,并且保证了本地启动,telnet远程访问,在线诊断三种方式的体验完全一致。都支持自动补全,高亮显示等功能。并且支持`多人同时在线诊断`。 - -### 在线诊断 - -Arthas 3.0最重要的特性,通过Arthas在线诊断平台,无需再登陆目标机器,一键启动Arthas并开启诊断! - -![image](TODO image.png) - - -具体使用方法请参见[在线诊断使用说明](https://github.com/alibaba/arthas/wiki/arthas_3_0/home) - -### 管道支持 - -Arthas 3.0开始支持管道, 率先提供了`grep`,`wc`,`plaintext`的支持。 - -```bash - java.vendor.url http://java.oracle.com/ - java.vm.vendor Oracle Corporation - java.runtime.name Java(TM) SE Runtime Environment - sun.java.command org.apache.catalina.startup.Bootstrap start - java.class.path /Users/wangtao/work/ali-tomcat-home/ant-develop/output/build/bin/bootstrap.jar - java.vm.specification.name Java Virtual Machine Specification - java.vm.specification.version 1.8 - java.awt.headless true - java.io.tmpdir /Users/wangtao/work/ali-tomcat-home/ant-develop/output/build/temp - java.vendor.url.bug http://bugreport.sun.com/bugreport/ - java.awt.graphicsenv sun.awt.CGraphicsEnvironment - java.ext.dirs /Users/wangtao/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1. - /Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java - java.vm.name Java HotSpot(TM) 64-Bit Server VM - java.specification.version 1.8 -$ sysprop | grep java | wc -l -36 -``` - - -### 启动自检 - -针对启动时经常出现的权限问题,在启动脚本中增加了自检逻辑,脚本会自动判断目标进程是否具备attach权限,并给出进一步的提示。 - -``` -[huxing.zhx@v125056161.bja /home/huxing.zhx] -$./as.sh 32260 -The current user (huxing.zhx) does not match with the owner of process 32260 (admin). -To solve this, choose one of the following command: - 1) sudo su admin && ./as.sh - 2) sudo -u admin -EH ./as.sh -``` - - -### 去groovy依赖 - -groovy表达式在arthas2.0中大量使用,例如watch表达式 - -```bash -watch com.alibaba.sample.petstore.web.store.module.screen.ItemList add "params + ' ' + returnObj" params.size()==2 -``` - -其中`"params + ' ' + returnObj"`以及`params.size()==2`背后其实都使用了groovy来进行表达式求值,如果反复大量的运行这些表达式,groovy会创建大量的classloader,打满perm区从而触发FGC。 - -为了避免这个问题,Arthas 3.0中使用了ognl这个更加轻量的表达式求值库来代替groovy,彻底解决了groovy引起的FGC风险。但由于这个替换,导致原来使用groovy脚本编写的自定义脚本失效。这个问题留待后续解决。 - -在3.0中,watch命令的表达式部分的书写有了一些改变,详见[这里](https://arthas.aliyun.com/doc/watch) -### 提升rt统计精度 - -Arthas 2.0中,统计rt都是以`ms`为单位,对于某些比较小的方法调用,耗时在毫秒以下的都会被认为是0ms,造成trace总时间和各方法的时间相加不一致等问题(虽然这里面确实会有误差,主要Arthas自身的开销)。Arthas 3.0中所有rt的单位统一改为使用`ns`来统计,精准捕获你的方法耗时,让0ms这样无意义的统计数据不再出现! - -``` -$ tt -l - INDEX TIMESTAMP COST(ms) IS-RET IS-EXP OBJECT CLASS METHOD ------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1000 2017-02-24 10:56:46 808.743525 true false 0x3bd5e918 TestTraceServlet doGet - 1001 2017-02-24 10:56:55 805.799155 true false 0x3bd5e918 TestTraceServlet doGet - 1002 2017-02-24 10:57:04 808.026935 true false 0x3bd5e918 TestTraceServlet doGet - 1003 2017-02-24 10:57:22 805.036963 true false 0x3bd5e918 TestTraceServlet doGet - 1004 2017-02-24 10:57:24 803.581886 true false 0x3bd5e918 TestTraceServlet doGet - 1005 2017-02-24 10:57:39 814.657657 true false 0x3bd5e918 TestTraceServlet doGet -``` - -### watch/stack/trace命令支持按耗时过滤 - -我们在trace的时候,经常会出现某个方法间隙性的rt飙高,但是我们只想知道rt高的时候,是哪里慢了,对于正常rt的方法我们并不关心,Arthas 3.0支持了按`#cost`(方法执行耗时,单位为`ms`)进行过滤,只输出符合条件的trace路径。 - -具体用法为: - -``` -trace/watch/stack class_name method cost_expression -``` - -例如: - -``` -$ trace test.arthas.TestTraceServlet doGet #cost>800 -Press Ctrl+C to abort. -Affect(class-cnt:1 , method-cnt:1) cost in 137 ms. -trace test.arthas.TestTraceServlet doGet #cost>800 -`---thread_name=http-bio-8080-exec-9;id=6e;is_daemon=true;priority=5;TCCL=org.apache.catalina.loader.WebappClassLoader - `---[816.880001ms] test.arthas.TestTraceServlet:doGet() - +---[min=0.019223ms,max=1.192115ms,total=1.211338ms,count=2] java.lang.System:currentTimeMillis() - +---[1.407006ms] test.arthas.TestTraceServlet:call1() - +---[381.970892ms] test.arthas.TestTraceServlet:callhsfL1() - +---[0.018866ms] test.arthas.TestPathTrace:() - +---[375.753301ms] test.arthas.TestPathTrace:callPathTrace() - +---[12.352252ms] test.arthas.TestTraceServlet:call3() - +---[2.758025ms] test.arthas.TestTraceServlet:call4() - +---[1.246057ms] test.arthas.TestTraceServlet:call5() - +---[10.306568ms] test.arthas.TestTraceServlet:call6() - +---[8.891933ms] test.arthas.TestTraceServlet:call7() - +---[4.030325ms] test.arthas.TestTraceServlet:call8() - +---[6.51316ms] test.arthas.TestTraceServlet:call9() - +---[0.059405ms] javax.servlet.http.HttpServletResponse:getWriter() - +---[0.013107ms] java.lang.StringBuilder:() - +---[min=0.004892ms,max=0.06357ms,total=0.100672ms,count=3] java.lang.StringBuilder:append() - +---[0.018255ms] java.lang.StringBuilder:toString() - `---[0.028812ms] java.io.PrintWriter:write() -``` - -上述命令只有当`test.arthas.TestTraceServlet#doGet`方法执行耗时大于800ms时才会输出。 - -### trace命令优化 - -#### 自动高亮显示最耗时方法调用 - -trace命令现在会自动显示 - -![image](TODO/image.png) - - -#### 带条件过滤的多级trace - -目前trace默认只输出一级方法调用耗时,有时候并不能完全看出问题。但是如果展开多级的话,每一个方法的耗时都统计,会造成方法数量迅速膨胀,大大增加trace的开销。 - -TODO - -#### 显示当前线程的信息及eagleeye的traceId - -``` -trace test.arthas.TestTraceServlet doGet -`---thread_name=http-bio-8080-exec-10;id=da;is_daemon=true;priority=5;TCCL=org.apache.catalina.loader.WebappClassLoader;trace_id=1e09489014879085429791006d969d -``` - - -### sysprop命令操作SystemProperty - -sysprop命令支持查看所有的系统属性,以及针对特定属性进行查看和修改。 - -``` -$ sysprop -... - os.arch x86_64 - java.ext.dirs /Users/wangtao/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1. - 8.0_51.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library - /Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java - user.dir /Users/wangtao/work/ali-tomcat-home/ant-develop/output/build - catalina.vendor alibaba - line.separator - - java.vm.name Java HotSpot(TM) 64-Bit Server VM - file.encoding UTF-8 - org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUA true - LS_IN_VALUE - com.taobao.tomcat.info Apache Tomcat/7.0.70.1548 - java.specification.version 1.8 -$ sysprop java.version -java.version=1.8.0_51 -$ sysprop production.mode true -Successfully changed the system property. -production.mode=true -``` - -### thread命令支持指定采样时间 - -thread命令计算线程cpu占用的逻辑,默认是采样100ms内各个线程的cpu使用情况并计算cpu消耗占比。有时候100ms的时间间隔太短,看不出问题所在,Arthas3.0中thread命令支持设置采样间隔(以`ms`为单位),可以观察任意时间段内的cpu消耗占比情况。 - -``` -$ thread -i 1000 -Threads Total: 74, NEW: 0, RUNNABLE: 17, BLOCKED: 0, WAITING: 15, TIMED_WAITING: 42, TERMINATED: 0 -ID NAME GROUP PRIORITY STATE %CPU TIME INTERRUPTED DAEMON -78 com.taobao.config.client.timer main 5 TIMED_WAITING 22 0:0 false true -92 Abandoned connection cleanup thread main 5 TIMED_WAITING 15 0:2 false true -361 as-command-execute-daemon system 10 RUNNABLE 14 0:0 false true -67 HSF-Remoting-Timer-10-thread-1 main 10 TIMED_WAITING 12 0:2 false true -113 JamScheduleThread system 9 TIMED_WAITING 2 0:0 false true -14 Thread-3 main 5 RUNNABLE 2 0:0 false false -81 com.taobao.remoting.TimerThread main 5 TIMED_WAITING 2 0:0 false true -104 http-bio-7001-AsyncTimeout main 5 TIMED_WAITING 2 0:0 false true -123 nioEventLoopGroup-2-1 system 10 RUNNABLE 2 0:0 false false -127 nioEventLoopGroup-3-2 system 10 RUNNABLE 2 0:0 false false -345 nioEventLoopGroup-3-3 system 10 RUNNABLE 2 0:0 false false -358 nioEventLoopGroup-3-4 system 10 RUNNABLE 2 0:0 false false -27 qos-boss-1-1 main 5 RUNNABLE 2 0:0 false true -22 EagleEye-AsyncAppender-Thread-BizLog main 5 TIMED_WAITING 1 0:0 false true -``` \ No newline at end of file diff --git a/site/src/site/sphinx/conf.py b/site/src/site/sphinx/conf.py deleted file mode 100644 index 52f586940..000000000 --- a/site/src/site/sphinx/conf.py +++ /dev/null @@ -1,319 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Arthas documentation build configuration file -# - - -import sys -import os -import shlex -import urllib -import xml.etree.ElementTree as ET - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('..')) -import recommonmark -from recommonmark.parser import CommonMarkParser -from recommonmark.transform import AutoStructify - -source_parsers = { - '.md': CommonMarkParser -} - -source_suffix = ['.rst', '.md'] - -# -- General configuration ------------------------------------------------ - -# If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom -# ones. -sys.path.append(os.path.abspath('_extensions')) -extensions = [ - 'sphinx.ext.autodoc', - 'sphinx.ext.napoleon', - 'sphinx.ext.mathjax', - 'sphinx_markdown_tables', -# 'sphinxcontrib.inlinesyntaxhighlight', - 'highlightjs', -] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The encoding of source files. -#source_encoding = 'utf-8-sig' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'Arthas' -copyright = u'2018-2020, Alibaba Middleware Group, and contributors' -author = u'Alibaba Middleware Group, and contributors' - -github_doc_root = 'https://github.com/alibaba/arthas/tree/master/site/src/site/sphinx/' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -# version = -# The full version, including alpha/beta/rc tagss -# release = -# read version from pom.xml -rootDir = os.path.dirname(os.path.abspath(__file__)) + '/../../../..' -pomXml = ET.parse(rootDir + '/pom.xml') - -for projectChildrenElem in list(pomXml.getroot()): - if projectChildrenElem.tag == '{http://maven.apache.org/POM/4.0.0}properties': - for parentChildrenElem in list(projectChildrenElem): - if parentChildrenElem.tag == '{http://maven.apache.org/POM/4.0.0}revision': - version = parentChildrenElem.text - -# if version is SNAPSHOT, read final release from maven center -if version.endswith('SNAPSHOT'): - metaXmlUrl = urllib.request.urlopen('https://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/maven-metadata.xml') - metaXml=ET.parse(metaXmlUrl) - for metadataChildrenElem in list(metaXml.getroot()): - if metadataChildrenElem.tag == 'versioning': - for versioningChildrenElem in list(metadataChildrenElem): - if versioningChildrenElem.tag == 'release': - version = versioningChildrenElem.text -release = version - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = u'zh_CN' - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -#today_fmt = '%B %d, %Y' - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store', u'en'] - -# The reST default role (used for this markup: `text`) to use for all -# documents. -#default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -#add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -#show_authors = False - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] - -# If true, keep warnings as "system message" paragraphs in the built documents. -#keep_warnings = False - -# If true, `todo` and `todoList` produce output, else they produce nothing. -todo_include_todos = False - - -# -- Options for HTML output ---------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -html_theme = 'sphinx_rtd_theme' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -html_favicon = "favicon.ico" - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# Add any extra paths that contain custom files (such as robots.txt or -# .htaccess) here, relative to this directory. These files are copied -# directly to the root of the documentation. -html_extra_path = ['_include_html'] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -#html_sidebars = {} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_domain_indices = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. -#html_show_sphinx = True - -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. -#html_show_copyright = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# This is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = None - -# Language to be used for generating the HTML full-text search index. -# Sphinx supports the following languages: -# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' -# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' -#html_search_language = 'en' - -# A dictionary with options for the search language support, empty by default. -# Now only 'ja' uses this config value -#html_search_options = {'type': 'default'} - -# The name of a javascript file (relative to the configuration directory) that -# implements a search results scorer. If empty, the default will be used. -#html_search_scorer = 'scorer.js' - -# Output file base name for HTML help builder. -htmlhelp_basename = 'Arthas' - -# -- Options for LaTeX output --------------------------------------------- - -latex_elements = { -# The paper size ('letterpaper' or 'a4paper'). -#'papersize': 'letterpaper', - -# The font size ('10pt', '11pt' or '12pt'). -#'pointsize': '10pt', - -# Additional stuff for the LaTeX preamble. -#'preamble': '', - -# Latex figure (float) alignment -#'figure_align': 'htbp', -} - - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -#latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -#latex_use_parts = False - -# If true, show page references after internal links. -#latex_show_pagerefs = False - -# If true, show URL addresses after external links. -#latex_show_urls = False - -# Documents to append as an appendix to all manuals. -#latex_appendices = [] - -# If false, no module index is generated. -#latex_domain_indices = True - - -# -- Options for manual page output --------------------------------------- - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - (master_doc, 'arthas', u'Arthas Documentation', - [author], 1) -] - -# If true, show URL addresses after external links. -#man_show_urls = False - - -# -- Options for Texinfo output ------------------------------------------- - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - (master_doc, 'Arthas', u'Arthas Documentation', - author, 'Arthas', 'One line description of project.', - 'Miscellaneous'), -] - -# Documents to append as an appendix to all manuals. -#texinfo_appendices = [] - -# If false, no module index is generated. -#texinfo_domain_indices = True - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#texinfo_show_urls = 'footnote' - -# If true, do not generate a @detailmenu in the "Top" node's menu. -#texinfo_no_detailmenu = False - -# sphinxcontrib-inlinesyntaxhighlight options -#inline_highlight_literals = False - -# app setup hook -def setup(app): - app.add_config_value('recommonmark_config', { - # 'url_resolver': lambda url: github_doc_root + url, - # 'auto_toc_tree_section': 'Contents', - 'enable_eval_rst': True, - # 'enable_auto_doc_ref': True, - 'enable_auto_toc_tree': True, - }, True) - app.add_transform(AutoStructify) diff --git a/site/src/site/sphinx/en/Makefile b/site/src/site/sphinx/en/Makefile deleted file mode 100644 index 95862165c..000000000 --- a/site/src/site/sphinx/en/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -SPHINXPROJ = arthas -SOURCEDIR = . -BUILDDIR = _build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) \ No newline at end of file diff --git a/site/src/site/sphinx/en/_extensions b/site/src/site/sphinx/en/_extensions deleted file mode 120000 index 3bc7f121c..000000000 --- a/site/src/site/sphinx/en/_extensions +++ /dev/null @@ -1 +0,0 @@ -../_extensions/ \ No newline at end of file diff --git a/site/src/site/sphinx/en/_static b/site/src/site/sphinx/en/_static deleted file mode 120000 index 8b79f58d6..000000000 --- a/site/src/site/sphinx/en/_static +++ /dev/null @@ -1 +0,0 @@ -../_static/ \ No newline at end of file diff --git a/site/src/site/sphinx/en/_templates b/site/src/site/sphinx/en/_templates deleted file mode 120000 index 2fd057ea8..000000000 --- a/site/src/site/sphinx/en/_templates +++ /dev/null @@ -1 +0,0 @@ -../_templates/ \ No newline at end of file diff --git a/site/src/site/sphinx/en/arthas.png b/site/src/site/sphinx/en/arthas.png deleted file mode 120000 index b808d2f01..000000000 --- a/site/src/site/sphinx/en/arthas.png +++ /dev/null @@ -1 +0,0 @@ -../arthas.png \ No newline at end of file diff --git a/site/src/site/sphinx/en/conf.py b/site/src/site/sphinx/en/conf.py deleted file mode 100644 index 67e9b6aee..000000000 --- a/site/src/site/sphinx/en/conf.py +++ /dev/null @@ -1,319 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Arthas documentation build configuration file -# - - -import sys -import os -import shlex -import urllib -import xml.etree.ElementTree as ET - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('..')) -import recommonmark -from recommonmark.parser import CommonMarkParser -from recommonmark.transform import AutoStructify - -source_parsers = { - '.md': CommonMarkParser -} - -source_suffix = ['.rst', '.md'] - -# -- General configuration ------------------------------------------------ - -# If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom -# ones. -sys.path.append(os.path.abspath('_extensions')) -extensions = [ - 'sphinx.ext.autodoc', - 'sphinx.ext.napoleon', - 'sphinx.ext.mathjax', - 'sphinx_markdown_tables', -# 'sphinxcontrib.inlinesyntaxhighlight', - 'highlightjs', -] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The encoding of source files. -#source_encoding = 'utf-8-sig' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'Arthas' -copyright = u'2018-2020, Alibaba Middleware Group, and contributors' -author = u'Alibaba Middleware Group, and contributors' - -github_doc_root = 'https://github.com/alibaba/arthas/tree/master/site/src/site/sphinx/en/' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -# version = -# The full version, including alpha/beta/rc tagss -# release = -# read version from pom.xml -rootDir = os.path.dirname(os.path.abspath(__file__)) + '/../../../../..' -pomXml = ET.parse(rootDir + '/pom.xml') - -for projectChildrenElem in list(pomXml.getroot()): - if projectChildrenElem.tag == '{http://maven.apache.org/POM/4.0.0}properties': - for parentChildrenElem in list(projectChildrenElem): - if parentChildrenElem.tag == '{http://maven.apache.org/POM/4.0.0}revision': - version = parentChildrenElem.text - -# if version is SNAPSHOT, read final release from maven center -if version.endswith('SNAPSHOT'): - metaXmlUrl = urllib.request.urlopen('https://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/maven-metadata.xml') - metaXml=ET.parse(metaXmlUrl) - for metadataChildrenElem in list(metaXml.getroot()): - if metadataChildrenElem.tag == 'versioning': - for versioningChildrenElem in list(metadataChildrenElem): - if versioningChildrenElem.tag == 'release': - version = versioningChildrenElem.text -release = version - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = u'en' - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -#today_fmt = '%B %d, %Y' - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store'] - -# The reST default role (used for this markup: `text`) to use for all -# documents. -#default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -#add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -#show_authors = False - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] - -# If true, keep warnings as "system message" paragraphs in the built documents. -#keep_warnings = False - -# If true, `todo` and `todoList` produce output, else they produce nothing. -todo_include_todos = False - - -# -- Options for HTML output ---------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -html_theme = 'sphinx_rtd_theme' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -html_favicon = "favicon.ico" - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# Add any extra paths that contain custom files (such as robots.txt or -# .htaccess) here, relative to this directory. These files are copied -# directly to the root of the documentation. -#html_extra_path = [] - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -#html_sidebars = {} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_domain_indices = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. -#html_show_sphinx = True - -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. -#html_show_copyright = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# This is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = None - -# Language to be used for generating the HTML full-text search index. -# Sphinx supports the following languages: -# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' -# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' -html_search_language = 'en' - -# A dictionary with options for the search language support, empty by default. -# Now only 'ja' uses this config value -#html_search_options = {'type': 'default'} - -# The name of a javascript file (relative to the configuration directory) that -# implements a search results scorer. If empty, the default will be used. -#html_search_scorer = 'scorer.js' - -# Output file base name for HTML help builder. -htmlhelp_basename = 'Arthas' - -# -- Options for LaTeX output --------------------------------------------- - -latex_elements = { -# The paper size ('letterpaper' or 'a4paper'). -#'papersize': 'letterpaper', - -# The font size ('10pt', '11pt' or '12pt'). -#'pointsize': '10pt', - -# Additional stuff for the LaTeX preamble. -#'preamble': '', - -# Latex figure (float) alignment -#'figure_align': 'htbp', -} - - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -#latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -#latex_use_parts = False - -# If true, show page references after internal links. -#latex_show_pagerefs = False - -# If true, show URL addresses after external links. -#latex_show_urls = False - -# Documents to append as an appendix to all manuals. -#latex_appendices = [] - -# If false, no module index is generated. -#latex_domain_indices = True - - -# -- Options for manual page output --------------------------------------- - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - (master_doc, 'arthas', u'Arthas Documentation', - [author], 1) -] - -# If true, show URL addresses after external links. -#man_show_urls = False - - -# -- Options for Texinfo output ------------------------------------------- - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - (master_doc, 'Arthas', u'Arthas Documentation', - author, 'Arthas', 'One line description of project.', - 'Miscellaneous'), -] - -# Documents to append as an appendix to all manuals. -#texinfo_appendices = [] - -# If false, no module index is generated. -#texinfo_domain_indices = True - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#texinfo_show_urls = 'footnote' - -# If true, do not generate a @detailmenu in the "Top" node's menu. -#texinfo_no_detailmenu = False - -# sphinxcontrib-inlinesyntaxhighlight options -#inline_highlight_literals = False - -# app setup hook -def setup(app): - app.add_config_value('recommonmark_config', { - # 'url_resolver': lambda url: github_doc_root + url, - # 'auto_toc_tree_section': 'Contents', - 'enable_eval_rst': True, - # 'enable_auto_doc_ref': True, - 'enable_auto_toc_tree': True, - }, True) - app.add_transform(AutoStructify) diff --git a/site/src/site/sphinx/en/favicon.ico b/site/src/site/sphinx/en/favicon.ico deleted file mode 120000 index cf3a36c6f..000000000 --- a/site/src/site/sphinx/en/favicon.ico +++ /dev/null @@ -1 +0,0 @@ -../favicon.ico \ No newline at end of file diff --git a/site/src/site/sphinx/en/make.bat b/site/src/site/sphinx/en/make.bat deleted file mode 100644 index cfc03583b..000000000 --- a/site/src/site/sphinx/en/make.bat +++ /dev/null @@ -1,36 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=. -set BUILDDIR=_build -set SPHINXPROJ=arthas - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% - -:end -popd diff --git a/site/src/site/sphinx/make.bat b/site/src/site/sphinx/make.bat deleted file mode 100644 index cfc03583b..000000000 --- a/site/src/site/sphinx/make.bat +++ /dev/null @@ -1,36 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=. -set BUILDDIR=_build -set SPHINXPROJ=arthas - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% - -:end -popd