brew install julia
sudo apt install julia
code --install-extension julialang.language-julia
brew install mactex
sudo apt install texlive-full
tl;dr
julia> ]
(v1.5) pkg> add Pluto
julia> import Pluto
julia> Pluto.run()
- Create a folder in git project to manage docs, e.g.,
/my-proj/docs/literate
- Files are stored as
.jl
, which allows them to be treated as standalone Julia code
- Use an initial cell that loads a clean environment:
begin
import Pkg
Pkg.activate(mktempdir())
Pkg.add("Compose")
using Compose
end
- Save output files to
/my-proj/docs/dist/
from the Pluto UI
-
Create a folder
/my-proj/docs/gh-deploy
so you can deploy a static website to GitHub (gh-pages) -
From within
gh-deploy
, run the script:npm run depoy
and this will make whatever is ingh-deploy/dist
your new GitHub site
- Research Documenter.jl for a better way to convert, assemble, and deploy documentation