From 5bfe6460d41bf309463a17c95d3725965db90c17 Mon Sep 17 00:00:00 2001 From: Samuel William Nehrer Date: Tue, 3 Dec 2024 22:29:27 +0100 Subject: [PATCH] Fitting.md --- docs/make.jl | 7 +------ docs/src/Fitting.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 docs/src/Fitting.md diff --git a/docs/make.jl b/docs/make.jl index e4ad3dd..42577a1 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -2,9 +2,6 @@ using ActiveInference using Documenter using Literate -# cd(raw"C:\Users\Jonathan Laursen\Desktop\University\Bachelor\ActiveInference.jl\docs\src") -# input_folder = raw"..\julia_files" - # Set project directory if haskey(ENV, "GITHUB_WORKSPACE") project_dir = ENV["GITHUB_WORKSPACE"] @@ -19,8 +16,6 @@ cd(joinpath(project_dir, "docs", "src")) DocMeta.setdocmeta!(ActiveInference, :DocTestSetup, :(using ActiveInference); recursive=true) # Automating the creating of the markdown files - - julia_files = filter(file -> endswith(file, ".jl"), readdir(input_folder)) for file in julia_files @@ -48,7 +43,7 @@ makedocs(; "Creation of the Generative Model" => "GenerativeModelCreation.md", "Creating the Agent" => "AgentCreation.md", "Simulation" => "Simulation.md", - "Model Fitting" => "ModelFitting.md", + "Model Fitting" => "Fitting.md", ], diff --git a/docs/src/Fitting.md b/docs/src/Fitting.md new file mode 100644 index 0000000..a782afd --- /dev/null +++ b/docs/src/Fitting.md @@ -0,0 +1,10 @@ +```@meta +EditURL = "../julia_files/Fitting.jl" +``` + +# Model Fitting + +--- + +*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).* +