add document lane.
This commit is contained in:
parent
c84dce18ba
commit
954a3c85f4
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue