rm unused stuff

pull/341/head
Shuhei Kadowaki 2020-05-23 20:07:59 +09:00
parent af45cc01ab
commit f71a491847
4 changed files with 0 additions and 4 deletions

View File

@ -13,7 +13,6 @@ function format(doc)
get!(formatdict, :fig_pos, nothing)
get!(formatdict, :fig_env, nothing)
formatdict[:cwd] = doc.cwd # pass wd to figure formatters
formatdict[:theme] = doc.highlight_theme
restore_header!(doc)

View File

@ -39,7 +39,6 @@ function WeaveDoc(source, informat = nothing)
"",
"",
Highlights.Themes.DefaultTheme,
"",
chunk_defaults,
)
end

View File

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