mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: use ./v doc -m -f html -unsafe-run-examples -time vlib/
for module doc generation
This commit is contained in:
parent
bd408289d5
commit
cdbedc43cb
1 changed files with 2 additions and 2 deletions
4
.github/workflows/module_docs_ci.yml
vendored
4
.github/workflows/module_docs_ci.yml
vendored
|
@ -39,8 +39,8 @@ jobs:
|
||||||
run: v retry -- v install markdown
|
run: v retry -- v install markdown
|
||||||
- name: Test v doc
|
- name: Test v doc
|
||||||
run: ./v test cmd/tools/vdoc/
|
run: ./v test cmd/tools/vdoc/
|
||||||
- name: Build module documentation
|
- name: Build module documentation and check the examples in the comments
|
||||||
run: ./v doc -m -f html vlib/
|
run: ./v doc -m -f html -unsafe-run-examples -time vlib/
|
||||||
- name: Deploy docs to vercel
|
- name: Deploy docs to vercel
|
||||||
if: github.event_name == 'push' && github.repository == 'vlang/v' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.repository == 'vlang/v' && github.ref == 'refs/heads/master'
|
||||||
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue