Skip to content

Commit

Permalink
Minor renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelma committed Nov 3, 2023
1 parent e125e2d commit 59f91fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ concept_dictionary = add_cross_references!(
)
write_concept_reference_files(concept_dictionary, path)

# Automatically write the 'constraints_automatically_generated_file' file using the 'constraints' file
# Automatically write the 'constraints_automatically_generated' file using the 'constraints' file
# and content from docstrings
mathpath = joinpath(path, "src", "mathematical_formulation")
alldocs = alldocstrings(SpineOpt)
instructionlist = readlines(joinpath(mathpath, "constraints.md"))
markdownstring = docs_from_instructionlist(alldocs, instructionlist)
open(joinpath(mathpath, "constraints_automatically_generated_file.md"), "w") do file
open(joinpath(mathpath, "constraints_automatically_generated.md"), "w") do file
write(file, markdownstring)
end

Expand Down Expand Up @@ -59,7 +59,7 @@ pages = [
],
"Mathematical Formulation" => Any[
"Variables" => joinpath("mathematical_formulation", "variables.md"),
"Constraints" => joinpath("mathematical_formulation", "constraints_automatically_generated_file.md"),
"Constraints" => joinpath("mathematical_formulation", "constraints_automatically_generated.md"),
"Objective" => joinpath("mathematical_formulation", "objective_function.md"),
],
"Advanced Concepts" => Any[
Expand Down

0 comments on commit 59f91fe

Please sign in to comment.