Context:
I have finally a minimal documentation running:
Now I am trying to mimic in
exp.jl
the lovely documentation of Attractors.jl, in particular the very nice Attractors.jl Tutorial as suggested in this YouTube tutorial.
Issue:
My issue is that if I click here:
My computer opens instead the local folder instead:
I suspect this has to do with how you reference things which apparently I havent figured it out.
Full set of details:
File structure:
ββ Manifest.toml
ββ Project.toml
ββ docs/
βββ Manifest.toml
βββ make.jl
βββ Project.toml
βββ src/
β βββ index.md
β βββ exp.md # automatically generated
β βββ experiments/
β β βββ exp.jl
ββ src/
βββTest_Module.jl
βββ test.jl
Contents of docs/src/experiments/exp.jl
:
# # [exp.jl exp](@id exp)
# ### Test plot
using Plots
plot(rand(100,2))
Contents of docs/make.jl
:
# docs/make.jl
push!(LOAD_PATH,"../src/")
using Documenter, Test_Module, Literate
# literate the tutorial
Literate.markdown(
joinpath(@__DIR__, "src/experiments/", "exp.jl"), joinpath(@__DIR__, "src");
credit = false
)
makedocs(sitename="My Documentation",
pages = [
"index.md",
"exp.md"
# "Experiments" => ["experiments/exp_1.md",
# "experiments/exp_2.md",
# "experiments/exp_3.md",]
]
)
Contents of docs/src/index.md
:
# Test_Module
´´´@contents
´´´
## Documentation
´´´@meta
CurrentModule = Test_Module
´´´
´´´@autodocs
Modules = [Test_Module]
´´´
## Index
´´´@index
´´´
Question: what is going on?