Skip to content

Commit cdbedc4

Browse files
committed
ci: use ./v doc -m -f html -unsafe-run-examples -time vlib/ for module doc generation
1 parent bd40828 commit cdbedc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/module_docs_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
run: v retry -- v install markdown
4040
- name: Test v doc
4141
run: ./v test cmd/tools/vdoc/
42-
- name: Build module documentation
43-
run: ./v doc -m -f html vlib/
42+
- name: Build module documentation and check the examples in the comments
43+
run: ./v doc -m -f html -unsafe-run-examples -time vlib/
4444
- name: Deploy docs to vercel
4545
if: github.event_name == 'push' && github.repository == 'vlang/v' && github.ref == 'refs/heads/master'
4646
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true

0 commit comments

Comments
 (0)