aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc.rb
blob: 363383e89ee2fbfde98eb546443fda797dcbff89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'date'
require 'fileutils'
require 'asciidoctor'

require_relative 'lib/command'
require_relative 'lib/parser'
require_relative 'lib/extensions/document_title_processor'
require_relative 'lib/extensions/lang_attribute_processor'
require_relative 'lib/extensions/revision_history_processor'
require_relative 'lib/extensions/section_id_validator'
require_relative 'lib/extensions/source_id_processor'
require_relative 'lib/extensions/source_id_validator'
require_relative 'lib/extensions/tags_processor'
require_relative 'lib/revision'
require_relative 'lib/tag'

NulDoc::Command.new({
  author: 'nsfisis',
  site_name: 'REPL: Rest-Eat-Program Loop',
  site_copyright_year: 2021,
  content_dir: __dir__ + '/content',
  dest_dir: __dir__ + '/public',
  template_dir: __dir__ + '/templates',
}).run