What about:
For example, this works just fine:
```@docs
TestPackage.InitialState # struct type docs
TestPackage.InitialState() # constructor docs
```
Your updated example doesn’t show any warnings like you mention:
It would be useful if you can provide examples that reproduce your problems.