Skip to content

Documentation

Documentation #18

Workflow file for this run

name: Documentation
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: install python dependencies
run:
pip install git+https://github.com/SovietKitsune/py-lua-doc
pip install mkdocs
pip install mkdocs-material
- uses: leafo/[email protected]
with:
luaVersion: "luajit-2.1.0-beta3"
- uses: leafo/[email protected]
- name: install lua dependencies
run: |
cd ./doc-gen/ && luarocks make docsdemo-dev-1.rockspec
- name: build docs
run: |
luadoc ./luabox > docs.json
py-lua-doc
mkdocs build
- uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}