update conf.py for query help

This commit is contained in:
james
2020-10-28 13:55:04 +00:00
parent cb962a9ce0
commit d70240c786
2 changed files with 19 additions and 19 deletions

View File

@@ -42,21 +42,21 @@ jobs:
- name: Query help to markdown
run: |
PATH="$PATH:codeql-cli/codeql" python codeql/docs/language/query-help-markdown.py
# - name: Run Sphinx for query help
# uses: ammaraskar/sphinx-action@master
# with:
# docs-folder: "query-help/"
# pre-build-command: "python -m pip install --upgrade recommonmark"
# build-command: "sphinx-build -b html . _build"
- name: Run Sphinx for query help
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "query-help/"
pre-build-command: "python -m pip install --upgrade recommonmark"
build-command: "sphinx-build -b html . _build"
- name: Check docs folder postscript 1
working-directory: '${{ github.workspace }}/query-help'
run: ls -la
# - name: Check docs folder postscript 2
# working-directory: '${{ github.workspace }}/query-help/_build'
# run: ls -la
#- name: Upload HTML artifacts
# uses: actions/upload-artifact@v2
# with:
# name: query-help-html
# path: query-help/_build
- name: Check docs folder postscript 2
working-directory: '${{ github.workspace }}/query-help/_build'
run: ls -la
- name: Upload HTML artifacts
uses: actions/upload-artifact@v2
with:
name: query-help-html
path: query-help/_build