From 549bdd080ccdf65a586aada4d6b3c753b01e4e82 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Wed, 2 Sep 2020 12:37:48 -0400 Subject: [PATCH] Add kspace_style to fixup_headers.py --- doc/utils/fixup_headers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/utils/fixup_headers.py b/doc/utils/fixup_headers.py index fb39c59434..c7fe57bc17 100755 --- a/doc/utils/fixup_headers.py +++ b/doc/utils/fixup_headers.py @@ -5,8 +5,8 @@ import shutil import re import argparse -index_pattern = re.compile(r"^.. index:: (compute|fix|pair_style|angle_style|bond_style|dihedral_style|improper_style)\s+([a-zA-Z0-9/_]+)$") -pattern = re.compile(r"^(compute|fix|pair_style|angle_style|bond_style|dihedral_style|improper_style)\s+([a-zA-Z0-9/_]+)\s+command$") +index_pattern = re.compile(r"^.. index:: (compute|fix|pair_style|angle_style|bond_style|dihedral_style|improper_style|kspace_style)\s+([a-zA-Z0-9/_]+)$") +pattern = re.compile(r"^(compute|fix|pair_style|angle_style|bond_style|dihedral_style|improper_style|kspace_style)\s+([a-zA-Z0-9/_]+)\s+command$") parser = argparse.ArgumentParser(description='Fixup headers in docs') parser.add_argument('files', metavar='FILE', nargs='+', help='files to fix')