Revert "rm unused field from WeaveDoc"

This reverts commit 301f9b2f27.
pull/339/head
Shuhei Kadowaki 2020-05-23 20:07:41 +09:00
parent 301f9b2f27
commit 745abe176c
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ function run_doc(
# This is needed for latex and should work on all output formats
@static Sys.iswindows() && (fig_path = replace(fig_path, "\\" => "/"))
doc.fig_path = fig_path
set_rc_params(doc, fig_path, fig_ext)
# New sandbox for each document with args exposed

View File

@ -15,6 +15,7 @@ mutable struct WeaveDoc
template::Union{AbstractString,Mustache.MustacheTokens}
css::AbstractString
highlight_theme::Type{<:Highlights.AbstractTheme}
fig_path::AbstractString
chunk_defaults::Dict{Symbol,Any}
end