Open wd60622 opened 4 months ago
It is possible to some extent. It should work to quickly check some rendering issues, but many cross-references might break, as sphinx needs to generate the documentation as a whole for all cross-references to be resolvable.
What do you think would be the best way to go about that? Documenting how to use include_patterns
and exclude_patterns
with sphinx-build directive? Or are there common subsets which would make it preferrable to add the commands to the makefile with make mmm
to generate the docs of mmm related files or make no-notebooks
to exclude notebooks?
It would be awfully convenient to be able to build a single notebook, only the notebooks, or specific module docstrings.
The
make html
command is very helpful. However, the build takes some timehttps://github.com/pymc-labs/pymc-marketing/blob/91564cfbcce3d341d3d9bdab91a5b25766764b5a/Makefile#L20-L22
For notebooks, the sphinx rendering is a bit different than the jupyter notebook which can cause render issues not seen.
Not sure if this is possible though!