From 6ab67c7552a4a1c93238a380b9869471d106db9f Mon Sep 17 00:00:00 2001 From: Jisu-Woniu <31986081+Jisu-Woniu@users.noreply.github.com> Date: Fri, 12 Apr 2024 00:29:22 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=92=84=20add=20customized=20logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.adoc | 4 +++- README.zh-CN.adoc | 4 +++- assets/rsjudge.svg | 1 + src/lib.rs | 4 ++++ 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 assets/rsjudge.svg diff --git a/README.adoc b/README.adoc index 3cf7732..9dd3085 100644 --- a/README.adoc +++ b/README.adoc @@ -1,7 +1,9 @@ = rsjudge :toc: preamble -An online judge sandbox server in Rust, inspired by https://github.com/criyle/go-judge[go-judge], for SAST OJ. +image:assets/rsjudge.svg[Rsjudge logo] + +An online judge sandbox server in Rust, inspired by https://github.com/criyle/go-judge[go-judge], for [SAST OJ]. == Features diff --git a/README.zh-CN.adoc b/README.zh-CN.adoc index af50d4e..7cf885e 100644 --- a/README.zh-CN.adoc +++ b/README.zh-CN.adoc @@ -3,7 +3,9 @@ :toc: preamble :toc-title: 目录 -一个用 Rust 编写的在线评测沙箱服务器,受到 https://github.com/criyle/go-judge[go-judge] 的启发,用于 SAST OJ。 +image:assets/rsjudge.svg[Rsjudge logo] + +一个用 Rust 编写的在线评测沙箱服务器,受到 https://github.com/criyle/go-judge[go-judge] 的启发,服务于 SAST OJ。 == 特性 diff --git a/assets/rsjudge.svg b/assets/rsjudge.svg new file mode 100644 index 0000000..a1d5768 --- /dev/null +++ b/assets/rsjudge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 1e7f748..80953d2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,8 @@ #![cfg_attr(not(test), warn(clippy::print_stdout, clippy::print_stderr))] +#![doc(html_logo_url = "https://cdn.jsdelivr.net/gh/NJUPT-SAST/rsjudge@main/assets/rsjudge.svg")] + +//! An online judge sandbox server in Rust, +//! inspired by https://github.com/criyle/go-judge[go-judge], for [SAST OJ]. use std::process::Command;