Hi its me again!
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?