From 305a2f8d9637df62522a1fa806f0cf95bfa7347f Mon Sep 17 00:00:00 2001 From: Jakub Andrysek Date: Tue, 18 Jun 2024 09:12:23 +0200 Subject: [PATCH] chore: Update dependencies and installation commands for mkdocs --- .github/workflows/deploy-web.yaml | 2 +- .github/workflows/mkdoxy-build-test.yaml | 6 +++--- .idea/workspace.xml | 22 ++-------------------- devdeps.txt | 10 ++++------ 4 files changed, 10 insertions(+), 30 deletions(-) diff --git a/.github/workflows/deploy-web.yaml b/.github/workflows/deploy-web.yaml index eeba601..3300a83 100644 --- a/.github/workflows/deploy-web.yaml +++ b/.github/workflows/deploy-web.yaml @@ -18,5 +18,5 @@ jobs: with: key: ${{ github.ref }} path: .cache - - run: pip install -r requirements.txt + - run: pip install -e ".[dev]" - run: mkdocs gh-deploy --force \ No newline at end of file diff --git a/.github/workflows/mkdoxy-build-test.yaml b/.github/workflows/mkdoxy-build-test.yaml index d790559..4091b03 100644 --- a/.github/workflows/mkdoxy-build-test.yaml +++ b/.github/workflows/mkdoxy-build-test.yaml @@ -9,7 +9,7 @@ jobs: strategy: # You can use PyPy versions in python-version. matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 @@ -22,7 +22,7 @@ jobs: run: python -c "import sys; print(sys.version)" - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install -r requirements.txt + pip install --upgrade pip + pip install -e ".[dev]" - name: Build docs run: mkdocs build --clean --strict --verbose \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b5538dc..d45cadb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,14 +5,7 @@ - - - - - - - - + - - - - - file://$PROJECT_DIR$/open_in_new_tab/plugin.py - 39 - - - - diff --git a/devdeps.txt b/devdeps.txt index 11d1686..e344663 100644 --- a/devdeps.txt +++ b/devdeps.txt @@ -1,6 +1,4 @@ -mkdocs==1.6.0 -mkdocs-material==9.5.27 -mkdocs-glightbox==0.4.0 -mkdocs-git-revision-date-localized-plugin==1.2.6 -mkdocs-open-in-new-tab==1.0.3 -setuptools==70.0.0 \ No newline at end of file +mkdocs-material~=9.5.27 +mkdocs-glightbox~=0.4.0 +mkdocs-git-revision-date-localized-plugin~=1.2.6 +setuptools~=70.0.0 \ No newline at end of file