autogenerate robot library documentation 35/41035/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 29 Jun 2016 17:25:49 +0000 (10:25 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 29 Jun 2016 18:36:22 +0000 (11:36 -0700)
Change-Id: I9eac35123e2eed5ea8112f413c447b83af3a14d3
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/docs/docs-rtd.yaml

index afa5a496e8ec471330c6c9afa810fa4a840c0552..9c367c59771d37d2f89030644871f65005f35140 100644 (file)
                 file-paths:
                     - compare-type: ANT
                       pattern: docs/**
+        - timed: 'H H * * *'
+
 
     builders:
         - shell: |
             else
                 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
             fi
+        - shell: |
+            mkdir -p docs/_static/integration/robot
+            cd docs/submodules/integration/test
+            git pull origin master
+            cd csit/libraries
+            for f in *.robot; do python -m robot.libdoc $f $WORKSPACE/docs/_static/integration/robot/$f.html; done
+            for f in *.py; do python -m robot.libdoc $f $WORKSPACE/docs/_static/integration/robot/$f.html; done
         - shell: |
             virtualenv $WORKSPACE/venv
             source $WORKSPACE/venv/bin/activate