Skip to content

Commit eb57817

Browse files
buddly27henryiii
andauthored
docs: fix incorrect configuration example (#1023)
The documentation provides an incorrect example for disabling `site-packages` when searching for CMake configs. It should align with the value specified in the [schema](https://github.com/scikit-build/scikit-build-core/blob/main/src/scikit_build_core/resources/scikit-build.schema.json#L414) --------- Co-authored-by: Henry Schreiner <[email protected]>
1 parent beea6ea commit eb57817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration/search_paths.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ the `site-packages` folder where the project will be installed or the build
113113
isolation's `site-packages` folder. This default can be disabled by setting
114114

115115
```toml
116-
[tool.scikit-build.search]
117-
search.use-site-packages = false
116+
[tool.scikit-build]
117+
search.site-packages = false
118118
```
119119

120120
Additionally, scikit-build-core reads the entry-point `cmake.prefix` of the

0 commit comments

Comments
 (0)