Skip to content

Commit

Permalink
refactor: move to root
Browse files Browse the repository at this point in the history
  • Loading branch information
mikucat0309 committed Apr 4, 2024
1 parent 7cb6d90 commit 2a4f98c
Show file tree
Hide file tree
Showing 38 changed files with 88 additions and 92 deletions.
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Qingdao University Online Judge

- Based on Docker; One-click deployment
- ACM/OI rule support; realtime/non-realtime rank support
- Multi-language support
- Markdown & MathJax support
7 changes: 7 additions & 0 deletions _coverpage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Qingdao University Online Judge

> An open source online judge system based on Python and Vue
[GitHub](https://github.com/QingdaoU/OnlineJudge)
[Demo](https://qduoj.com)
[Get Started](/en/guide/installation)
25 changes: 25 additions & 0 deletions _sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- 用户指南
- [部署](onlinejudge/guide/deploy.md)
- [测试用例格式](onlinejudge/guide/test_case.md)
- [比赛模式](onlinejudge/guide/contest_rule_type.md)
- [用户导入](onlinejudge/guide/import_users.md)
- [Special Judge](onlinejudge/guide/special_judge.md)
- [MathJax](onlinejudge/guide/mathjax.md)
- [多个评测机](onlinejudge/guide/multi_judge_server.md)
- [代码升级说明](onlinejudge/guide/upgrade.md)
- [HTTPS相关问题](onlinejudge/guide/https.md)
- [使用CDN](onlinejudge/guide/using_cdn.md)
- [数据备份和恢复](onlinejudge/guide/backup.md)
- [修改前端](onlinejudge/guide/update_fe.md)
- [修改编译选项](onlinejudge/guide/update_compile_options.md)
- JudgeServer
- [API](judgeserver/api.md)
- [Deploy](judgeserver/deploy.md)
- [TestCase](judgeserver/testcase.md)
- Judger
- [API](judger/api.md)
- [工作原理](judger/how_it_works.md)
- [常见问题](onlinejudge/faq.md)
- [交流群](onlinejudge/guide/qq_group.md)
- [从旧版迁移](onlinejudge/from_old.md)
- [开发团队](onlinejudge/dev-team.md)
1 change: 0 additions & 1 deletion docs/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

11 changes: 0 additions & 11 deletions docs/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/_coverpage.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/_sidebar.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/guide.md

This file was deleted.

32 changes: 0 additions & 32 deletions docs/index.html

This file was deleted.

50 changes: 50 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta charset="UTF-8" />
<title>Qingdao University Online Judge</title>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/lib/themes/vue.min.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/themes/prism.min.css" />
<style>
.sidebar li > p {
font-size: 16px;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script>
<script>
let num = 0;
mermaid.initialize({ startOnLoad: false });

window.$docsify = {
name: 'OnlineJudge',
loadSidebar: true,
coverpage: true,
alias: {
'/.*/_sidebar.md': '/_sidebar.md',
},
markdown: {
renderer: {
code: function(code, lang) {
if (lang === "mermaid") {
return (
'<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
);
}
return this.origin.code.apply(this, arguments);
}
}
},
};
</script>
<script defer src="//cdn.jsdelivr.net/npm/[email protected]/lib/docsify.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/[email protected]/lib/plugins/zoom-image.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/[email protected]/components/prism-bash.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/[email protected]/components/prism-yaml.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/[email protected]/components/prism-c.min.js"></script>
</body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2a4f98c

Please sign in to comment.