doc/dir of a package given an initial directory.
str) – The inititial directory to search from. In practice, this is often the directory that the user is running the package-docs CLI from. This directory needs to be somewhere inside the package’s repository.
root_dir – The root documentation directory (
- Return type:
FileNotFoundError – Raised if a
conf.pyfile is not found in the initial directory, or any parents, or in a