From a07798d9834c0bfedc7828e47e62a5f01b565e9a Mon Sep 17 00:00:00 2001 From: w-bonelli Date: Sat, 4 Jan 2025 17:05:49 -0500 Subject: [PATCH] omit removed/deprecated options from keystring descriptions --- doc/mf6io/mf6ivar/mf6ivar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/mf6io/mf6ivar/mf6ivar.py b/doc/mf6io/mf6ivar/mf6ivar.py index 9e13b70bcbf..183936afbcc 100644 --- a/doc/mf6io/mf6ivar/mf6ivar.py +++ b/doc/mf6io/mf6ivar/mf6ivar.py @@ -413,6 +413,8 @@ def write_desc(vardict, block, blk_var_list, varexcludeprefix=None): # s += '\\begin{verbatim}\n' s += "\\begin{lstlisting}[style=blockdefinition]\n" for vn in t.strip().split()[1:]: + if "removed" in vardict[(vn, block)] or "deprecated" in vardict[(vn, block)]: + continue blockentry = block_entry(vn, block, vardict, "") s += f"{blockentry}\n" # s += '\\end{verbatim}\n\n'