From 41ffe5a8008fc6fa29dfe3315b648bc4eb25ae5d Mon Sep 17 00:00:00 2001 From: Alex Norell Date: Wed, 8 Jan 2025 11:05:51 -0800 Subject: [PATCH] Switch back to mkdocs-material and install insider separately --- .github/workflows/publish-docs.yml | 3 ++- .github/workflows/test-doc.yml | 3 ++- poetry.lock | 2 +- pyproject.toml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 8039f9d48..a6885a6da 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -52,8 +52,9 @@ jobs: - name: ๐Ÿ“ฆ Install dependencies run: | - poetry config http-basic.github.com roboflow ${steps.mkdocs_token.outputs.token} poetry install --with=docs + # Install mkdocs-material-insiders using the GitHub App token + pip install "git+https://roboflow:${{ steps.mkdocs_token.outputs.token }}@github.com/roboflow/mkdocs-material-insiders.git@9.5.49-insiders-4.53.14#egg=mkdocs-material[imaging]" - name: โš™๏ธ Configure git for github-actions run: | diff --git a/.github/workflows/test-doc.yml b/.github/workflows/test-doc.yml index 831008366..e2b305be8 100644 --- a/.github/workflows/test-doc.yml +++ b/.github/workflows/test-doc.yml @@ -42,8 +42,9 @@ jobs: - name: ๐Ÿ—๏ธ Install dependencies run: | - poetry config http-basic.github.com roboflow ${steps.mkdocs_token.outputs.token} poetry install --with=docs + # Install mkdocs-material-insiders using the GitHub App token + pip install "git+https://roboflow:${{ steps.mkdocs_token.outputs.token }}@github.com/roboflow/mkdocs-material-insiders.git@9.5.49-insiders-4.53.14#egg=mkdocs-material[imaging]" - name: ๐Ÿงช Test Docs Build run: | diff --git a/poetry.lock b/poetry.lock index 476b69389..487edffb6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -5107,4 +5107,4 @@ metrics = ["pandas", "pandas"] [metadata] lock-version = "2.1" python-versions = ">=3.8" -content-hash = "5f3b79b1abace707199d369bede2820f4438b80bed18a1c1e165b3103d1182e3" +content-hash = "d47160f903210fd29e15d3eb43b663f0c40004b1a5853395de597b68f9bb56ab" diff --git a/pyproject.toml b/pyproject.toml index 05b9c02b8..7cf693f15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,7 +79,7 @@ nbconvert = ">=7.14.2" docutils = "!=0.21" [tool.poetry.group.docs.dependencies] -mkdocs-material = { git = "https://github.com/roboflow/mkdocs-material-insiders.git", rev = "9.5.49-insiders-4.53.14", extras = ["imaging"]} +mkdocs-material = { extras = ["imaging"], version = "^9.5.5" } mkdocstrings = ">=0.25.2,<0.27.0" mkdocstrings-python = ">=1.10.9" mike = ">=2.0.0"