diff options
author | Vasek Sraier <git@vakabus.cz> | 2022-09-26 13:21:32 +0200 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2023-01-10 19:57:13 +0100 |
commit | 45a7e8edd3ff537dea34f80f733e5cc69f3200cd (patch) | |
tree | 3882faa797fb4a82a97a9af7584029b333c9f395 /scripts | |
parent | kresctl: fix typing annotations for old python (diff) | |
download | knot-resolver-45a7e8edd3ff537dea34f80f733e5cc69f3200cd.tar.xz knot-resolver-45a7e8edd3ff537dea34f80f733e5cc69f3200cd.zip |
docs: generating and linking JSON schema for the declarative config
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make-doc.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/make-doc.sh b/scripts/make-doc.sh index d41e234c..086fe410 100755 --- a/scripts/make-doc.sh +++ b/scripts/make-doc.sh @@ -2,6 +2,15 @@ # SPDX-License-Identifier: GPL-3.0-or-later cd "$(dirname ${0})/.." + +# generate JSON schema for the manager's declarative config +pushd manager +## the following python command should hopefully run without any dependencies except for standard python +mkdir -p ../doc/_static/ +python3 -m knot_resolver_manager.cli schema > ../doc/_static/config-schema.json +popd + + pushd doc doxygen popd |