From 954a3c85f49e96a349f4fe2847510fe84fede069 Mon Sep 17 00:00:00 2001 From: shogo4405 Date: Wed, 26 Apr 2023 23:18:23 +0900 Subject: [PATCH] add document lane. --- fastlane/Fastfile | 5 +++++ fastlane/README.md | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index ea8ddf076..c020f3067 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -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 diff --git a/fastlane/README.md b/fastlane/README.md index 8a35eae39..abdcb9872 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -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.