Невозможно использовать sphinx в папке \ home - PullRequest
0 голосов
/ 20 апреля 2020
(base) himanshhu@app81:/home/lovekesh/tymoff-recommendation-engine/docs$ sphinx-quickstart
Welcome to the Sphinx 2.4.4 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]: y

The project name will occur in several places in the built documentation.
> Project name: TymOff Recommendation
> Author name(s): Vishal
> Project release []:

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
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language.
> Project language [en]:
Traceback (most recent call last):
  File "/home/himanshhu/miniconda3/bin/sphinx-quickstart", line 10, in <module>
    sys.exit(main())
  File "/home/himanshhu/miniconda3/lib/python3.7/site-packages/sphinx/cmd/quickstart.py", line 615, in main
    generate(d, overwrite=False, templatedir=args.templatedir)
  File "/home/himanshhu/miniconda3/lib/python3.7/site-packages/sphinx/cmd/quickstart.py", line 371, in generate
    ensuredir(srcdir)
  File "/home/himanshhu/miniconda3/lib/python3.7/site-packages/sphinx/util/osutil.py", line 84, in ensuredir
    os.makedirs(path, exist_ok=True)
  File "/home/himanshhu/miniconda3/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: './source'
...