Skip to content

Commit f4f87a8

Browse files
committed
actions: add an additional documentation module
Although the interfaces here are not particularly exposed as part of the SwiftWin32 interfaces, this adds a separate module for the purposes of documentation hierarchy. It makes it easier to locate the documentation when needed.
1 parent 6c2a17b commit f4f87a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,14 @@ jobs:
6161
6262
- name: Generate Documentation
6363
run: |
64+
swift doc generate Sources\SwiftWin32\CA --module-name CoreAnimation --output site\CoreAnimation --base-url https://compnerd.github.io/swift-win32/CoreAnimation
6465
swift doc generate Sources\SwiftWin32\CG --module-name CoreGraphics --output site\CoreGraphics --base-url https://compnerd.github.io/swift-win32/CoreGraphics
6566
swift doc generate Sources\SwiftWin32 --module-name SwiftWin32 --output site\SwiftWin32 --base-url https://compnerd.github.io/swift-win32/SwiftWin32
6667
swift doc generate Sources\SwiftWin32UI --module-name SwiftWin32UI --output site\SwiftWin32UI --base-url https://compnerd.github.io/swift-win32/SwiftWin32UI
6768
6869
- name: Post-Process
6970
run: |
70-
foreach ($module in "CoreGraphics","SwiftWin32","SwiftWin32UI") {
71+
foreach ($module in "CoreAnimation","CoreGraphics","SwiftWin32","SwiftWin32UI") {
7172
Get-ChildItem -Path site\$module -Recurse -File -Include "*.md" -Exclude Home.md,_Footer.md,_Sidebar.md,index.md | ForEach-Object {
7273
Set-Content $_.FullName -value @"
7374
---

0 commit comments

Comments
 (0)