Docs-specific dependencies - should I use a separate environment?

Should I use a separate environment?

Yes.

No, you can “install” your package into the doc environment by using a relative path. It will look something like this: fredrikekre/Literate.jl/docs/Manifest.toml#L389.