diff --git a/doc/source/scripts/core.py b/doc/source/scripts/core.py
index 9b1455a5..37f2356f 100644
--- a/doc/source/scripts/core.py
+++ b/doc/source/scripts/core.py
@@ -4,6 +4,7 @@
DESCRIPTIONS = {
"CHEMFILES": "use readers from `chemfiles `_ library",
+ "CIF": "PDBx/mmCIF file",
"CRD": "CHARMM CARD file",
"CONFIG": "DL_Poly CONFIG file",
"COOR": "NAMD binary restart file",
diff --git a/doc/source/scripts/gen_format_overview_classes.py b/doc/source/scripts/gen_format_overview_classes.py
index e733f0a9..25b17322 100644
--- a/doc/source/scripts/gen_format_overview_classes.py
+++ b/doc/source/scripts/gen_format_overview_classes.py
@@ -46,7 +46,7 @@ def _create_key(fmt: str, handlers: dict[HANDLER_T, Type[Any]]) -> str:
if fmt in DESCRIPTIONS:
key = fmt
else:
- key = list(handlers.values())[0].format[0]
+ key = list(handlers.values())[0].format[0].upper()
# raise an informative error
if key not in DESCRIPTIONS:
diff --git a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr
index e9bd3e62..e49e1c26 100644
--- a/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr
+++ b/doc/source/scripts/tests/snapshot/__snapshots__/test_gen_format_overview_classes.ambr
@@ -13,6 +13,18 @@
'',
'',
]),
+ list([
+ ':ref:`CIF `',
+ 'PDBx/mmCIF file',
+ '',
+ '',
+ ]),
+ list([
+ ':ref:`CIF.GZ `',
+ 'PDBx/mmCIF file',
+ '',
+ '',
+ ]),
list([
':ref:`CONFIG `',
'DL_Poly CONFIG file',
@@ -133,6 +145,18 @@
'',
'',
]),
+ list([
+ ':ref:`MMCIF `',
+ 'PDBx/mmCIF file',
+ '',
+ '',
+ ]),
+ list([
+ ':ref:`MMCIF.GZ `',
+ 'PDBx/mmCIF file',
+ '',
+ '',
+ ]),
list([
':ref:`MMTF `',
'MMTF file',
@@ -291,6 +315,22 @@
'✓',
'✓',
]),
+ list([
+ ':ref:`CIF `',
+ 'PDBx/mmCIF file',
+ '✓',
+ '✓',
+ '✓',
+ '',
+ ]),
+ list([
+ ':ref:`CIF.GZ `',
+ 'PDBx/mmCIF file',
+ '✓',
+ '✓',
+ '✓',
+ '',
+ ]),
list([
':ref:`CONFIG `',
'DL_Poly CONFIG file',
@@ -459,6 +499,22 @@
'✓',
'',
]),
+ list([
+ ':ref:`MMCIF `',
+ 'PDBx/mmCIF file',
+ '✓',
+ '✓',
+ '✓',
+ '',
+ ]),
+ list([
+ ':ref:`MMCIF.GZ `',
+ 'PDBx/mmCIF file',
+ '✓',
+ '✓',
+ '✓',
+ '',
+ ]),
list([
':ref:`MMTF `',
'MMTF file',