From 3c41eac35d2e33f367badd8e310f9e2891c21d01 Mon Sep 17 00:00:00 2001 From: Akira Takahashi Date: Thu, 30 Jun 2022 14:12:16 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=86=85=E9=83=A8=E3=83=AA=E3=83=B3?= =?UTF-8?q?=E3=82=AF=E3=82=92=E7=9B=B8=E5=AF=BE=E3=83=AA=E3=83=B3=E3=82=AF?= =?UTF-8?q?=E3=81=A7=E7=94=9F=E6=88=90=E3=81=99=E3=82=8B=E6=A9=9F=E8=83=BD?= =?UTF-8?q?=20with=20`settings.USE=5FRELATIVE=5FLINK=20=3D=20True`"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 ----- README.md | 4 ---- boostjp/templates/base.html | 18 +++++++++--------- boostjp/templates/content.html | 6 +++--- cpprefjp/ghwebhook_on_user.sh | 1 - cpprefjp/templates/base.html | 28 ++++++++++++++-------------- cpprefjp/templates/content.html | 6 +++--- crsearch.json/run.py | 5 +---- markdown_to_html | 2 +- run.py | 28 +++------------------------- settings/boostjp.py | 5 ----- settings/boostjp_relative.py | 13 ------------- settings/cpprefjp.py | 6 ------ settings/cpprefjp_relative.py | 11 ----------- 14 files changed, 34 insertions(+), 104 deletions(-) delete mode 100644 settings/boostjp_relative.py delete mode 100644 settings/cpprefjp_relative.py diff --git a/.gitignore b/.gitignore index 746a1d7..f241645 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,11 @@ *.pyc cpprefjp/site/ -cpprefjp/image/ cpprefjp/cpprefjp.github.io/ -cpprefjp/cpprefjp.relative/ boostjp/site/ -boostjp/image/ boostjp/boostjp.github.io/ -boostjp/boostjp.relative/ settings.*.cache /crsearch.json/crsearch.json -/crsearch.json/crsearch.js /cpprefjp/static/static/kunai /cpprefjp/static/static/crsearch/* diff --git a/README.md b/README.md index 167b6f8..fff596a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ $ git submodule update -i ```bash git clone https://github.com/cpprefjp/site.git cpprefjp/site -git clone https://github.com/cpprefjp/image.git cpprefjp/image # kunai 用のデータを生成する git clone https://github.com/cpprefjp/kunai.git @@ -46,7 +45,6 @@ popd mkdir -p cpprefjp/static/static/crsearch pushd cpprefjp/static/static/crsearch ln -s ../../../../crsearch.json/crsearch.json crsearch.json -ln -s ../../../../crsearch.json/crsearch.js crsearch.js # Optional (ローカル file:///... で閲覧する場合に必要) popd # site_generator 用の docker イメージを生成する @@ -58,7 +56,6 @@ popd ```bash # この辺は必要に応じて実行する (cd cpprefjp/site && git pull) -(cd cpprefjp/image && git pull) ./crsearch.json/docker.sh run ./kunai/docker.sh run build @@ -77,7 +74,6 @@ http://localhost:8000 を開けば `index.html` が表示されます。 ```bash git clone https://github.com/boostjp/site.git boostjp/site -git clone https://github.com/boostjp/image.git boostjp/image # site_generator 用の docker イメージを生成する ./docker.sh build diff --git a/boostjp/templates/base.html b/boostjp/templates/base.html index c746e4c..94310e2 100644 --- a/boostjp/templates/base.html +++ b/boostjp/templates/base.html @@ -25,15 +25,15 @@ {% block rss %}{% endblock %} - - - + + + - - - + + + - + {% block mathjax %}{% endblock %} @@ -254,7 +254,7 @@ - +
{% block brand %}{% endblock %}
@@ -326,7 +326,7 @@ + + {% block mathjax %}{% endblock %} - - - - + + + + - - + +