Skip to content

Commit 84d7139

Browse files
committed
Remove legacy code relate to documentation generation
Closes CocoaPods#65
1 parent 4d465d4 commit 84d7139

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

Rakefile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,6 @@ namespace :generate do
8282
end
8383
end
8484

85-
desc "Generates the data for the gems."
86-
task :gems do
87-
puts "\e[1;33mBuilding Gems Data\e[0m"
88-
89-
gems.each do |name|
90-
github_name = name == 'CocoaPods-Core' ? 'Core' : name
91-
spec_path = ROOT + "gems/#{github_name}/#{name.downcase}.gemspec"
92-
generator = Pod::Doc::Generators::Gem.new(spec_path)
93-
generator.name = name
94-
generator.github_name = github_name
95-
generator.output_file = "docs_data/#{name.downcase.gsub('-','_')}.yaml"
96-
generator.save
97-
end
98-
end
99-
10085
desc "Generates the data for the commands."
10186
task :commands do
10287
puts "\e[1;33mBuilding Commands Data\e[0m"
@@ -119,10 +104,6 @@ end
119104

120105
$LOAD_PATH << 'lib'
121106

122-
def gems
123-
%w[ CocoaPods CocoaPods-Core Xcodeproj CLAide cocoapods-downloader ]
124-
end
125-
126107
def dsls
127108
[ { :name => "Podfile", :title => "podfile" }, {:name => "Specification", :title => "podspec"} ]
128109
end

config.rb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,5 @@ def shared_partial(*sources)
101101
:ignore => true
102102
}
103103

104-
# FIXME
105-
gem = deserialize(name)
106-
gems << gem
107-
gem.name_spaces.each do |name_space|
108-
proxy "#{link_for_code_object(name_space)}/index.html", "templates/gem_namespace.html", {
109-
:locals => { :name_space => name_space, :code_object => name_space },
110-
:ignore => true
111-
}
112-
end
113104
end
114-
data.store('gems', gems)
105+
data.store('gems', gems)

0 commit comments

Comments
 (0)