Skip to content
Closed
13 changes: 0 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,6 @@ jobs:
event_name: ${{ github.event_name }}
secrets: inherit

upload-development-docs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
needs: [docs]
steps:
- name: "Upload development documentation"
uses: ansys/actions/doc-deploy-dev@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
decompress-artifact: true

examples:
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/examples.yml
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/nightly-doc-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Nightly Documentation Build

on:
workflow_dispatch:
schedule: # UTC at 0400
- cron: '0 4 * * *'

env:
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
docs:
uses: ./.github/workflows/docs.yml
with:
ANSYS_VERSION: "241"
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v241/dist' }}
event_name: ${{ github.event_name }}
secrets: inherit

upload-development-docs:
runs-on: ubuntu-latest
needs: [docs]
steps:
- name: "Upload development documentation"
uses: ansys/actions/doc-deploy-dev@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
decompress-artifact: true
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

# Intersphinx mapping
intersphinx_mapping = {
"pyvista": ("https://docs.pyvista.org/", None),
"pyvista": ("https://docs.pyvista.org/version/0.36/", None),
}

autosummary_generate = True
Expand Down
12 changes: 6 additions & 6 deletions requirements/requirements_docs.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
ansys_sphinx_theme==0.9.5
enum-tools[sphinx]==0.9.0.post1
ansys-sphinx-theme==0.10.2
enum-tools[sphinx]==0.10.0
graphviz==0.20.1
imageio==2.28.0
imageio-ffmpeg==0.4.7
nbsphinx==0.9.1
nbsphinx==0.9.2
pypandoc==1.11
pytest-sphinx==0.5.0
pyvista==0.36.1
sphinx==5.3.0
Sphinx==7.1.2
sphinx-autobuild==2021.3.14
sphinx-copybutton==0.5.0
sphinx-gallery==0.11.0
sphinx-copybutton==0.5.2
sphinx-gallery==0.13.0
sphinx-notfound-page==0.8.3
sphinx_design==0.5.0
sphinxcontrib-napoleon==0.7