lsst-sqre / documenteer

Sphinx extensions, configurations, and tooling for Rubin Observatory documentation projects
https://documenteer.lsst.io
MIT License
6 stars 3 forks source link

Let package-docs CLI auto-discover the doc directory #28

Closed jonathansick closed 6 years ago

jonathansick commented 6 years ago

The package-docs CLI (#24) requires a --dir argument to define the root doc/ directory. The default is the current working directory. It would be nice if the command could "discover" that doc/ directory if the current working directory is anywhere inside a package. This would greatly improve the usability of the package-docs CLI.