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).* +