refactor: move to root

This commit is contained in:
Mikucat 2024-04-04 22:17:34 +08:00
parent 7cb6d90284
commit 2a4f98cdd2
No known key found for this signature in database
GPG Key ID: CE6B09A6F462E04D
38 changed files with 88 additions and 92 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
*.pyc

View File

@ -1 +0,0 @@
3.6.2

1
CNAME
View File

@ -1 +0,0 @@
docs.onlinejudge.me

6
README.md Normal file
View File

@ -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
_coverpage.md Normal file
View File

@ -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
_sidebar.md Normal file
View File

@ -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
docs/.gitignore vendored
View File

@ -1 +0,0 @@
.python-version

View File

@ -1 +0,0 @@
opensource.qduoj.com

View File

@ -1,11 +0,0 @@
# OnlineJudge Documents
## 用户
- 青岛大学 https://qduoj.com
- 四川师范大学 https://acm.sicnu.edu.cn/
- [欢迎提交](/onlinejudge/guide/qq_group)
## 赞助我们
<img src="https://storage.virusdefender.net/blog/images/utils/wx_pay_new.JPG" style="width: 40%; height: 40%">

View File

@ -1,13 +0,0 @@
# OnlineJudge <small>2.0</small>
> An open source online judge system based on Python and Vue
- Based on Docker; One-click deployment
- ACM/OI rule support; realtime/non-realtime rank support
- Multi-language support
- Markdown & MathJax support
[GitHub](https://github.com/QingdaoU/OnlineJudge)
[Demo](https://qduoj.com)
[Get Started](/onlinejudge/guide/deploy)

View File

@ -1,30 +0,0 @@
- OnlineJudge
- 用户指南
- [部署](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)
- [常见问题](onlinejudge/faq.md)
- [交流群](onlinejudge/guide/qq_group.md)
- [从旧版迁移](onlinejudge/from_old.md)
- [开发团队](onlinejudge/dev-team.md)
- JudgeServer
- [API](judgeserver/api.md)
- [Deploy](judgeserver/deploy.md)
- [TestCase](judgeserver/testcase.md)
- Judger
- [API](judger/api.md)
- [工作原理](judger/how_it_works.md)

View File

@ -1 +0,0 @@
# test

View File

@ -1,32 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<style>
.sidebar li>p {
font-size: 16px;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: 'OnlineJudge',
loadSidebar: true,
autoHeader: true,
coverpage: true,
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-yaml.min.js"></script>
</body>
</html>

50
index.html Normal file
View File

@ -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/docsify@4.13.1/lib/themes/vue.min.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism.min.css" />
<style>
.sidebar li > p {
font-size: 16px;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="//cdn.jsdelivr.net/npm/mermaid@9.4.3/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/docsify@4.13.1/lib/docsify.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/docsify@4.13.1/lib/plugins/zoom-image.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-bash.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-yaml.min.js"></script>
<script defer src="//cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-c.min.js"></script>
</body>
</html>