Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
KeitaNakamura committed Aug 19, 2024
1 parent b907a07 commit f95c73b
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions docs/literate.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using Literate

const EXAMPLES = ["collision.jl",
"tlmpm_vortex.jl",
"implicit_jacobian_free.jl",
"implicit_jacobian_based.jl",
"dam_break.jl",
"rigid_body_contact.jl"]
const TUTORIALS = ["collision.jl",
"tlmpm_vortex.jl",
"implicit_jacobian_free.jl",
"implicit_jacobian_based.jl",
"dam_break.jl",
"rigid_body_contact.jl"]

for filename in EXAMPLES
path = joinpath(@__DIR__, "literate/examples", filename)
outputdir = joinpath(@__DIR__, "src/examples")
for filename in TUTORIALS
path = joinpath(@__DIR__, "literate/tutorials", filename)
outputdir = joinpath(@__DIR__, "src/tutorials")
Literate.markdown(path, outputdir; codefence="```julia" => "```")
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ makedocs(;
sitename = "Tesserae.jl",
pages=[
"Home" => "index.md",
"getting_started.md",
"Examples" => [
"examples/collision.md",
"Tutorials" => [
"tutorials/getting_started.md",
"tutorials/collision.md",
"Implicit methods" => [
"examples/implicit_jacobian_free.md",
"examples/implicit_jacobian_based.md",
"tutorials/implicit_jacobian_free.md",
"tutorials/implicit_jacobian_based.md",
],
"examples/dam_break.md",
"examples/tlmpm_vortex.md",
"examples/rigid_body_contact.md",
"tutorials/dam_break.md",
"tutorials/tlmpm_vortex.md",
"tutorials/rigid_body_contact.md",
],
],
doctest = true, # :fix
Expand Down
File renamed without changes.

0 comments on commit f95c73b

Please sign in to comment.