From afa73d245d486c6072345b67beef2d28f00dde0c Mon Sep 17 00:00:00 2001 From: Michal Plichta Date: Thu, 12 Sep 2024 21:30:40 +0200 Subject: [PATCH] Exclude 'dcs_py.py' from documentation generation --- scripts/gen_ref_pages.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gen_ref_pages.py b/scripts/gen_ref_pages.py index c05883a7e..ed9f6aedd 100644 --- a/scripts/gen_ref_pages.py +++ b/scripts/gen_ref_pages.py @@ -9,6 +9,8 @@ src = root / 'src' for path in sorted(src.rglob('*.py')): + if path.name == 'dcs_py.py': + continue module_path = path.relative_to(src).with_suffix('') doc_path = path.relative_to(src / 'dcspy').with_suffix('.md') full_doc_path = Path('reference', doc_path)