File: documentation.yml

package info (click to toggle)
python-jpype 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,348 kB
  • sloc: python: 19,275; cpp: 18,049; java: 8,638; xml: 1,454; makefile: 155; sh: 37
file content (24 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This task tries to verify if the documentation will build properly on RTD
steps:
- task: UsePythonVersion@0
  inputs:
    versionSpec: '3.8'

- script: |
    pip install  --exists-action=w --no-cache-dir -r test-requirements.txt -r .azure/doc-requirements.txt
  displayName: 'Install requirements'

- script: |
    python -m sphinx -T -b readthedocs -d _build/doctrees-readthedocs -D language=en doc build/html
  displayName: 'Check documentation'

- task: CopyFiles@2
  inputs:
    contents: 'build/html/**'
    targetFolder: $(Build.ArtifactStagingDirectory)

- task: PublishBuildArtifacts@1
  inputs:
    pathToPublish: $(Build.ArtifactStagingDirectory)
    artifactName: documentation