JuliaDocs/DocumenterTools.jl

generate(name) should only work for `dev`ed packages.

fredrikekre opened this issue · 2 comments

I think we should try to detect where the package source is located, and error if the package is installed in one of the regular package directories, since those are supposed to be read only.

We can also make the second dir argument mandatory.

When I was looking at it I was thinking about the following API:

  • generate(::Module) generates for an existing (devved) package.
  • generate(::AbstractString) generates to a path.