Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
add note which versions were used for docs (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel authored Jan 14, 2021
1 parent 2cf6d8a commit c23c40a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,27 @@ CairoMakie.activate!()
- Check out how to make more complex plots and layouts in the [Layout Tutorial](@ref)
- See example plots in the [Gallery](http://juliaplots.org/MakieReferenceImages/gallery/index.html).

```@eval
using Markdown
using Pkg
function print_dep_version(depname)
deps = Pkg.dependencies()
version = first(d for d in deps if d.second.name == depname).second.version
"$depname: v$version"
end
Markdown.parse("""
!!! note
These docs were autogenerated using:
- $(print_dep_version("AbstractPlotting"))
- $(print_dep_version("GLMakie"))
- $(print_dep_version("CairoMakie"))
If you encounter errors with the code examples, check first that your installed versions are appropriate.
""")
```

## Makie Ecosystem

Expand Down

0 comments on commit c23c40a

Please sign in to comment.