Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upselect modules to include in index #56
Comments
This comment has been minimized.
This comment has been minimized.
|
Yes. Pass the |
This comment has been minimized.
This comment has been minimized.
|
Got it. I am creating a temporary environment, overwriting PYTHONPATH, and running pdoc within that environment. |
hyukim17
closed this
Jul 14, 2015
This comment has been minimized.
This comment has been minimized.
|
Is there a way to exclude certain modules? |
hyukim17
reopened this
Jul 14, 2015
This comment has been minimized.
This comment has been minimized.
|
Yes. Don't put them in your |
This comment has been minimized.
This comment has been minimized.
|
What I mean is, what if a folder contains multiple modules? |
This comment has been minimized.
This comment has been minimized.
|
Ah. There is no specific command line flag to hide modules. The standard mode of operating is to have an entry in |
This comment has been minimized.
This comment has been minimized.
|
ok, understood, I guess it makes more sense for me to clean up my directory structure |
hyukim17
closed this
Jul 14, 2015
This comment has been minimized.
This comment has been minimized.
gvvka0327
commented
Nov 6, 2015
|
I tried the suggest to put the modules I want to show up, in PYTHONPATH; no output on the html page -bash-4.1$ echo $PYTHONPATH pdoc --http --http-host= --only-pypath |
This comment has been minimized.
This comment has been minimized.
r2ad
commented
Nov 8, 2018
|
This worked well for me:
|
hyukim17 commentedJul 14, 2015
The default html server index, in Python module list, includes all available Python modules. Is there a way to restrict which modules show up here?