Help getting Sphinx setup.

I think I may be doing somthing wrong.

1st my project file strucure looks like this.

│ └───__pycache__
│ └───__pycache__
│ └───__pycache__
│ ├───HashTablePrettyPrinter
│ │ └───__pycache__
│ └───__pycache__
│ └───__pycache__
│ └───__pycache__

Next I run Sphinx quick start and go with the defaults?

Welcome to the Sphinx 2.0.0 quickstart utility.

Please enter values for the following settings (just press Enter to
accept a default value, if one is given in brackets).

Selected root path: .

You have two options for placing the build directory for Sphinx output.
Either, you use a directory "_build" within the root path, or you separate
"source" and "build" directories within the root path.
> Separate source and build directories (y/n) [n]: n

The project name will occur in several places in the built documentation.
> Project name: myproject
> Author name(s): myname
> Project release []: 1.1

If the documents are to be written in a language other than English,
you can select a language here by its language code. Sphinx will then
translate text that it generates into that language.

For a list of supported codes, see
> Project language [en]: en

Creating file .\
Creating file .\index.rst.
Creating file .\Makefile.
Creating file .\make.bat.

Finished: An initial directory structure has been created.

You should now populate your master file .\index.rst and create other documentation
source files. Use the Makefile to build the docs, like so:
make builder
where "builder" is one of the supported builders, e.g. html, latex or linkcheck.

Process finished with exit code 0

Next I setup Sphinx like by add debug config like

Then when I try and run the the sphix config I get the error. 

C:\Program Files\JetBrains\PyCharm 2018.3.3\helpers\rest_runners\ RemovedInSphinx30Warning: sphinx.cmdline module is deprecated. Use instead.
usage: [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...] error: cannot find files ['C:\\Users\\admini\\PycharmProjects\\DSII_G\\_build']



Please let me know if you have any questions!




1 comment


I believe you're hitting the following issue:

Please vote, follow, feel free to leave comments. You can also try the workaround provided there (the modified file), but until the issue is fixed by our developers, I can't guarantee it'll work.


Please sign in to leave a comment.