Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Fixed

- `setup_project.sh` also renames the docs smoke paths (`api/app/...` in `docs.yml`), so the
docs build of a new project no longer looks for the template's API pages.

### Added

- Opt-in scope-profiler regions, as in plasmacoll, wellbalanced and patchwork: `_profiling.py`
Expand Down
3 changes: 2 additions & 1 deletion setup_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ replace "from ${PACKAGE}\\.main import main" "from ${APPNAME_UNDERSCORE}.main im
replace "from ${PACKAGE}\\._profiling import" "from ${APPNAME_UNDERSCORE}._profiling import"
replace "${PACKAGE}\\.main:main" "${APPNAME_UNDERSCORE}.main:main"
replace "${PACKAGE}\\.main\\.main" "${APPNAME_UNDERSCORE}.main.main"
replace "/api/${PACKAGE}/" "/api/${APPNAME_UNDERSCORE}/"
# also the docs smoke paths, which are relative (api/app/...)
replace "api/${PACKAGE}/" "api/${APPNAME_UNDERSCORE}/"
replace "src/${PACKAGE}/" "src/${APPNAME_UNDERSCORE}/"
replace "source = \[ \"${PACKAGE}\" \]" "source = [ \"${APPNAME_UNDERSCORE}\" ]"
replace "pythonPackage: '${PACKAGE}'," "pythonPackage: '${APPNAME_UNDERSCORE}',"
Expand Down
Loading