Skip to content

Commit 6402ec7

Browse files
committed
Added NWB specification class settings to the format docs configuration to catch up with latest nwb docutils
1 parent 116867e commit 6402ec7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/format/source/conf_doc_autogen.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,15 @@
7979
# Resolve includes to always show the full list of objects that are part of a type (True)
8080
# or to show only the parts that are actually new to a current type while only linking to base types
8181
spec_resolve_type_inc = False
82+
83+
# Default type map to be used. This is the type map where dependent namespaces are stored. In the case of
84+
# NWB this is spec_default_type_map = pynwb.get_type_map()
85+
import pynwb
86+
spec_default_type_map = pynwb.get_type_map()
87+
88+
# Default specification classes for groups datasets and namespaces. In the case of NWB these are the NWB-specfic
89+
# spec classes. In the general cases these are the spec classes from HDMF
90+
spec_group_spec_cls = pynwb.spec.NWBGroupSpec
91+
spec_dataset_spec_cls = pynwb.spec.NWBDatasetSpec
92+
spec_namespace_spec_cls = pynwb.spec.NWBNamespace
93+

0 commit comments

Comments
 (0)