Skip to content

Commit

Permalink
Updates for Documenter v0.20. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored and Pietro Vertechi committed Oct 28, 2018
1 parent 6296f48 commit c480a58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
julia 0.7
Documenter
Documenter 0.20
DocumenterMarkdown
Literate
DefaultApplication
4 changes: 2 additions & 2 deletions src/Remark.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Remark

import Literate
import Documenter
import Documenter, DocumenterMarkdown
import DefaultApplication
using Random

Expand Down Expand Up @@ -45,7 +45,7 @@ function _create_index_md(inputfile, outputdir; documenter = true)
_replace_line(joinpath(outputdir, "src", "index.md"), r"^(\s)*(--)(\s)*$", s)
outputfile = joinpath(outputdir, "build", "index.md")
if documenter
Documenter.makedocs(root = outputdir)
Documenter.makedocs(format = :markdown, root = outputdir)
else
cp(joinpath(outputdir, "src", "index.md"), outputfile, force=true)
end
Expand Down

0 comments on commit c480a58

Please sign in to comment.