diff --git a/.github/workflows/reusable_publish_docs.yml b/.github/workflows/reusable_publish_docs.yml index 0408c3f412d..b7da713b43e 100644 --- a/.github/workflows/reusable_publish_docs.yml +++ b/.github/workflows/reusable_publish_docs.yml @@ -40,9 +40,7 @@ jobs: runs-on: ubuntu-latest environment: "Docs" permissions: - contents: write # push to gh-pages id-token: write # trade JWT token for AWS credentials in AWS Docs account - pages: write # uncomment if mike fails as we migrated to S3 hosting steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -70,14 +68,6 @@ jobs: git pull origin "$BRANCH" env: BRANCH: ${{ inputs.git_ref }} - - name: Build docs website and API reference - env: - VERSION: ${{ inputs.version }} - ALIAS: ${{ inputs.alias }} - run: | - make release-docs VERSION="$VERSION" ALIAS="$ALIAS" - poetry run mike set-default --push latest - - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1 with: diff --git a/Makefile b/Makefile index 6750db18446..08f8829fe3b 100644 --- a/Makefile +++ b/Makefile @@ -63,12 +63,6 @@ pr: lint lint-docs mypy pre-commit test security-baseline complexity-baseline build: pr poetry build -release-docs: - @echo "Rebuilding docs" - rm -rf site api - @echo "Updating website docs" - poetry run mike deploy --push --update-aliases ${VERSION} ${ALIAS} - docs-local: poetry run mkdocs serve diff --git a/poetry.lock b/poetry.lock index 14f290b8fa2..4046a294e74 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2457,32 +2457,6 @@ files = [ {file = "mergedeep-1.3.4.tar.gz", hash = "sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8"}, ] -[[package]] -name = "mike" -version = "2.1.3" -description = "Manage multiple versions of your MkDocs-powered documentation" -optional = false -python-versions = "*" -groups = ["dev"] -files = [ - {file = "mike-2.1.3-py3-none-any.whl", hash = "sha256:d90c64077e84f06272437b464735130d380703a76a5738b152932884c60c062a"}, - {file = "mike-2.1.3.tar.gz", hash = "sha256:abd79b8ea483fb0275b7972825d3082e5ae67a41820f8d8a0dc7a3f49944e810"}, -] - -[package.dependencies] -importlib-metadata = "*" -importlib-resources = "*" -jinja2 = ">=2.7" -mkdocs = ">=1.0" -pyparsing = ">=3.0" -pyyaml = ">=5.1" -pyyaml-env-tag = "*" -verspec = "*" - -[package.extras] -dev = ["coverage", "flake8 (>=3.0)", "flake8-quotes", "shtab"] -test = ["coverage", "flake8 (>=3.0)", "flake8-quotes", "shtab"] - [[package]] name = "mkdocs" version = "1.6.1" @@ -3405,21 +3379,6 @@ pyyaml = "*" [package.extras] extra = ["pygments (>=2.19.1)"] -[[package]] -name = "pyparsing" -version = "3.2.3" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" -optional = false -python-versions = ">=3.9" -groups = ["dev"] -files = [ - {file = "pyparsing-3.2.3-py3-none-any.whl", hash = "sha256:a749938e02d6fd0b59b356ca504a24982314bb090c383e3cf201c95ef7e2bfcf"}, - {file = "pyparsing-3.2.3.tar.gz", hash = "sha256:b9c13f1ab8b3b542f72e28f634bad4de758ab3ce4546e4301970ad6fa77c38be"}, -] - -[package.extras] -diagrams = ["jinja2", "railroad-diagrams"] - [[package]] name = "pytest" version = "8.4.1" @@ -4729,21 +4688,6 @@ anyio = ">=4.9.0" protobuf = ">=3.20" typing-extensions = {version = ">=4.8.0", markers = "python_version < \"3.11\""} -[[package]] -name = "verspec" -version = "0.1.0" -description = "Flexible version handling" -optional = false -python-versions = "*" -groups = ["dev"] -files = [ - {file = "verspec-0.1.0-py3-none-any.whl", hash = "sha256:741877d5633cc9464c45a469ae2a31e801e6dbbaa85b9675d481cda100f11c31"}, - {file = "verspec-0.1.0.tar.gz", hash = "sha256:c4504ca697b2056cdb4bfa7121461f5a0e81809255b41c03dda4ba823637c01e"}, -] - -[package.extras] -test = ["coverage", "flake8 (>=3.7)", "mypy", "pretend", "pytest"] - [[package]] name = "virtualenv" version = "20.31.2" @@ -4962,4 +4906,4 @@ valkey = ["valkey-glide"] [metadata] lock-version = "2.1" python-versions = ">=3.9,<4.0.0" -content-hash = "fac88786f26fd95b9aed31a920e25d17b87ceab2f0cbab63a0dc97a9394b7554" +content-hash = "9d50ecb3e477f1e665ba41c785377c97817adea9075e199fd04637c7eb15de5b" diff --git a/pyproject.toml b/pyproject.toml index 86cd0fa8bc8..1fa5df0efa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,7 +91,6 @@ bandit = "^1.7.10" radon = "^6.0.1" xenon = "^0.9.3" mkdocs-git-revision-date-plugin = "^0.3.2" -mike = "^2.1.2" pytest-xdist = "^3.6.1" aws-cdk-lib = "^2.176.0" "aws-cdk.aws-apigatewayv2-alpha" = "^2.38.1-alpha.0"