diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index de2d29b..39ee119 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' cache: 'pip' - run: pip install -r requirements.txt - run: make html diff --git a/deploy/production.sh b/deploy/production.sh deleted file mode 100755 index 55048e0..0000000 --- a/deploy/production.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -LOGIN_NAME="rs2p" -HOSTNAME="s9.rs2plus.gehirn.ne.jp" -PORT=22311 -TARGET="/var/www/support.gehirn.jp/apidocs/" - -ROOT=$(cd "$(dirname "$0")"; cd ../; pwd) - -rsync --delete -pthrvz --rsh="ssh -p ${PORT}" "${ROOT}/build/html/" "${LOGIN_NAME}@${HOSTNAME}:${TARGET}" diff --git a/requirements.in b/requirements.in new file mode 100644 index 0000000..fa17695 --- /dev/null +++ b/requirements.in @@ -0,0 +1,2 @@ +Sphinx ~= 9.0.0 +sphinx-sitemap ~= 2.9.0 diff --git a/requirements.txt b/requirements.txt index 1ed34f8..9303983 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,52 @@ -Sphinx ~= 5.0 -sphinx-sitemap ~= 2.5 +# This file was autogenerated by uv via the following command: +# uv pip compile ./requirements.in -o requirements.txt --python-version 3.12 +alabaster==0.7.16 + # via sphinx +babel==2.17.0 + # via sphinx +certifi==2025.11.12 + # via requests +charset-normalizer==3.4.4 + # via requests +docutils==0.21.2 + # via sphinx +idna==3.11 + # via requests +imagesize==1.4.1 + # via sphinx +jinja2==3.1.6 + # via sphinx +markupsafe==3.0.3 + # via jinja2 +packaging==25.0 + # via sphinx +pygments==2.19.2 + # via sphinx +requests==2.32.5 + # via sphinx +roman-numerals==4.0.0 + # via sphinx +snowballstemmer==3.0.1 + # via sphinx +sphinx==9.0.4 + # via + # -r ./requirements.in + # sphinx-last-updated-by-git +sphinx-last-updated-by-git==0.3.8 + # via sphinx-sitemap +sphinx-sitemap==2.9.0 + # via -r ./requirements.in +sphinxcontrib-applehelp==2.0.0 + # via sphinx +sphinxcontrib-devhelp==2.0.0 + # via sphinx +sphinxcontrib-htmlhelp==2.1.0 + # via sphinx +sphinxcontrib-jsmath==1.0.1 + # via sphinx +sphinxcontrib-qthelp==2.0.0 + # via sphinx +sphinxcontrib-serializinghtml==2.0.0 + # via sphinx +urllib3==2.6.2 + # via requests diff --git a/source/_static/.gitkeep b/source/_static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/source/_themes/gws_api_docs/layout.html b/source/_themes/gws_api_docs/layout.html index bdb6910..8402563 100644 --- a/source/_themes/gws_api_docs/layout.html +++ b/source/_themes/gws_api_docs/layout.html @@ -1,77 +1,14 @@ -{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and - (sidebars != []) %} -{%- set url_root = pathto('', 1) %} -{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} -{%- if not embedded and docstitle %} - {%- set titlesuffix = " — "|safe + docstitle|e %} -{%- else %} - {%- set titlesuffix = "" %} -{%- endif -%} +{% extends "basic/layout.html" %} - -{%- if html_tag %} -{{ html_tag }} -{%- else %} - -{%- endif %} -
- - - - {%- block htmltitle %} -