Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
behinger committed Nov 15, 2023
2 parents ef87b5d + dbd7b0c commit e65da17
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 14 additions & 12 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ using Glob
using Literate


GENERATED = joinpath(@__DIR__, "src", "literate")
GENERATED = joinpath(@__DIR__, "src", "generated")
SOURCE = joinpath(@__DIR__, "literate")

for subfolder ["explanations","HowTo","tutorials","reference"]
local SOURCE_FILES = Glob.glob(subfolder*"/*.jl", GENERATED)
local SOURCE_FILES = Glob.glob(subfolder*"/*.jl", SOURCE)
#config=Dict(:repo_root_path=>"https://github.com/unfoldtoolbox/UnfoldSim")
foreach(fn -> Literate.markdown(fn, GENERATED*"/"*subfolder), SOURCE_FILES)

Expand All @@ -29,20 +31,20 @@ authors="Luis Lips, Benedikt Ehinger, Judith Schepers",
pages=[
"Home" => "index.md",
"Tutorials"=>[
"Quickstart" => "literate/tutorials/quickstart.md",
"Simulate ERPs" => "literate/tutorials/simulateERP.md",
"Poweranalysis" => "literate/tutorials/poweranalysis.md",
"Quickstart" => "generated/tutorials/quickstart.md",
"Simulate ERPs" => "generated/tutorials/simulateERP.md",
"Poweranalysis" => "generated/tutorials/poweranalysis.md",
],
"Reference"=>[
"Toolbox Overview" =>"./literate/reference/overview.md",
"NoiseTypes" => "./literate/reference/noisetypes.md",
"ComponentBasisTypes" => "./literate/reference/basistypes.md",
"Toolbox Overview" =>"./generated/reference/overview.md",
"NoiseTypes" => "./generated/reference/noisetypes.md",
"ComponentBasisTypes" => "./generated/reference/basistypes.md",
],
"HowTo" => [
"New Experimental Design" => "./literate/HowTo/newDesign.md",
"Repeating Trials within a Design" => "./literate/HowTo/repeatTrials.md",
"New Duration/Shift-dependent Component" => "./literate/HowTo/newComponent.md",
"Multi Channel Data" =>"./literate/HowTo/multichannel.md",
"New Experimental Design" => "./generated/HowTo/newDesign.md",
"Repeating Trials within a Design" => "./generated/HowTo/repeatTrials.md",
"New Duration/Shift-dependent Component" => "./generated/HowTo/newComponent.md",
"Multi Channel Data" =>"./generated/HowTo/multichannel.md",
],
"DocStrings" => "api.md",
],
Expand Down

0 comments on commit e65da17

Please sign in to comment.