Skip to content

Commit 77641bc

Browse files
committed
Use bundler for generating docs
1 parent 726462d commit 77641bc

File tree

3 files changed

+123
-3
lines changed

3 files changed

+123
-3
lines changed

Gemfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
# The bare minimum for building, e.g. in Homebrew
6+
group :build do
7+
end
8+
9+
# In addition to :build, for contributing
10+
group :development do
11+
end
12+
13+
# For releasing to GitHub
14+
group :release do
15+
gem 'cocoapods', '~> 1.6.0.beta.2'
16+
gem 'jazzy'
17+
end

Gemfile.lock

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.0)
5+
activesupport (4.2.11)
6+
i18n (~> 0.7)
7+
minitest (~> 5.1)
8+
thread_safe (~> 0.3, >= 0.3.4)
9+
tzinfo (~> 1.1)
10+
atomos (0.1.3)
11+
claide (1.0.2)
12+
cocoapods (1.6.0.beta.2)
13+
activesupport (>= 4.0.2, < 5)
14+
claide (>= 1.0.2, < 2.0)
15+
cocoapods-core (= 1.6.0.beta.2)
16+
cocoapods-deintegrate (>= 1.0.2, < 2.0)
17+
cocoapods-downloader (>= 1.2.2, < 2.0)
18+
cocoapods-plugins (>= 1.0.0, < 2.0)
19+
cocoapods-search (>= 1.0.0, < 2.0)
20+
cocoapods-stats (>= 1.0.0, < 2.0)
21+
cocoapods-trunk (>= 1.3.1, < 2.0)
22+
cocoapods-try (>= 1.1.0, < 2.0)
23+
colored2 (~> 3.1)
24+
escape (~> 0.0.4)
25+
fourflusher (~> 2.0.1)
26+
gh_inspector (~> 1.0)
27+
molinillo (~> 0.6.6)
28+
nap (~> 1.0)
29+
ruby-macho (~> 1.3, >= 1.3.1)
30+
xcodeproj (>= 1.7.0, < 2.0)
31+
cocoapods-core (1.6.0.beta.2)
32+
activesupport (>= 4.0.2, < 6)
33+
fuzzy_match (~> 2.0.4)
34+
nap (~> 1.0)
35+
cocoapods-deintegrate (1.0.2)
36+
cocoapods-downloader (1.2.2)
37+
cocoapods-plugins (1.0.0)
38+
nap
39+
cocoapods-search (1.0.0)
40+
cocoapods-stats (1.0.0)
41+
cocoapods-trunk (1.3.1)
42+
nap (>= 0.8, < 2.0)
43+
netrc (~> 0.11)
44+
cocoapods-try (1.1.0)
45+
colored2 (3.1.2)
46+
concurrent-ruby (1.1.4)
47+
escape (0.0.4)
48+
ffi (1.10.0)
49+
fourflusher (2.0.1)
50+
fuzzy_match (2.0.4)
51+
gh_inspector (1.1.3)
52+
i18n (0.9.5)
53+
concurrent-ruby (~> 1.0)
54+
jazzy (0.9.4)
55+
cocoapods (~> 1.0)
56+
mustache (~> 0.99)
57+
open4
58+
redcarpet (~> 3.2)
59+
rouge (>= 2.0.6, < 4.0)
60+
sass (~> 3.4)
61+
sqlite3 (~> 1.3)
62+
xcinvoke (~> 0.3.0)
63+
liferaft (0.0.6)
64+
minitest (5.11.3)
65+
molinillo (0.6.6)
66+
mustache (0.99.8)
67+
nanaimo (0.2.6)
68+
nap (1.1.0)
69+
netrc (0.11.0)
70+
open4 (1.3.4)
71+
rb-fsevent (0.10.3)
72+
rb-inotify (0.10.0)
73+
ffi (~> 1.0)
74+
redcarpet (3.4.0)
75+
rouge (3.3.0)
76+
ruby-macho (1.3.1)
77+
sass (3.7.3)
78+
sass-listen (~> 4.0.0)
79+
sass-listen (4.0.0)
80+
rb-fsevent (~> 0.9, >= 0.9.4)
81+
rb-inotify (~> 0.9, >= 0.9.7)
82+
sqlite3 (1.3.13)
83+
thread_safe (0.3.6)
84+
tzinfo (1.2.5)
85+
thread_safe (~> 0.1)
86+
xcinvoke (0.3.0)
87+
liferaft (~> 0.0.6)
88+
xcodeproj (1.7.0)
89+
CFPropertyList (>= 2.3.3, < 4.0)
90+
atomos (~> 0.1.3)
91+
claide (>= 1.0.2, < 2.0)
92+
colored2 (~> 3.1)
93+
nanaimo (~> 0.2.6)
94+
95+
PLATFORMS
96+
ruby
97+
98+
DEPENDENCIES
99+
cocoapods (~> 1.6.0.beta.2)
100+
jazzy
101+
102+
BUNDLED WITH
103+
1.17.1

generate-docs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22
#
33
# Build documentation using jazzy:
4-
# [sudo] gem install jazzy
4+
# [sudo] bundle install
55

6-
jazzy \
6+
bundle exec jazzy \
77
-o "docs" \
88
--min-acl "internal" \
9-
--module-version "3.0.3"
9+
--module-version "4.2.0"
1010

1111
mkdir docs/assets 2>/dev/null
1212
cp assets/* docs/assets/

0 commit comments

Comments
 (0)