Skip to content

Commit 6d9175d

Browse files
authored
Merge pull request #2203 from tisnik/lcore-3141-make-schema-target-update
LCORE-3141: make schema target update
2 parents 5cdb411 + 9a935c9 commit 6d9175d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,18 +176,18 @@ format: ## Format the code into unified format
176176
uv run black --line-length 88 src tests
177177
uv run ruff check src tests --fix
178178

179-
schema: ## Generate OpenAPI schema file stored in docs subdirectory
180-
uv run scripts/generate_openapi_schema.py docs/openapi.json
179+
schema: ## Generate OpenAPI schema file stored in docs/devel_doc subdirectory
180+
uv run scripts/generate_openapi_schema.py docs/devel_doc/openapi.json
181181

182-
openapi-doc: docs/openapi.json scripts/fix_openapi_doc.py ## Generate OpenAPI documentation
183-
openapi-to-markdown --input_file docs/openapi.json --output_file output.md
182+
openapi-doc: docs/devel_doc/openapi.json scripts/fix_openapi_doc.py ## Generate OpenAPI documentation
183+
openapi-to-markdown --input_file docs/devel_doc/openapi.json --output_file output.md
184184
# LCORE-1494: don't overwrite the original docs/output.md for now
185185
python3 scripts/fix_openapi_doc.py < output.md > openapi2.md
186186
rm output.md
187187

188-
generate-documentation: devel-doc ## Generate or regenerated content of the whole /docs subdirectory
188+
generate-documentation: devel-doc schema ## Generate or regenerated content of the whole /docs subdirectory
189189

190-
doc: devel-doc ## Generate or regenerated content of the whole /docs subdirectory
190+
doc: generate-documentation ## Generate or regenerated content of the whole /docs subdirectory
191191

192192
devel-doc: ## Generate documentation for developers
193193
scripts/gen_doc.py

0 commit comments

Comments
 (0)