diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 6063e1739..5ecf2f10d 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -3,8 +3,6 @@ name: Publish Docs on: push: branches: ["main"] - tags: - - 'v*' workflow_dispatch: env: @@ -13,7 +11,6 @@ env: permissions: contents: write - jobs: publish-docs: runs-on: ubuntu-latest @@ -26,6 +23,7 @@ jobs: with: key: ${{ github.ref }} path: .cache + # for now, only install mkdocs. In the future may need to install Marvin itself. - name: Install dependencies for MKDocs Material run: pip install \ mkdocs-material \ @@ -35,14 +33,6 @@ jobs: mkdocs-markdownextradata-plugin \ mkdocs-jupyter \ pillow \ - cairosvg \ - mike - - name: Publish docs from `main` to dev - if: github.ref == 'refs/heads/main' - run: mike deploy dev --push --update-aliases - - - name: Publish versioned docs - if: startsWith(github.ref, 'refs/tags/v') - run: | - VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\/v//') - mike deploy $VERSION latest --push --update-aliases + cairosvg + - name: Publish docs + run: mkdocs gh-deploy --force diff --git a/docs/static/css/tailwind.css b/docs/static/css/tailwind.css index 4def5c0e9..2c4022e89 100644 --- a/docs/static/css/tailwind.css +++ b/docs/static/css/tailwind.css @@ -1,5 +1,5 @@ /* -! tailwindcss v3.3.6 | MIT License | https://tailwindcss.com +! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */ /* @@ -121,10 +121,8 @@ strong { } /* -1. Use the user's configured `mono` font-family by default. -2. Use the user's configured `mono` font-feature-settings by default. -3. Use the user's configured `mono` font-variation-settings by default. -4. Correct the odd `em` font sizing in all browsers. +1. Use the user's configured `mono` font family by default. +2. Correct the odd `em` font sizing in all browsers. */ code, @@ -134,7 +132,7 @@ pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ font-size: 1em; - /* 4 */ + /* 2 */ } /* diff --git a/mkdocs.yml b/mkdocs.yml index d2a88a89b..f734d7696 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -151,9 +151,7 @@ extra: link: https://discord.gg/Kgw4HpcuYG - icon: fontawesome/brands/twitter link: https://twitter.com/askmarvinai - version: - mike: - canonical_version: latest + extra_css: - /static/css/global.css diff --git a/pyproject.toml b/pyproject.toml index 1a90b5d0f..4d603717f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,6 @@ dev = [ "marvin[tests]", "black[jupyter]", "ipython", - "mike @ git+https://github.com/jimporter/mike.git", "mkdocs-autolinks-plugin~=0.7", "mkdocs-awesome-pages-plugin~=2.8", "mkdocs-markdownextradata-plugin~=0.2",