Documenter.jl icon indicating copy to clipboard operation
Documenter.jl copied to clipboard

doctest for modules without documentation and for separate functions

Open xvries opened this issue 2 years ago • 1 comments

It would be nice to be able to run doctest() on:

  1. A module without a */docs/src/ directory. Right now it throws an error.
  2. A separate function, in order to troubleshoot a single docstring.

xvries avatar Jul 07 '22 07:07 xvries

For (1), you should be able to do it with doctest(MyModule, manual = false). (2) would indeed be nice to have.

mortenpi avatar Jul 07 '22 07:07 mortenpi

Closing a duplicate of https://github.com/JuliaDocs/Documenter.jl/issues/1213

odow avatar Nov 01 '23 02:11 odow