Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update online tutorials, switch to killercoda #2633

Merged
merged 3 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Welcome to use [issue tracker](https://github.com/alibaba/arthas/issues) to give

## Online Tutorials

Please refer to [README.MD at tutorials/katacoda](tutorials/katacoda/README.md#contribution-guide)
Please refer to [README.MD at killercoda branch](https://github.com/alibaba/arthas/tree/killercoda/README.md#contribution-guide)

## Developer

Expand Down Expand Up @@ -79,7 +79,7 @@ Tip: you can use `--versions` to list all available versions.

## 改进在线教程

请参考[tutorials/katacoda下的说明](tutorials/katacoda/README_CN.md#贡献指南)
请参考[killercoda 分支下的说明](https://github.com/alibaba/arthas/tree/killercoda/README_CN.md#贡献指南)

## 开发者相关

Expand Down
2 changes: 1 addition & 1 deletion site/docs/.vuepress/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const addOldDocsContributors = () => {
return contributors.find(
(contributor) =>
contributor.name === oldContributor.name &&
contributor.email === oldContributor.email
contributor.email === oldContributor.email,
);
};

Expand Down
2 changes: 1 addition & 1 deletion site/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default defineUserConfig({
.map((page) => [
page.path.replace(/^\/en\/doc\//, "/doc/en/"),
page.path,
])
]),
);

delete redirects["/doc/en/"];
Expand Down
107 changes: 48 additions & 59 deletions site/docs/.vuepress/configs/sidebar/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,89 +7,78 @@ export const sidebarEN = {
"/en/doc/quick-start.md",
"/en/doc/install-detail.md",
"/en/doc/download.md",
"/en/doc/advanced-use.md",
{
text: "Other features",
collapsible: true,
children: [
"/en/doc/async.md",
"/en/doc/save-log.md",
"/en/doc/batch-support.md",
{
text: "How to use ognl",
link: "",
children: [
{
text: "Basic ognl example",
link: "https://github.com/alibaba/arthas/issues/11",
},
{
text: "Ognl special uses",
link: "https://github.com/alibaba/arthas/issues/71",
},
],
},
],
},
"/en/doc/advice-class.html",
{
text: "All Commands",
link: "/en/doc/commands.md",
collapsible: true,
children: [
"/en/doc/auth.md",
"/en/doc/base64.md",
"/en/doc/cat.md",
"/en/doc/classloader.md",
"/en/doc/cls.md",
"/en/doc/dashboard.md",
"/en/doc/dump.md",
"/en/doc/echo.md",
"/en/doc/getstatic.md",
"/en/doc/grep.md",
"/en/doc/heapdump.md",
"/en/doc/help.md",
"/en/doc/history.md",
"/en/doc/jad.md",
"/en/doc/jfr.md",
"/en/doc/jvm.md",
"/en/doc/keymap.md",
"/en/doc/logger.md",
"/en/doc/mbean.md",
"/en/doc/mc.md",
"/en/doc/memory.md",
"/en/doc/monitor.md",
"/en/doc/ognl.md",
"/en/doc/options.md",
"/en/doc/perfcounter.md",
"/en/doc/sysenv.md",
"/en/doc/sysprop.md",
"/en/doc/thread.md",
"/en/doc/vmoption.md",
"/en/doc/vmtool.md",
"/en/doc/classloader.md",
"/en/doc/dump.md",
"/en/doc/jad.md",
"/en/doc/mc.md",
"/en/doc/redefine.md",
"/en/doc/retransform.md",
"/en/doc/sc.md",
"/en/doc/sm.md",
"/en/doc/monitor.md",
"/en/doc/stack.md",
"/en/doc/trace.md",
"/en/doc/tt.md",
"/en/doc/watch.md",
"/en/doc/profiler.md",
"/en/doc/jfr.md",
"/en/doc/auth.md",
"/en/doc/options.md",
"/en/doc/base64.md",
"/en/doc/cat.md",
"/en/doc/cls.md",
"/en/doc/echo.md",
"/en/doc/grep.md",
"/en/doc/help.md",
"/en/doc/history.md",
"/en/doc/keymap.md",
"/en/doc/pwd.md",
"/en/doc/quit.md",
"/en/doc/redefine.md",
"/en/doc/reset.md",
"/en/doc/retransform.md",
"/en/doc/sc.md",
"/en/doc/session.md",
"/en/doc/sm.md",
"/en/doc/stack.md",
"/en/doc/stop.md",
"/en/doc/sysenv.md",
"/en/doc/sysprop.md",
"/en/doc/tee.md",
"/en/doc/thread.md",
"/en/doc/trace.md",
"/en/doc/tt.md",
"/en/doc/version.md",
"/en/doc/vmoption.md",
"/en/doc/vmtool.md",
"/en/doc/watch.md",
],
},
{
text: "Other features",
link: "/en/doc/advanced-use.md",
collapsible: true,
children: [
"/en/doc/async.md",
"/en/doc/save-log.md",
"/en/doc/docker.md",
"/en/doc/web-console.md",
"/en/doc/tunnel.md",
"/en/doc/idea-plugin.md",
"/en/doc/arthas-properties.html",
"/en/doc/agent.html",
"/en/doc/spring-boot-starter.md",
"/en/doc/http-api.md",
"/en/doc/batch-support.md",
],
},
"/en/doc/web-console.md",
"/en/doc/tunnel.md",
"/en/doc/http-api.md",
"/en/doc/docker.md",
"/en/doc/spring-boot-starter.md",
"/en/doc/idea-plugin.md",
"/en/doc/faq.md",
{
text: "User cases",
Expand Down
109 changes: 49 additions & 60 deletions site/docs/.vuepress/configs/sidebar/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,89 +7,78 @@ export const sidebarZH = {
"/doc/quick-start.md",
"/doc/install-detail.md",
"/doc/download.md",
"/doc/advanced-use.md",
{
text: "其他特性",
collapsible: true,
children: [
"/doc/async.md",
"/doc/save-log.md",
"/doc/batch-support.md",
{
text: "ognl 表达式用法",
link: "",
children: [
{
text: "活用ognl表达式",
link: "https://github.com/alibaba/arthas/issues/11",
},
{
text: "一些ognl特殊用法",
link: "https://github.com/alibaba/arthas/issues/71",
},
],
},
],
},
"/doc/advice-class.html",
{
text: "命令列表",
link: "/doc/commands.md",
collapsible: true,
children: [
"/doc/auth.md",
"/doc/base64.md",
"/doc/cat.md",
"/doc/classloader.md",
"/doc/cls.md",
"/doc/dashboard.md",
"/doc/dump.md",
"/doc/echo.md",
"/doc/getstatic.md",
"/doc/grep.md",
"/doc/heapdump.md",
"/doc/help.md",
"/doc/history.md",
"/doc/jad.md",
"/doc/jfr.md",
"/doc/jvm.md",
"/doc/keymap.md",
"/doc/logger.md",
"/doc/mbean.md",
"/doc/mc.md",
"/doc/memory.md",
"/doc/monitor.md",
"/doc/ognl.md",
"/doc/options.md",
"/doc/perfcounter.md",
"/doc/sysenv.md",
"/doc/sysprop.md",
"/doc/thread.md",
"/doc/vmoption.md",
"/doc/vmtool.md",
"/doc/classloader.md",
"/doc/dump.md",
"/doc/jad.md",
"/doc/mc.md",
"/doc/redefine.md",
"/doc/retransform.md",
"/doc/sc.md",
"/doc/sm.md",
"/doc/monitor.md",
"/doc/stack.md",
"/doc/trace.md",
"/doc/tt.md",
"/doc/watch.md",
"/doc/profiler.md",
"/doc/jfr.md",
"/doc/auth.md",
"/doc/options.md",
"/doc/base64.md",
"/doc/cat.md",
"/doc/cls.md",
"/doc/echo.md",
"/doc/grep.md",
"/doc/help.md",
"/doc/history.md",
"/doc/keymap.md",
"/doc/pwd.md",
"/doc/quit.md",
"/doc/redefine.md",
"/doc/reset.md",
"/doc/retransform.md",
"/doc/sc.md",
"/doc/session.md",
"/doc/sm.md",
"/doc/stack.md",
"/doc/stop.md",
"/doc/sysenv.md",
"/doc/sysprop.md",
"/doc/tee.md",
"/doc/thread.md",
"/doc/trace.md",
"/doc/tt.md",
"/doc/version.md",
"/doc/vmoption.md",
"/doc/vmtool.md",
"/doc/watch.md",
],
},
{
text: "其他特性",
link: "/doc/advanced-use.md",
collapsible: true,
children: [
"/doc/async.md",
"/doc/save-log.md",
"/doc/docker.md",
"/doc/web-console.md",
"/doc/tunnel.md",
"/doc/idea-plugin.md",
"/doc/arthas-properties.html",
"/doc/agent.html",
"/doc/spring-boot-starter.md",
"/doc/http-api.md",
"/doc/batch-support.md",
],
},
"/doc/web-console.md",
"/doc/tunnel.md",
"/doc/http-api.md",
"/doc/docker.md",
"/doc/spring-boot-starter.md",
"/doc/idea-plugin.md",
"/doc/faq.md",
{
text: "用户案例",
Expand All @@ -108,7 +97,7 @@ export const sidebarZH = {
link: "https://github.com/alibaba/arthas/releases",
},
{
text: "QQ群/钉钉群",
text: "QQ 群/钉钉群",
link: "/doc/contact-us.md",
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function loadVersionPlugin() {

const getVersionByMaven = async () => {
return await fetch(
"https://search.maven.org/solrsearch/select?q=arthas&rows=1&wt=json"
"https://search.maven.org/solrsearch/select?q=arthas&rows=1&wt=json",
)
.then((res) => res.json())
.then((res) => res.response.docs[0].latestVersion);
Expand Down
Loading