ansys / pymechanical-stubs

Project to generate Mechanical API stubs
https://scripting.mechanical.docs.pyansys.com/
MIT License
2 stars 0 forks source link

Documentation switcher broken #8

Closed RobPasMue closed 3 months ago

RobPasMue commented 1 year ago

We should be deploying the docs through our Ansys actions, since they are the ones handling the multi-version scheme:

    name: Upload release documentation
    if: github.event_name == 'push' && contains(github.ref, 'refs/heads/release')
    runs-on: ubuntu-latest
    needs: [doc-build]
    steps:
      - name: Deploy the stable documentation
        uses: ansys/actions/doc-deploy-stable@v4
        with:
          cname: ${{ env.DOCUMENTATION_CNAME }}
          token: ${{ secrets.GITHUB_TOKEN }}

However, this project is a bit special... Our versions should be the ones for the API versions.

release/23.1
release/23.2
...
klmcadams commented 3 months ago

The documentation versions are not based on the Mechanical version anymore, but the pymechanical-stubs version in the pyproject.toml file