Skip to content

Commit

Permalink
add document lane.
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Apr 26, 2023
1 parent c84dce1 commit 954a3c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ lane :review do
carthage(use_xcframeworks: true) if Helper.is_ci?
scan(scheme: 'Tests')
end

desc "Creates documents."
lane :document do
sh('swift package --allow-writing-to-directory ./docs generate-documentation --target HaishinKit --disable-indexing --hosting-base-path HaishinKit.swift --output-path ./docs')
end
8 changes: 8 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

[CI] Review PullRequest.

### document

```sh
[bundle exec] fastlane document
```

Creates documents.

----

This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
Expand Down

0 comments on commit 954a3c8

Please sign in to comment.