Open simphotonics opened 3 years ago
Any fixes? I added the same option you did and now I'm not getting the error, but I still have my project as a submodule, and the page is empty with no documentation
@ZaneEme. Did you activate your virtual environment? You have to install portray and run e.g. portray in_browser
from within the virtual environment. See quick-start.
To make sure you have the same configuration you could try to clone the package mentioned above and build the documentation.
Would also be happy to have a simple solution to use this with src
layout!
@timothycrosley Thanks for creating this very useful package.
Is there any way of letting portray know to look for modules in the
src
directory? The project in question isgeneric_validation
.With the default configuration I get the following error:
Below is the content of the project
setup.py
file:To make it work I had to manually modify the entry
directory
by editing thepyproject.toml
file:and copy README.md to
src
so that it gets picked up.My current project configuration is listed below:
The other thing I tried was to use:
The command above starts the server and generates documentation but lists
src
as the top module andgeneric_validation
as a submodule.