1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| | # Copyright (C) 2015-2016 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'
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'
|