Unverified Commit 0d4aa537 authored by ir1d's avatar ir1d Committed by GitHub
Browse files

fix: repo owner (#1317)

fix: repo owner
parents f9039b53 e4f84728
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ deploy:
after_deploy:
  - chmod +x scripts/BaiduPusher.sh && ./scripts/BaiduPusher.sh
  - cd /tmp
  - git clone https://github.com/24OI/OI-wiki.git
  - git clone https://github.com/OI-wiki/OI-wiki.git
  - cd OI-wiki
  - git remote add coding https://$CODING_USER:$CODING_KEY@git.coding.net/scaffrey/OI-wiki.git
  - git push coding master:master -f
+6 −6
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@
[![Uptime Robot Status](https://img.shields.io/uptimerobot/status/m781254113-3e3bac467c64fc99eafd383e.svg?style=flat-square)](https://status.oi-wiki.org/)
[![Telegram](https://img.shields.io/badge/OI--wiki-join%20Telegram%20chat-brightgreen.svg?style=flat-square)](https://t.me/OIwiki)
[![QQ](https://img.shields.io/badge/OI--wiki-join%20QQ%20group-brightgreen.svg?style=flat-square)](https://jq.qq.com/?_wv=1027&k=5EfkM6K)
[![GitHub watchers](https://img.shields.io/github/watchers/24OI/OI-Wiki.svg?style=social&label=Watch)](https://github.com/24OI/OI-wiki)
[![GitHub stars](https://img.shields.io/github/stars/24OI/OI-Wiki.svg?style=social&label=Stars)](https://github.com/24OI/OI-wiki)
[![GitHub watchers](https://img.shields.io/github/watchers/OI-Wiki/OI-Wiki.svg?style=social&label=Watch)](https://github.com/24OI/OI-wiki)
[![GitHub stars](https://img.shields.io/github/stars/OI-Wiki/OI-Wiki.svg?style=social&label=Stars)](https://github.com/24OI/OI-wiki)

* * *

@@ -28,7 +28,7 @@
- 竞赛中出现的优质题目
- 与面试、实际应用相结合的经验

关于上述待完善内容,请参见 **OI Wiki** 中的 [Projects](https://github.com/24OI/OI-wiki/projects),详细列举了正在做的事情以及待做事项。
关于上述待完善内容,请参见 **OI Wiki** 中的 [Projects](https://github.com/OI-wiki/OI-wiki/projects),详细列举了正在做的事情以及待做事项。

与此同时, **OI Wiki** 源于社区,提倡 **知识自由**,在未来也绝不会商业化,将始终保持独立自由的性质。

@@ -47,7 +47,7 @@
**如果遇到问题,可以查阅 [F.A.Q.](https://oi-wiki.org/intro/faq/) 来了解更多信息。**

```bash
git clone https://github.com/24OI/OI-wiki.git --depth=1
git clone https://github.com/OI-wiki/OI-wiki.git --depth=1

cd OI-wiki

@@ -122,9 +122,9 @@ python2 -m SimpleHTTPServer

本项目受 [CTF Wiki](https://ctf-wiki.github.io/ctf-wiki/) 的启发,在编写过程中参考了诸多资料,在此一并致谢。

非常感谢一起完善 **OI Wiki**[小伙伴们](https://github.com/24OI/OI-wiki/graphs/contributors)
非常感谢一起完善 **OI Wiki**[小伙伴们](https://github.com/OI-wiki/OI-wiki/graphs/contributors)

<a href="https://github.com/24OI/OI-wiki/graphs/contributors"><img src="https://opencollective.com/oi-wiki/contributors.svg?width=890&button=false" /></a>
<a href="https://github.com/OI-wiki/OI-wiki/graphs/contributors"><img src="https://opencollective.com/oi-wiki/contributors.svg?width=890&button=false" /></a>

特别感谢 [24OI](https://github.com/24OI) 的朋友们的大力支持!

+3 −3
Original line number Diff line number Diff line
@@ -2,9 +2,9 @@ disqus:
pagetime:
title: OI Wiki

# 欢迎来到 **OI Wiki** ![![GitHub watchers](https://img.shields.io/github/watchers/24OI/OI-Wiki.svg?style=social&label=Watch)](https://github.com/24OI/OI-wiki)[![GitHub stars](https://img.shields.io/github/stars/24OI/OI-Wiki.svg?style=social&label=Stars)](https://github.com/24OI/OI-wiki)
# 欢迎来到 **OI Wiki** ![![GitHub watchers](https://img.shields.io/github/watchers/OI-wiki/OI-wiki.svg?style=social&label=Watch)](https://github.com/OI-wiki/OI-wiki)[![GitHub stars](https://img.shields.io/github/stars/OI-wiki/OI-wiki.svg?style=social&label=Stars)](https://github.com/OI-wiki/OI-wiki)

[![Word Art](./images/wordArt.png)](https://github.com/24OI/OI-wiki)
[![Word Art](./images/wordArt.png)](https://github.com/OI-wiki/OI-wiki)

 **OI** (Olympiad in Informatics,信息学奥林匹克竞赛)在中国起源于 1984 年,是五大高中学科竞赛之一。自 1989 年起,每年还会选拔出国家集训队选手准备 IOI (International Olympiad in Informatics,国际信息学奥林匹克竞赛)。

@@ -14,7 +14,7 @@ title: OI Wiki

本项目受 [CTF Wiki](https://ctf-wiki.github.io/ctf-wiki/) 的启发,在编写过程中参考了诸多资料,在此一并致谢。

本项目文档内容托管于 [GitHub](https://github.com/24OI/OI-wiki),主要使用 [Issues](https://github.com/24OI/OI-wiki/issues)/[QQ](https://jq.qq.com/?_wv=1027&k=5EfkM6K)/[Telegram](https://t.me/OIwiki) 进行交流沟通,期待你的加入。
本项目文档内容托管于 [GitHub](https://github.com/OI-wiki/OI-wiki),主要使用 [Issues](https://github.com/OI-wiki/OI-wiki/issues)/[QQ](https://jq.qq.com/?_wv=1027&k=5EfkM6K)/[Telegram](https://t.me/OIwiki) 进行交流沟通,期待你的加入。

Telegram 群组链接为 [@OIwiki](https://t.me/OIwiki),QQ 群号码为 [`588793226`](https://jq.qq.com/?_wv=1027&k=5EfkM6K),欢迎加入。

+2 −2
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ site_url: https://oi-wiki.org
strict: true

# Repository
repo_name: '24OI/OI-wiki'
repo_url: 'https://github.com/24OI/OI-wiki'
repo_name: 'OI-wiki/OI-wiki'
repo_url: 'https://github.com/OI-wiki/OI-wiki'
edit_uri: 'blob/master/docs/'

# Copyright
+7 −7
Original line number Diff line number Diff line
@@ -61,23 +61,23 @@ function foo(response) {
  } else if (!url.endsWith('index')) {
    url += '/index';
    var script = document.createElement('script');
    document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/24OI/OI-wiki/commits/master/docs/${url}.md`);
    script.src = `https://api.github.com/repos/24OI/OI-WIki/commits?path=docs/${url}.md&callback=foo`;
    document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/OI-wiki/OI-wiki/commits/master/docs/${url}.md`);
    script.src = `https://api.github.com/repos/OI-wiki/OI-WIki/commits?path=docs/${url}.md&callback=foo`;
    document.getElementsByTagName('head')[0].appendChild(script);
  }
}

if (url == "") {
  // HomePage
  document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/24OI/OI-wiki/commits/master/docs/index.md`);
  script.src = `https://api.github.com/repos/24OI/OI-WIki/commits?path=docs/index.md&callback=foo`;
  document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/OI-wiki/OI-wiki/commits/master/docs/index.md`);
  script.src = `https://api.github.com/repos/OI-wiki/OI-WIki/commits?path=docs/index.md&callback=foo`;
  document.getElementsByTagName('head')[0].appendChild(script);
} else if (url != "404.htm") {
  document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/24OI/OI-wiki/commits/master/docs/${url}.md`);
  script.src = `https://api.github.com/repos/24OI/OI-WIki/commits?path=docs/${url}.md&callback=foo`;
  document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/OI-wiki/OI-wiki/commits/master/docs/${url}.md`);
  script.src = `https://api.github.com/repos/OI-wiki/OI-WIki/commits?path=docs/${url}.md&callback=foo`;
  document.getElementsByTagName('head')[0].appendChild(script);
} else {
  document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/24OI/OI-wiki/commits/master`);
  document.getElementsByClassName('edit_history')[0].setAttribute('href', `https://github.com/OI-wiki/OI-wiki/commits/master`);
  document.getElementsByClassName('facts_modified')[0].innerHTML = ('最近没更新过这个页面');
  document.getElementsByClassName('page_contributors')[0].innerHTML = ('本页面是自动生成的');
  document.getElementsByClassName('page_edit_url')[0].setAttribute('href', `#`);