Skip to content

Commit 1b93e5b

Browse files
authored
docs: expand and move schema (#795)
Fix #794. Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent d088992 commit 1b93e5b

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

docs/configuration.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -698,12 +698,9 @@ cmake.version = ">=3.18"
698698
If you use `if.any` instead of `if`, then the override is true if any one of the
699699
items in it are true.
700700

701-
## Full schema
701+
## Full Schema
702702

703-
The full schema for the `tool.scikit-build` table is below:
703+
You can see the full schema at [](#full-schema).
704704

705-
```{jsonschema} ../src/scikit_build_core/resources/scikit-build.schema.json
706-
707-
```
708705

709706
[pep 508]: https://peps.python.org/pep-0508/#environment-markers

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ plugins/hatchling
5454
:caption: API docs
5555
5656
api/scikit_build_core
57+
schema
5758
```
5859

5960
## Indices and tables

docs/schema.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
(full-schema)=
3+
4+
# Schema
5+
6+
The full schema for the `tool.scikit-build` table is below:
7+
8+
```{jsonschema} ../src/scikit_build_core/resources/scikit-build.schema.json
9+
:auto_reference: true
10+
```

0 commit comments

Comments
 (0)