-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (34 loc) · 916 Bytes
/
docs.yaml
File metadata and controls
42 lines (34 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Docs
on:
push:
branches: ["main"]
tags: ["v*"]
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install JSDoc/TypeDoc
run: npm install -g jsdoc typedoc
- name: Install doxygen
run: sudo apt-get install -y doxygen
- name: Install self
run: pip install -e .[develop]
- uses: actions-ext/yardang@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Wiki
run: yardang wiki --output-dir docs/wiki
- name: Upload Documentation to Wiki
uses: Andrew-Chen-Wang/github-wiki-action@v5
with:
path: docs/wiki