-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generación automática del sitemap.xml
- Loading branch information
1 parent
3603bb9
commit e2f9782
Showing
2 changed files
with
57 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
Struct.new('Config', | ||
:html_multipage, | ||
:asciidoctor_args, | ||
:asciidoctor_docbook_args, | ||
:asciidoctor_epub_args, | ||
:asciidoctor_html_args, | ||
:asciidoctor_pdf_args, | ||
:htmlproofer_opts, | ||
:pandoc_docx_args, | ||
keyword_init: true) do | ||
def initialize() | ||
default_values = { | ||
html_multipage: false, | ||
asciidoctor_args: [], | ||
asciidoctor_docbook_args: [], | ||
asciidoctor_epub_args: [], | ||
asciidoctor_html_args: [], | ||
asciidoctor_pdf_args: [], | ||
htmlproofer_opts: {}, | ||
pandoc_docx_args: [] | ||
} | ||
super(default_values) | ||
end | ||
:asciidoctor_args, | ||
:asciidoctor_docbook_args, | ||
:asciidoctor_epub_args, | ||
:asciidoctor_html_args, | ||
:asciidoctor_pdf_args, | ||
:html_multipage, | ||
:htmlproofer_opts, | ||
:pandoc_docx_args, | ||
:server_port, | ||
:site_root, | ||
keyword_init: true) do | ||
|
||
def initialize() | ||
default_values = { | ||
asciidoctor_args: [], | ||
asciidoctor_docbook_args: [], | ||
asciidoctor_epub_args: [], | ||
asciidoctor_html_args: [], | ||
asciidoctor_pdf_args: [], | ||
html_multipage: false, | ||
htmlproofer_opts: {}, | ||
pandoc_docx_args: [], | ||
server_port: 8080, | ||
site_root: 'http://localhost/' | ||
} | ||
super(default_values) | ||
end | ||
end | ||
|
||
CONFIG = Struct::Config.new() |