Skip to content

Commit

Permalink
remove the user's guide
Browse files Browse the repository at this point in the history
It is now maintained as part of the rock documentation
  • Loading branch information
doudou committed Dec 3, 2010
1 parent a9f873e commit 65d13f7
Show file tree
Hide file tree
Showing 32 changed files with 7 additions and 2,570 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
doc/html
doc
*.sw*
webgen.cache
doc/guide/src/autoproj_bootstrap
Expand Down
29 changes: 0 additions & 29 deletions Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,6 @@ Rakefile
bin/autolocate
bin/autoproj
bin/autoproj_stress_test
doc/guide/config.yaml
doc/guide/ext/init.rb
doc/guide/ext/previous_next.rb
doc/guide/ext/rdoc_links.rb
doc/guide/src/adding_packages.page
doc/guide/src/autoproj_bootstrap
doc/guide/src/customization.page
doc/guide/src/default.css
doc/guide/src/default.template
doc/guide/src/error_messages.page
doc/guide/src/htmldoc.metainfo
doc/guide/src/htmldoc.virtual
doc/guide/src/images/bodybg.png
doc/guide/src/images/contbg.png
doc/guide/src/images/footerbg.png
doc/guide/src/images/gradient1.png
doc/guide/src/images/gradient2.png
doc/guide/src/index.page
doc/guide/src/manifest.xml
doc/guide/src/overview.png
doc/guide/src/overview.svg
doc/guide/src/package_sets/autobuild.page
doc/guide/src/package_sets/importers.page
doc/guide/src/package_sets/index.page
doc/guide/src/package_sets/manifest-xml.page
doc/guide/src/package_sets/osdeps.page
doc/guide/src/quick_start.page
doc/guide/src/toc.page
doc/guide/src/writing_manifest.page
lib/autoproj.rb
lib/autoproj/autobuild.rb
lib/autoproj/base.rb
Expand Down
34 changes: 6 additions & 28 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ begin
end
end

# Define our own documentation handling. Rake.clear_tasks is defined by Hoe
Rake.clear_tasks(/dist:(re|clobber_|)docs/)
Rake.clear_tasks(/dist:publish_docs/)

rescue LoadError
STDERR.puts "cannot load the Hoe gem. Distribution is disabled"
rescue Exception => e
Expand All @@ -38,15 +34,6 @@ rescue Exception => e
end

namespace 'dist' do
task 'publish_docs' => 'doc' do
if !system('doc/update_github')
raise "cannot update the gh-pages branch for GitHub"
end
if !system('git', 'push', 'origin', '+gh-pages')
raise "cannot push the documentation"
end
end

desc "generate the bootstrap script"
task 'bootstrap' do
require 'yaml'
Expand All @@ -72,19 +59,18 @@ namespace 'dist' do
gsub('OPTIONS_CODE', options_code).
gsub('SYSTEM_CODE', system_code).
gsub('OSDEPS_DEFAULTS', osdeps_defaults)
File.open(File.join(Dir.pwd, 'doc', 'guide', 'src', 'autoproj_bootstrap'), 'w') do |io|
File.open(File.join(Dir.pwd, 'bin', 'autoproj_bootstrap'), 'w') do |io|
io.write bootstrap_code
end
end
end

do_doc = begin
require 'webgen/webgentask'
require 'rdoc/task'
true
rescue LoadError => e
STDERR.puts "ERROR: cannot load webgen and/or RDoc, documentation generation disabled"
STDERR.puts "ERROR: #{e.message}"
STDERR.puts "WARN: cannot load RDoc, documentation generation disabled"
STDERR.puts "WARN: #{e.message}"
end

if do_doc
Expand All @@ -96,18 +82,10 @@ if do_doc
end

namespace 'doc' do
task 'all' => %w{guide api}
task 'clobber' => 'clobber_guide'
Webgen::WebgenTask.new('guide') do |website|
website.clobber_outdir = true
website.directory = File.join(Dir.pwd, 'doc', 'guide')
website.config_block = lambda do |config|
config['output'] = ['Webgen::Output::FileSystem', File.join(Dir.pwd, 'doc', 'html')]
end
end
task 'guide' => 'dist:bootstrap'
task 'all' => %w{api}
task 'clobber' => 'clobber_api'
RDoc::Task.new("api") do |rdoc|
rdoc.rdoc_dir = 'doc/html/api'
rdoc.rdoc_dir = 'doc'
rdoc.title = "autoproj"
rdoc.options << '--show-hash'
rdoc.rdoc_files.include('lib/**/*.rb')
Expand Down
29 changes: 0 additions & 29 deletions doc/guide/config.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions doc/guide/ext/init.rb

This file was deleted.

40 changes: 0 additions & 40 deletions doc/guide/ext/previous_next.rb

This file was deleted.

33 changes: 0 additions & 33 deletions doc/guide/ext/rdoc_links.rb

This file was deleted.

40 changes: 0 additions & 40 deletions doc/guide/src/adding_packages.page

This file was deleted.

Loading

0 comments on commit 65d13f7

Please sign in to comment.