Skip to content

Commit 5fb1ea3

Browse files
Merge pull request #2 from BenjaminDannegard/benjamindannegard/api-documentation
Adding API documentation for the WiFiS3 library
2 parents 9006eab + be2e2fb commit 5fb1ea3

File tree

11 files changed

+3258
-162
lines changed

11 files changed

+3258
-162
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Render Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- ".github/workflows/render-documentation.ya?ml"
9+
- "./libraries/WiFiS3/examples/**"
10+
- "./libraries/WiFiS3/src/**"
11+
pull_request:
12+
branches:
13+
- main
14+
paths:
15+
- ".github/workflows/render-documentation.ya?ml"
16+
- "./libraries/WiFiS3/examples/**"
17+
- "./libraries/WiFiS3/src/**"
18+
workflow_dispatch:
19+
20+
jobs:
21+
render-docs:
22+
permissions:
23+
contents: write
24+
uses: arduino/render-docs-github-action/.github/workflows/render-docs.yml@main
25+
with:
26+
source-path: './libraries/WiFiS3/src'
27+
target-path: './libraries/WiFiS3/docs/api.md'
28+
exclude-pattern: 'StringHelpers.h WiFi.h Modem.h'
29+
commit: ${{ github.event_name != 'pull_request' }} # Only commit changes if not a PR

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ cores/arduino/mydebug.cpp.donotuse
99
.DS_Store?
1010
/.vs
1111
/.gitignore
12+
.vscode/settings.json

0 commit comments

Comments
 (0)