summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-check/doc.yml
blob: 0ab91c51819c6475dfbfa333ce586b8e4a90d2f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sphinx/opt:
    description: Generate the Sphinx documentation
    treeherder:
        symbol: tc(Doc)
        kind: test
        tier: 1
        platform: lint/opt
    worker-type: aws-provisioner-v1/b2gtest
    worker:
        implementation: docker-worker
        docker-image: {in-tree: "lint"}
        max-run-time: 1800
        artifacts:
            - type: file
              name: public/docs.tar.gz
              path: /home/worker/checkouts/gecko/docs.tar.gz
    run:
        using: run-task
        command: >
            cd /home/worker/checkouts/gecko &&
            ./mach doc --outdir docs-out --no-open &&
            rm -rf docs-out/html/Mozilla_Source_Tree_Docs/_venv &&
            mv docs-out/html/Mozilla_Source_Tree_Docs docs &&
            tar -czf docs.tar.gz docs
    run-on-projects:
        - integration
        - release
    when:
        files-changed:
            - '**/*.py'
            - '**/*.rst'
            - 'tools/docs/**'