I'm trying to use the basics of Sphinx to document a small project. But I can't get him to find the files that are in a directory above.
The project structure is as follows:
/Users/machine/workspace/project1
├── BDRespostas.py
├── constantes.py
├── docs
│ ├── conf.py
│ ├── index.rst
│ └── make.bat
├── estatisticas.py
├── migrate_postgre_sqlite.py
├── preProcessamentoTextual.py
└──
And I have tried to configure index.rst in several ways, without success:
.. toctree::
:maxdepth: 2
:caption: Contents:
:ref:'estatisticas.py'
../BDRespostas.py
'/Users/machine/workspace/project1/constantes.py'
I also combined several attempts with adding sys.path.insert () to the project directory. If you already managed to make this reference and can help me, I really appreciate it.