From f26e8185d2817bffd3450938ebcdd94ee7fa904e Mon Sep 17 00:00:00 2001 From: iswbm Date: 2024年6月16日 23:22:22 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20baidutongji.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_static/js/baidutongji.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_static/js/baidutongji.js b/source/_static/js/baidutongji.js index 0a7873f..dd5ee36 100644 --- a/source/_static/js/baidutongji.js +++ b/source/_static/js/baidutongji.js @@ -1,7 +1,7 @@ var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); - hm.src = "https://hm.baidu.com/hm.js?26ee367cf320d48d046542295cdb0dad"; + hm.src = "https://hm.baidu.com/hm.js?f15534298fc176a5524b6da87883f37f"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); From 36030c53cc65794ac79994713034099ed95211d0 Mon Sep 17 00:00:00 2001 From: iswbm Date: 2024年6月19日 21:48:35 +0800 Subject: [PATCH 2/5] update requirements.txt to python3.10.12 --- requirements.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index b22584c..08d22be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ Babel==2.9.1 certifi==2019年6月16日 chardet==3.0.4 docutils==0.14 -idna==2.8 imagesize==1.1.0 Jinja2==2.11.3 livereload==2.6.1 @@ -15,8 +14,8 @@ port-for==0.3.1 Pygments==2.7.4 pyparsing==2.4.0 pytz==2019.1 -PyYAML==5.4 -requests==2.22.0 +PyYAML==6.0.1 +requests==2.32.3 six==1.12.0 snowballstemmer==1.9.0 Sphinx==2.1.2 @@ -29,7 +28,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.2 sphinxcontrib-serializinghtml==1.1.3 tornado==6.0.3 -urllib3==1.26.5 +urllib3==2.2.2 watchdog==0.9.0 sphinxcontrib-disqus==1.1.0 sphinxcontrib-applehelp==1.0.1 From 5b83fa7751161e642a727759d51ffb64d02e0c89 Mon Sep 17 00:00:00 2001 From: iswbm Date: 2024年6月19日 22:30:20 +0800 Subject: [PATCH 3/5] update requirements.txt to python3.10.12 --- rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebuild.sh b/rebuild.sh index 10883b9..7ff2b6c 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -1,4 +1,4 @@ -cat << EOF>/usr/local/lib/python3.6/site-packages/sphinx_rtd_theme/comments.html +cat << EOF>/usr/local/lib/python3.10/site-packages/sphinx_rtd_theme/comments.html src="https://utteranc.es/client.js" repo="iswbm/magic-python" From ba3139de80307dfc38178cfac2c2d69e00963f53 Mon Sep 17 00:00:00 2001 From: iswbm Date: 2026年1月26日 22:11:44 +0800 Subject: [PATCH 4/5] update requirements.txt to python3.6.8 --- rebuild.sh | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rebuild.sh b/rebuild.sh index 7ff2b6c..10883b9 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -1,4 +1,4 @@ -cat << EOF>/usr/local/lib/python3.10/site-packages/sphinx_rtd_theme/comments.html +cat << EOF>/usr/local/lib/python3.6/site-packages/sphinx_rtd_theme/comments.html src="https://utteranc.es/client.js" repo="iswbm/magic-python" diff --git a/requirements.txt b/requirements.txt index 08d22be..2a34b8d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ Pygments==2.7.4 pyparsing==2.4.0 pytz==2019.1 PyYAML==6.0.1 -requests==2.32.3 +#requests==2.32.3 six==1.12.0 snowballstemmer==1.9.0 Sphinx==2.1.2 @@ -28,7 +28,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.2 sphinxcontrib-serializinghtml==1.1.3 tornado==6.0.3 -urllib3==2.2.2 +#urllib3==2.2.2 watchdog==0.9.0 sphinxcontrib-disqus==1.1.0 sphinxcontrib-applehelp==1.0.1 From da288fdc4a697607f8ece9324b504fc4ffd4dfac Mon Sep 17 00:00:00 2001 From: iswbm Date: 2026年1月26日 22:11:54 +0800 Subject: [PATCH 5/5] remove readmore.js --- source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/conf.py b/source/conf.py index 62b302b..f3f5908 100644 --- a/source/conf.py +++ b/source/conf.py @@ -100,7 +100,7 @@ sys.path.append(os.path.abspath(_exts)) html_js_files = [ - 'js/readmore.js', +# 'js/readmore.js', 'js/baidutongji.js', ]

AltStyle によって変換されたページ (->オリジナル) /