mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Doc - Add CI for checking build
This commit is contained in:
32
.github/workflows/docs-check.yml
vendored
Normal file
32
.github/workflows/docs-check.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.6
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install sphinx sphinx_rtd_theme
|
||||
|
||||
- name: Build documentation
|
||||
working-directory: ./docs
|
||||
run: make clean && make html O="-W --keep-going -n"
|
||||
|
||||
- name: Upload built doc
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: documentation
|
||||
path: ./docs/build/*
|
Reference in New Issue
Block a user