-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f28de42
commit e2644af
Showing
16 changed files
with
121 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Data Structure Algorithms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
_build | ||
_build/ | ||
opt/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script> | ||
(function(){ | ||
var bp = document.createElement('script'); | ||
var curProtocol = window.location.protocol.split(':')[0]; | ||
if (curProtocol === 'https') { | ||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; | ||
} | ||
else { | ||
bp.src = 'http://push.zhanzhang.baidu.com/push.js'; | ||
} | ||
var s = document.getElementsByTagName("script")[0]; | ||
s.parentNode.insertBefore(bp, s); | ||
})(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<h3>大牛课程</h3> | ||
<img src="{{ pathto('_static/zedhz-course-qrcode.jpg', 1) }}" /> | ||
<a href="https://time.geekbang.org/column/intro/48?code=vPMg2o7CvYAvCtdAV7DY5UvvS1DzcRNcImRZy3KzttE%3D">我已加入学习,邀你一起!</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% set google_analytics_id='UA-113160431-5' %} | ||
|
||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ google_analytics_id }}"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', '{{ google_analytics_id }}'); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
# FileName: setup.sh | ||
# Author: Fasion Chan | ||
# @contact: fasionchan@gmail.com | ||
# @version: $Id$ | ||
# | ||
# Description: | ||
# | ||
# Changelog: | ||
# | ||
# | ||
|
||
SELF_PATH=`realpath "$0"` | ||
SCRIPT_DIR_PATH=`dirname "$SELF_PATH"` | ||
DOC_ROOT_PATH=`dirname "$SCRIPT_DIR_PATH"` | ||
DOCS_PATH=`dirname "$DOC_ROOT_PATH"` | ||
REPO_PATH=`dirname "$DOCS_PATH"` | ||
PYENV_PATH="$DOC_ROOT_PATH/opt/pyenv" | ||
PIP_PATH="$PYENV_PATH/bin/pip" | ||
REAL_PYENV_PATH="$HOME/opt/pythons/pyenv.sphinx" | ||
|
||
if [ ! -e "$REAL_PYENV_PATH" ]; then | ||
mkdir -p "$REAL_PYENV_PATH" | ||
virtualenv -p python3 "$REAL_PYENV_PATH" | ||
fi | ||
|
||
if [ ! -e "$PYENV_PATH" ]; then | ||
mkdir -p `dirname "$PYENV_PATH"` | ||
ln -s "$REAL_PYENV_PATH" "$PYENV_PATH" | ||
fi | ||
|
||
"$PIP_PATH" install -r "$REPO_PATH/requirements/docs.txt" | ||
"$PIP_PATH" install -r "$REPO_PATH/requirements/docs-dev.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
formats: [] | ||
requirements_file: requirements/docs.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sphinx-autobuild==0.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Sphinx==1.8.2 | ||
sphinx-sitemap==0.3.1 |