Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
2a631ea5
Commit
2a631ea5
authored
Mar 15, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes
parent
46ea3110
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
installer.rb
lib/cocoapods/installer.rb
+2
-2
local_pod.rb
lib/cocoapods/local_pod.rb
+1
-3
No files found.
lib/cocoapods/installer.rb
View file @
2a631ea5
...
@@ -54,8 +54,8 @@ module Pod
...
@@ -54,8 +54,8 @@ module Pod
if
config
.
doc?
if
config
.
doc?
if
pod
.
generate_documentation
(
config
.
doc_install?
,
config
.
doc_force?
,
config
.
verbose?
)
if
pod
.
generate_documentation
(
config
.
doc_install?
,
config
.
doc_force?
,
config
.
verbose?
)
action
=
config
.
doc_install
?
'
installed'
:
'g
enerated'
action
=
config
.
doc_install
?
'
Installed'
:
'G
enerated'
puts
"
#{
action
}
documentation"
unless
config
.
silent?
puts
"
->
#{
action
}
documentation"
unless
config
.
silent?
end
end
end
end
...
...
lib/cocoapods/local_pod.rb
View file @
2a631ea5
...
@@ -77,9 +77,7 @@ module Pod
...
@@ -77,9 +77,7 @@ module Pod
# Generates and installs the documentation of the pod.
# Generates and installs the documentation of the pod.
#
#
# It returns a human redable string containing the source used
# It returns true if the documentation was generated/installed
# for the documentation. If no source was available it returns
# nil.
#
#
def
generate_documentation
(
install
,
force
=
true
,
verbose
=
false
)
def
generate_documentation
(
install
,
force
=
true
,
verbose
=
false
)
documentation
=
specification
.
documentation
?
specification
.
documentation
:
{}
documentation
=
specification
.
documentation
?
specification
.
documentation
:
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment