From b0a7c9cc75cb2117b0a744b94ae724e6e8e70cf8 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Feb 2026 18:09:56 +0000 Subject: [PATCH] fix: use correct target name ExFigCLI for DocC build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The package has no target named 'ExFig' — the main target is 'ExFigCLI'. Updated all DocC build commands and the documentation catalog symbol reference. https://claude.ai/code/session_01MeeYwatPCABmWk43FpzntD --- .github/workflows/deploy-docc.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- Sources/ExFigCLI/ExFig.docc/ExFig.md | 2 +- mise.toml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-docc.yml b/.github/workflows/deploy-docc.yml index 6bd656e3..e2f01af4 100644 --- a/.github/workflows/deploy-docc.yml +++ b/.github/workflows/deploy-docc.yml @@ -27,12 +27,12 @@ jobs: - name: Build DocC run: | swift package --allow-writing-to-directory docs \ - generate-documentation --target ExFig \ + generate-documentation --target ExFigCLI \ --disable-indexing \ --transform-for-static-hosting \ --hosting-base-path ExFig \ --output-path docs - echo '' > docs/index.html + echo '' > docs/index.html - uses: actions/upload-pages-artifact@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 506707d5..a42bfd40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -279,12 +279,12 @@ jobs: - name: Build DocC run: | swift package --allow-writing-to-directory docs \ - generate-documentation --target ExFig \ + generate-documentation --target ExFigCLI \ --disable-indexing \ --transform-for-static-hosting \ --hosting-base-path ExFig \ --output-path docs - echo '' > docs/index.html + echo '' > docs/index.html - uses: actions/upload-pages-artifact@v4 with: diff --git a/Sources/ExFigCLI/ExFig.docc/ExFig.md b/Sources/ExFigCLI/ExFig.docc/ExFig.md index 8d9ba8d8..1e769260 100644 --- a/Sources/ExFigCLI/ExFig.docc/ExFig.md +++ b/Sources/ExFigCLI/ExFig.docc/ExFig.md @@ -1,4 +1,4 @@ -# ``ExFig`` +# ``ExFigCLI`` CLI tool for exporting colors, typography, icons, and images from Figma to iOS, Android, and Flutter projects. diff --git a/mise.toml b/mise.toml index 85313ddd..364efbf0 100644 --- a/mise.toml +++ b/mise.toml @@ -135,18 +135,18 @@ hk check --all 2>&1 | grep -E '^(✔|✗|hk )' description = "Generate DocC documentation" run = """ swift package --allow-writing-to-directory docs \ - generate-documentation --target ExFig \ + generate-documentation --target ExFigCLI \ --disable-indexing \ --transform-for-static-hosting \ --hosting-base-path ExFig \ --output-path docs -echo '' > docs/index.html +echo '' > docs/index.html """ [tasks."docs:preview"] description = "Generate and preview DocC documentation" run = """ -swift package --disable-sandbox preview-documentation --target ExFig +swift package --disable-sandbox preview-documentation --target ExFigCLI """ [tasks.clean]