diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-11-19 14:23:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-11-19 14:25:59 +0900 |
| commit | 6209453817da9922f28bac1bb1522c6d380630ab (patch) | |
| tree | 19e0699e751af387d549d6720ca215c8065b3c0c /nuldoc.rb | |
| parent | 0cafa073914b5e0b162b735a7f8445fb2aa8a604 (diff) | |
| download | blog.nsfisis.dev-6209453817da9922f28bac1bb1522c6d380630ab.tar.gz blog.nsfisis.dev-6209453817da9922f28bac1bb1522c6d380630ab.tar.zst blog.nsfisis.dev-6209453817da9922f28bac1bb1522c6d380630ab.zip | |
Hugo to Asciidoctor
Diffstat (limited to 'nuldoc.rb')
| -rw-r--r-- | nuldoc.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nuldoc.rb b/nuldoc.rb new file mode 100644 index 0000000..363383e --- /dev/null +++ b/nuldoc.rb @@ -0,0 +1,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 |
