JuliaDocs/Documenter.jl
Easier doctests of non-exported functions
Ouverte
#2 126 ouverte le 21 mai 2023
Topic: UsabilityType: Enhancementhelp wanted
Métriques du dépôt
- Stars
- (910 étoiles)
- Métriques de merge PR
- (Merge moyen 16j 9h) (3 PRs mergées en 30 j)
Description
Hello,
I've recently started adding more doctests to unexported functions in my code, and I seem to be repeating the same boilerplate-y setup quite a bit, e.g.
"""
parsechecksum(checksum::String)
...text...
```jldoctest; setup = :(import DataToolkitCommon.Store.parsechecksum)
julia> parsechecksum("crc32c:9c0188ee")
(:crc32c, 0x9c0188ee)
```
"""
Is there some way this boilerplate could be avoided?