Skip to content

Commit

Permalink
Fix documentation script. Note that we lose the documentation for now…
Browse files Browse the repository at this point in the history
… (i.e. generated files are not documented), but it should come back later.
  • Loading branch information
JonasVautherin committed Feb 8, 2019
1 parent 26ef178 commit 27842a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -8,7 +8,7 @@ install:
PATH=$PATH:`python -c "import site; print(site.USER_BASE)"`/bin;

script:
- "./generate_docs.sh"
- "./tools/generate_docs.sh"

after_success:
- if [ "${TRAVIS_PULL_REQUEST}" = false ]; then
Expand Down
5 changes: 2 additions & 3 deletions generate_docs.sh → tools/generate_docs.sh
Expand Up @@ -10,13 +10,12 @@ fi

jazzy \
--clean \
--exclude "Dronecode-SDK-Swift/Generated/" \
--author Dronecode SDK developers \
--author_url https://sdk.dronecode.org \
--github_url https://github.com/Dronecode/DronecodeSDKSwift \
--github_url https://github.com/Dronecode/DronecodeSDK-Swift \
--github-file-prefix https://github.com/Dronecode/DronecodeSDK-Swift/tree/master \
--module-version master \
--xcodebuild-arguments -project,Dronecode-SDK-Swift.xcodeproj,-scheme,Dronecode-SDK-Swift \
--xcodebuild-arguments -project,Dronecode-SDK-Swift.xcodeproj \
--module Dronecode-SDK-Swift \
--root-url https://sdk.dronecode.org/docs/swift \
--output docs/swift_output \
Expand Down

0 comments on commit 27842a3

Please sign in to comment.