@@ -12,34 +12,17 @@ help:
1212.PHONY : apidoc
1313apidoc :
1414 # Generate full API docs, then prune duplicates covered by autosummary
15- @python -m sphinx.ext.apidoc -f -e -M -o " $( APIDIR) /dataset" " ../$( PKG) "
15+ @SPHINX_APIDOC_OPTIONS=members,undoc-members,show-inheritance,noindex \
16+ python -m sphinx.ext.apidoc -f -e -M -o " $( APIDIR) /dataset" " ../$( PKG) "
1617 # Remove top-level package page and modules covered elsewhere
17- @rm -f " $( APIDIR) /dataset/eegdash.rst"
18- @rm -f " $( APIDIR) /dataset/eegdash.api.rst"
19- @rm -f " $( APIDIR) /dataset/eegdash.bids_eeg_metadata.rst"
20- @rm -f " $( APIDIR) /dataset/eegdash.const.rst"
21- @rm -f " $( APIDIR) /dataset/eegdash.data_utils.rst"
22- @rm -f " $( APIDIR) /dataset/eegdash.logging.rst"
23- @rm -f " $( APIDIR) /dataset/eegdash.mongodb.rst"
24- @rm -f " $( APIDIR) /dataset/eegdash.paths.rst"
25- @rm -f " $( APIDIR) /dataset/eegdash.utils.rst"
26- @rm -f " $( APIDIR) /dataset/eegdash.features.rst"
27- @rm -f $(APIDIR ) /dataset/eegdash.features.* .rst
28- @rm -f " $( APIDIR) /dataset/eegdash.hbn.rst"
29- @rm -f $(APIDIR ) /dataset/eegdash.hbn.* .rst
30- @rm -f " $( APIDIR) /dataset/modules.rst"
3118
32- .PHONY : dataset-pages
33- dataset-pages :
34- # Generate individual dataset documentation pages
35- @python generate_dataset_pages.py
3619
3720# Standard build runs examples
38- html : apidoc dataset-pages
21+ html : apidoc
3922
4023# Fast build: do NOT execute examples (sphinx-gallery)
4124.PHONY : html-noplot
42- html-noplot : apidoc dataset-pages
25+ html-noplot : apidoc
4326 @python prepare_summary_tables.py ../eegdash/ $(BUILDDIR )
4427 @$(SPHINXBUILD ) -M html " $( SOURCEDIR) " " $( BUILDDIR) " \
4528 $(SPHINXOPTS ) -D sphinx_gallery_conf.plot_gallery=0 $(O )
@@ -65,5 +48,4 @@ Makefile: ;
6548
6649% : Makefile
6750 @python prepare_summary_tables.py ../eegdash/ $(BUILDDIR )
68- @python generate_dataset_pages.py
6951 @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
0 commit comments