olddoc.git  about / heads / tags
olddoc - old-fashioned RDoc generator(s)
blob e4cd34410e098c44269cc8c2cd0a72d80c4756df 686 bytes (raw)
$ git show HEAD:lib/olddoc.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
# Copyright (C) 2015-2019 all contributors <olddoc-public@80x24.org>
# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
module Olddoc # :nodoc:
  autoload :Gemspec, 'olddoc/gemspec'
  autoload :History, 'olddoc/history'
  autoload :Merge, 'olddoc/merge'
  autoload :NewsAtom, 'olddoc/news_atom'
  autoload :NewsRdoc, 'olddoc/news_rdoc'
  autoload :Prepare, 'olddoc/prepare'
  autoload :Readme, 'olddoc/readme'
  autoload :Man2HTML, 'olddoc/man2html'

  def self.config(path = ".olddoc.yml")
    File.readable?(path) and return YAML.load(File.read(path))
    warn "#{path} not found in current directory"
    {}
  end
end
require_relative 'oldweb'
require_relative 'dark216'

git clone https://80x24.org/olddoc.git