pdoc3 / pdoc

:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://pdoc3.github.io/pdoc/
GNU Affero General Public License v3.0
1.12k stars 145 forks source link

Support for dynamically hiding or showing modules #344

Open postlund opened 3 years ago

postlund commented 3 years ago

I currently use pdoc3 for my "developer documentation", i.e. the reference developers using my library goes to. That's a specific subset of all the modules I ship. Now, I would also like to provide a reference that also include all private modules, more suitable for anyone extending my library. Would it somehow be possible to normally just show some module, but via a flag or something show additional modules? I know the pages are statically generated, so I guess some JavaScript magic would be needed. Anyone see a chance to accomplish something like this at all (without having to generate two separate documentations)?