Skip to content

Commit ac6ab53

Browse files
committed
Doc: Fix netCDF name in vector driver index
1 parent 93e9fe5 commit ac6ab53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/source/_extensions/driverproperties.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,11 @@ def driver_properties(self):
272272
long_name = long_name_node.astext()
273273
if " -- " in long_name:
274274
long_name = long_name.split(" -- ")[1].strip()
275-
if " - " in long_name and "OGC API" not in long_name:
275+
if (
276+
" - " in long_name
277+
and "OGC API" not in long_name
278+
and "NetCDF" not in long_name
279+
):
276280
long_name = long_name.split(" - ")[1].strip()
277281

278282
self.env.gdal_drivers[short_name] = {

0 commit comments

Comments
 (0)