Skip to content

Commit

Permalink
fix doc build by not @reffing Base.get_extension (JuliaLang#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Nov 16, 2023
1 parent fd00e3f commit 785cec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/creating-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function plot end

In other situations, one may need to define new symbols in the extension (types, structs, functions, etc.) instead of reusing those from the parent package.
Such symbols are created in a separate module corresponding to the extension, namely `PlottingContourExt`, and thus not in `Plotting` itself.
If extension symbols are needed in the parent package, one must call [`Base.get_extension`](@ref) to retrieve them.
If extension symbols are needed in the parent package, one must call `Base.get_extension` to retrieve them.
Here is an example showing how a custom type defined in `PlottingContourExt` can be accessed in `Plotting`:

```julia
Expand Down

0 comments on commit 785cec6

Please sign in to comment.