mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[ruby/optparse] Add rdoc options
Specify the main page and the page directory.  Also in Rakefile,
extract and use the same options from the gemspec file.
d182cd60b5
			
			
This commit is contained in:
		
							parent
							
								
									39bebd762d
								
							
						
					
					
						commit
						7d94df63c4
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
 | 
			
		|||
  spec.metadata["source_code_uri"] = spec.homepage
 | 
			
		||||
 | 
			
		||||
  spec.files         = Dir["{doc,lib,misc}/**/*"] + %w[README.md ChangeLog COPYING]
 | 
			
		||||
  spec.rdoc_options  = ["--main=README.md", "--op=rdoc", "--page-dir=doc"]
 | 
			
		||||
  spec.bindir        = "exe"
 | 
			
		||||
  spec.executables   = []
 | 
			
		||||
  spec.require_paths = ["lib"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue