Skip to content

Commit 9849589

Browse files
committed
Update docs after version bump
1 parent d9dc195 commit 9849589

File tree

5 files changed

+11
-39
lines changed

5 files changed

+11
-39
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ xcuserdata
2222
*.moved-aside
2323
*.xcuserstate
2424
*.xcscmblueprint
25-
docs
2625

2726
## Obj-C/Swift specific
2827
*.hmap
2928
*.ipa
3029

30+
## Docs
31+
undocumented.json
32+
*.docset
33+
*.tgz
34+
3135
## CocoaPods
3236
Pods/
3337

.jazzy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ github_file_prefix: https://github.com/polydice/ICInputAccessory/blob/develop
66
xcodebuild_arguments: [-project, ICInputAccessory.xcodeproj, -scheme, ICInputAccessory-iOS]
77
module: ICInputAccessory
88
module_version: 1.5.0
9-
output: docs/output
9+
output: docs
1010
theme: fullwidth
1111
skip_undocumented: true

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ script:
1717
- bundle exec rake ci:test
1818
- make -B carthage
1919
- make -B docs
20-
after_script:
21-
- sh scripts/update-docs.sh
2220
notifications:
2321
email: false
2422
slack:

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ else
1818
ruby -pi -e "gsub(/\d+\.\d+\.\d+/i, \""$(version)"\")" ICInputAccessory.podspec
1919
ruby -pi -e "gsub(/:\s\d+\.\d+\.\d+/i, \": "$(version)"\")" .jazzy.yml
2020
xcrun agvtool new-marketing-version $(version)
21+
make -B docs
2122
endif
2223

2324
carthage:
2425
set -o pipefail && carthage build --no-skip-current --verbose | bundle exec xcpretty
2526

2627
docs:
27-
test -d docs || git clone -b gh-pages --single-branch https://github.com/polydice/ICInputAccessory.git docs
28-
cd docs && git fetch origin gh-pages && git clean -f -d
29-
cd docs && git checkout gh-pages && git reset --hard origin/gh-pages
3028
bundle exec jazzy --config .jazzy.yml
29+
for file in "html" "css" "js" "json"; do \
30+
echo "Trimming whitespace in *."$$file ; \
31+
find docs -name "*."$$file -exec sed -E -i "" -e "s/[[:blank:]]*$$//" {} \; ; \
32+
done

scripts/update-docs.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)