Skip to content

Commit

Permalink
inherit metanorma xml processor
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jul 2, 2018
1 parent f4ca356 commit 6cdbcc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GIT
remote: https://github.com/riboseinc/asciidoctor-iso
revision: 8878a2c5e31a3c3b33a292989e5c0c7ec346e230
revision: 575341655824ef6fd612e710dcee60aa30177b9d
specs:
asciidoctor-iso (0.9.0)
asciidoctor-iso (0.9.1)
asciidoctor (~> 1.5.7)
iso-bib-item (~> 0.1.6)
isobib (~> 0.1.6)
Expand Down Expand Up @@ -134,11 +134,11 @@ GEM
htmlentities (4.3.4)
httpclient (2.8.3)
image_size (2.0.0)
iso-bib-item (0.1.7)
iso-bib-item (0.1.8)
duplicate
isoics (~> 0.1.6)
nokogiri
isobib (0.1.6)
isobib (0.1.7)
algoliasearch
iso-bib-item (~> 0.1.2)
isoics (0.1.6)
Expand Down
7 changes: 4 additions & 3 deletions lib/metanorma/rsd/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ def initialize
end

def output_formats
{
super.merge(
html: "html",
doc: "doc"
}
)
end

def version
Expand All @@ -29,9 +29,10 @@ def output(isodoc_node, outname, format, options={})
case format
when :html
IsoDoc::Rsd::HtmlConvert.new(options).convert(outname, isodoc_node)
else
super
end
end

end
end
end

0 comments on commit 6cdbcc6

Please sign in to comment.