File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212
1313env :
14- # Uncomment the following line to enable custom CNAME for documentation
15- # DOCUMENTATION_CNAME: 'visor.staging.local'
14+ DOCUMENTATION_CNAME : ' visor.docs.pyansys.com'
1615 MAIN_PYTHON_VERSION : ' 3.11'
1716
1817
Original file line number Diff line number Diff line change 99 tags : [ 'v*' ]
1010
1111env :
12- # Uncomment the following line to enable custom CNAME for documentation
13- # DOCUMENTATION_CNAME: 'visor.staging.local'
12+ DOCUMENTATION_CNAME : ' visor.docs.pyansys.com'
1413 MAIN_PYTHON_VERSION : ' 3.11'
1514 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1615
5655 - name : Deploy development documentation
5756 uses : ansys/actions/doc-deploy-dev@v10
5857 with :
59- # Uncomment the following line to enable custom CNAME for documentation
60- # cname: ${{ env.DOCUMENTATION_CNAME }}
58+ cname : ${{ env.DOCUMENTATION_CNAME }}
6159 token : ${{ secrets.GITHUB_TOKEN }}
6260 bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
6361 bot-email : ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
7068 - name : Deploy stable documentation
7169 uses : ansys/actions/doc-deploy-stable@v10
7270 with :
71+ cname : ${{ env.DOCUMENTATION_CNAME }}
7372 token : ${{ secrets.GITHUB_TOKEN }}
7473 bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
7574 bot-email : ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
Original file line number Diff line number Diff line change 1+ Configure CNAME for VISOR docs
Original file line number Diff line number Diff line change 1111
1212from ansys .visor .viewer import __version__
1313
14- # TODO: Set up namespace for VISOR docs and update here
15- # visor_cname = "visor.docs.solutions.ansys.com"
16- visor_cname = "vigilant-lamp-162kw9z.pages.github.io"
14+ visor_cname = "visor.docs.pyansys.com"
1715
1816cname = os .getenv ("DOCUMENTATION_CNAME" , visor_cname )
1917"""The canonical name of the webpage hosting the documentation."""
You can’t perform that action at this time.
0 commit comments