From 2987c8b1c27e524a115e15ba2352c8d511eb0302 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 7 May 2025 21:54:30 +0800 Subject: chore: update Python version and dependencies in requirements and pyproject files --- pyproject.toml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 4acc08f..c30a2d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,21 +6,15 @@ authors = [ {name = "简律纯",email = "i@jyunko.cn"}, ] dependencies = [ + "furo>=2024.8.6", + "myst-parser>=4.0.1", "requests>=2.31.0", + "sphinx>=8.1.3", + "sphinx-autobuild>=2024.10.3", + "sphinx-design>=0.6.1", + "sphinx-intl>=2.3.1", + "tomli>=2.2.1", ] -requires-python = ">=3.11" +requires-python = ">=3.10" readme = "README.md" -license = {text = "MIT"} - -[tool] -[tool.pdm] -[tool.pdm.dev-dependencies] -docs = [ - "furo>=2024.7.18", - "sphinx-autobuild>=2024.4.16", - "myst-parser>=3.0.1", - "sphinx>=7.4.7", - "tomli>=2.0.1", - "sphinx-intl>=2.2.0", - "sphinx-design>=0.6.0", -] \ No newline at end of file +license = {text = "MIT"} \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 9d2bd021412d2d3691e0d125bc5a4163c767edd4 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Wed, 7 May 2025 21:56:22 +0800 Subject: chore: update Python version to 3.11 and enhance GitHub Actions for MkDocs deployment --- .github/workflows/pages.yml | 4 +++- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pyproject.toml') diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f0e0a6e..ff9252b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,4 +31,6 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - # git fetch origin gh-pages:gh-pages \ No newline at end of file + git fetch origin gh-pages:gh-pages + pdm run mkdocs gh-deploy + git push origin gh-pages \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c30a2d6..c96e5e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,6 @@ dependencies = [ "sphinx-intl>=2.3.1", "tomli>=2.2.1", ] -requires-python = ">=3.10" +requires-python = ">=3.11" readme = "README.md" license = {text = "MIT"} \ No newline at end of file -- cgit v1.2.3-70-g09d2