diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fc88908..a21b99d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 to the compressed output by default. - Note that JLCPCB BoM and Position files aren't included anymore, they are uploaded separately. +- Quick Start: + - Now we generate if for projects, not separated files. + This avoids problems for sub-sheets in separated dirs. ### Fixed - Schematics: problems with deep nested and recycled sheets (#520) diff --git a/kibot/kiplot.py b/kibot/kiplot.py index 7ad0de18..b6cb54a6 100644 --- a/kibot/kiplot.py +++ b/kibot/kiplot.py @@ -1129,11 +1129,11 @@ def generate_examples(start_dir, dry, types): # Install the resources setup_resources() # Look for candidate dirs - k_files_regex = re.compile(r'([^/]+)\.(kicad_pcb|kicad_sch|sch)$') + k_files_regex = re.compile(r'([^/]+)\.(kicad_pro|pro)$') candidates = set() for f in _walk(start_dir, 6): if k_files_regex.search(f): - candidates.add(os.path.dirname(f)) + candidates.add(os.path.realpath(os.path.dirname(f))) # Try to generate the configs in the candidate places confs = [] for c in sorted(candidates):