Skip to content

Commit

Permalink
Fitting.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelnehrer02 committed Dec 3, 2024
1 parent 9dd68eb commit 5bfe646
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 1 addition & 6 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand Down Expand Up @@ -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",

],

Expand Down
10 changes: 10 additions & 0 deletions docs/src/Fitting.md
Original file line number Diff line number Diff line change
@@ -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).*

0 comments on commit 5bfe646

Please sign in to comment.