Skip to content

Commit 858881e

Browse files
committed
rm unused stuff
1 parent 3f4ba67 commit 858881e

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/format.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ function format(doc)
1313
get!(formatdict, :fig_pos, nothing)
1414
get!(formatdict, :fig_env, nothing)
1515

16-
formatdict[:cwd] = doc.cwd # pass wd to figure formatters
1716
formatdict[:theme] = doc.highlight_theme
1817

1918
restore_header!(doc)

src/reader/reader.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function WeaveDoc(source, informat = nothing)
3939
"",
4040
"",
4141
Highlights.Themes.DefaultTheme,
42-
"",
4342
chunk_defaults,
4443
)
4544
end

src/run.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ function run_doc(
5858
# This is needed for latex and should work on all output formats
5959
@static Sys.iswindows() && (fig_path = replace(fig_path, "\\" => "/"))
6060

61-
doc.fig_path = fig_path
6261
set_rc_params(doc, fig_path, fig_ext)
6362

6463
# New sandbox for each document with args exposed

src/types.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ mutable struct WeaveDoc
1515
template::Union{AbstractString,Mustache.MustacheTokens}
1616
css::AbstractString
1717
highlight_theme::Type{<:Highlights.AbstractTheme}
18-
fig_path::AbstractString
1918
chunk_defaults::Dict{Symbol,Any}
2019
end
2120

0 commit comments

Comments
 (0)