Skip to content

Don't require conf.py when user specifies a sphinx_sourcedir #137

@rkent

Description

@rkent

Currently, sphinx_sourcedir does two things. First, it can specify the location of a non-standard documentation directory (like docs/ instead of doc/). Second, it signals (requires) that the user placed a conf.py in that location.

We happily create a default conf.py if their is documentation in doc/. We should do the same in non-standard locations. The need for a conf.py can be determined by searching for the file.

As a related issue, if the user specifies sphinx_sourcedir as the default location doc/, the program should behave no differently than if it was left at the default. Currently, specifying that forces the user to also have a conf.py in that location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions