Skip to content

Commit

Permalink
removed Line1D example from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ray authored Mar 12, 2023
1 parent 76ef8b1 commit 7e1a301
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
using Documenter, HiQGA, Literate

example_src_dir = joinpath(@__DIR__, "..", "examples", "1D", "stationary")
example_src = joinpath(example_src_dir, "01_make_model.jl")
example_file = joinpath(example_src_dir, "func2.txt")
# example_src_dir = joinpath(@__DIR__, "..", "examples", "1D", "stationary")
# example_src = joinpath(example_src_dir, "01_make_model.jl")
# example_file = joinpath(example_src_dir, "func2.txt")

preprocess_1d(str) = replace(str, "func2.txt" => example_file)
# preprocess_1d(str) = replace(str, "func2.txt" => example_file)

outdir = joinpath(@__DIR__, "src", "generated")
Literate.markdown(example_src, outdir; execute=true, documenter=true, preprocess=preprocess_1d)
# Literate.markdown(example_src, outdir; execute=true, documenter=true, preprocess=preprocess_1d)

makedocs(sitename="HiQGA - High Quality Geophysical Analysis",
pages = [
"index.md",
"Examples" => ["1D nonlinear regression" => ["generated/01_make_model.md", ],
"SkyTEM" => []]
# "Examples" => ["1D nonlinear regression" => ["generated/01_make_model.md", ],
# "SkyTEM" => []]
]
)

0 comments on commit 7e1a301

Please sign in to comment.