Skip to content

Commit

Permalink
DAGs.md to documentation/catalog/reference and add table of content
Browse files Browse the repository at this point in the history
  • Loading branch information
ngken0995 committed Sep 25, 2023
1 parent 31ccd89 commit e319e52
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1,119 deletions.
4 changes: 2 additions & 2 deletions catalog/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ generate-dag-docs fail_on_diff="false":
{{ SERVICE }} \
"bash -c 'python catalog/utilities/dag_doc_gen/dag_doc_generation.py && chmod 666 /opt/airflow/catalog/utilities/dag_doc_gen/DAGs.md'"
# Move the file to the top level on the documentation folder, since that level is not mounted into the container
mv utilities/dag_doc_gen/DAGs.md ../documentation/DAGs.md
mv utilities/dag_doc_gen/DAGs.md ../documentation/catalog/reference/DAGs.md
echo -n "Running linting..."
# Linting step afterwards is necessary since the generated output differs greatly from what prettier expects
just ../lint prettier documentation/DAGs.md &>/dev/null || true
just ../lint prettier documentation/catalog/reference/DAGs.md &>/dev/null || true
echo "Done!"
if {{ fail_on_diff }}; then
set +e
Expand Down
Loading

0 comments on commit e319e52

Please sign in to comment.