This commit is contained in:
virusdefender 2016-10-27 01:40:37 +08:00
parent c85a19e010
commit e308a57647
14 changed files with 25 additions and 17 deletions

View File

@ -167,7 +167,7 @@
<ul>
<li>JudgeServer <ul>
<li>English <ul>
<li><a href="../JudgeServer/English/i">API</a></li>
<li><a href="../JudgeServer/English/">API</a></li>
<li><a href="../JudgeServer/English/testcase">TestCase</a></li>
<li><a href="../JudgeServer/English/deploy">Deploy</a></li>
</ul>

View File

@ -289,7 +289,7 @@ mkdir build &amp;&amp; cd build &amp;&amp; cmake .. &amp;&amp; make &amp;&amp; s
<h2 id="note">Note</h2>
<ul>
<li>Linux x64 and kernel version &gt; 3.17 required</li>
<li>Judger security relies on Docker with default security config <a href="./todo">More</a></li>
<li>Judger security relies on Docker with default security config <a href="https://github.com/QingdaoU/JudgeServer/blob/master/docker-compose.example.yml">More</a></li>
<li>Tested under Ubuntu 14.04 docker container. System calls may vary due to different system and kernel versions</li>
<li>Root user required to change uid / gid</li>
<li>Why use seccomp instead of ptrace? Ptrace can decrease process's performance significantly, for each system call, twice

View File

@ -167,7 +167,7 @@
<ul>
<li>Judger <ul>
<li>English <ul>
<li><a href="../Judger/English/i">API</a></li>
<li><a href="../Judger/English/">API</a></li>
</ul>
</li>
</ul>

View File

@ -167,17 +167,17 @@
<p>目前此处的文档均为未公开发布版本的最新release的版本请参考github。</p>
<p>https://github.com/QingdaoU</p>
<ul>
<li><a href="./i">Home</a></li>
<li><a href="./">Home</a></li>
<li>Judger <ul>
<li>English <ul>
<li><a href="./Judger/English/i">API</a></li>
<li><a href="./Judger/English/">API</a></li>
</ul>
</li>
</ul>
</li>
<li>JudgeServer <ul>
<li>English <ul>
<li><a href="./JudgeServer/English/i">API</a></li>
<li><a href="./JudgeServer/English/">API</a></li>
<li><a href="./JudgeServer/English/testcase">TestCase</a></li>
<li><a href="./JudgeServer/English/deploy">Deploy</a></li>
</ul>

View File

@ -289,7 +289,7 @@ mkdir build &amp;&amp; cd build &amp;&amp; cmake .. &amp;&amp; make &amp;&amp; s
<h2 id="note">Note</h2>
<ul>
<li>Linux x64 and kernel version &gt; 3.17 required</li>
<li>Judger security relies on Docker with default security config <a href="./todo">More</a></li>
<li>Judger security relies on Docker with default security config <a href="https://github.com/QingdaoU/JudgeServer/blob/master/docker-compose.example.yml">More</a></li>
<li>Tested under Ubuntu 14.04 docker container. System calls may vary due to different system and kernel versions</li>
<li>Root user required to change uid / gid</li>
<li>Why use seccomp instead of ptrace? Ptrace can decrease process's performance significantly, for each system call, twice

View File

@ -167,7 +167,7 @@
<ul>
<li>Judger <ul>
<li>English <ul>
<li><a href="../Judger/English/i">API</a></li>
<li><a href="../Judger/English/">API</a></li>
</ul>
</li>
</ul>

View File

@ -4,7 +4,7 @@
<url>
<loc>None/</loc>
<lastmod>2016-10-26</lastmod>
<lastmod>2016-10-27</lastmod>
<changefreq>daily</changefreq>
</url>
@ -13,7 +13,7 @@
<url>
<loc>None/Judger/</loc>
<lastmod>2016-10-26</lastmod>
<lastmod>2016-10-27</lastmod>
<changefreq>daily</changefreq>
</url>
@ -29,7 +29,7 @@
<url>
<loc>None/JudgeServer/</loc>
<lastmod>2016-10-26</lastmod>
<lastmod>2016-10-27</lastmod>
<changefreq>daily</changefreq>
</url>

3
gen.py
View File

@ -10,10 +10,11 @@ def one(item, depth=0, result=""):
for k, v in item.iteritems():
if isinstance(v, basestring):
if v.endswith("index.md"):
v = v[:-7]
v = v[:-8]
if v.endswith(".md"):
v = v[:-3]
result += " ".join([" " * depth, "-", "[" + k + "](/" + v + ")\n"])
print v, result
elif isinstance(v, list):
result += " ".join([" " * depth, "-", k, "\n"])
for v_item in v:

View File

@ -0,0 +1,7 @@
# Special Judge
## What's special Judge
## How to write special judge
## Notes

View File

@ -1,6 +1,6 @@
# Table of contents
- JudgeServer
- English
- [API](/JudgeServer/English/i)
- [API](/JudgeServer/English/)
- [TestCase](/JudgeServer/English/testcase)
- [Deploy](/JudgeServer/English/deploy)

View File

@ -120,7 +120,7 @@ cd tests && sudo python test.py
## Note
- Linux x64 and kernel version > 3.17 required
- Judger security relies on Docker with default security config [More](todo)
- Judger security relies on Docker with default security config [More](https://github.com/QingdaoU/JudgeServer/blob/master/docker-compose.example.yml)
- Tested under Ubuntu 14.04 docker container. System calls may vary due to different system and kernel versions
- Root user required to change uid / gid
- Why use seccomp instead of ptrace? Ptrace can decrease process's performance significantly, for each system call, twice

View File

@ -1,4 +1,4 @@
# Table of contents
- Judger
- English
- [API](/Judger/English/i)
- [API](/Judger/English/)

View File

@ -120,7 +120,7 @@ cd tests && sudo python test.py
## Note
- Linux x64 and kernel version > 3.17 required
- Judger security relies on Docker with default security config [More](todo)
- Judger security relies on Docker with default security config [More](https://github.com/QingdaoU/JudgeServer/blob/master/docker-compose.example.yml)
- Tested under Ubuntu 14.04 docker container. System calls may vary due to different system and kernel versions
- Root user required to change uid / gid
- Why use seccomp instead of ptrace? Ptrace can decrease process's performance significantly, for each system call, twice

View File

@ -1,4 +1,4 @@
# Table of contents
- Judger
- English
- [API](/Judger/English/i)
- [API](/Judger/English/)