Skip to content

Commit

Permalink
Fix docsetup for Traits submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jul 29, 2023
1 parent 38cc432 commit 67e5cbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Documenter, LossFunctions

DocMeta.setdocmeta!(LossFunctions, :DocTestSetup, :(using LossFunctions); recursive=true)

makedocs(
modules=[LossFunctions],
modules=[LossFunctions, LossFunctions.Traits],
authors="Christof Stocker, Tom Breloff, Alex Williams",
repo="https://github.com/JuliaML/LossFunctions.jl/blob/{commit}{path}#{line}",
sitename="LossFunctions.jl",
Expand Down
1 change: 1 addition & 0 deletions docs/src/advanced/extend.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
```@meta
DocTestSetup = quote
using LossFunctions
using LossFunctions.Traits
end
```

Expand Down

2 comments on commit 67e5cbf

@juliohm
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/88644

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.11.0 -m "<description of version>" 67e5cbff9198355c4019e49e71804d3d7ac75363
git push origin v0.11.0

Please sign in to comment.