From 8615a56f346d5aaf6120ec70bf57f8e23289f1a6 Mon Sep 17 00:00:00 2001 From: David Gasquez Date: Mon, 11 Dec 2023 11:45:20 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=9A=9A=20move=20to=20portal=20fo?= =?UTF-8?q?lder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 16 +++++++++------- portal/.gitignore | 1 + _quarto.yml => portal/_quarto.yml | 2 +- dashboard.qmd => portal/dashboard.qmd | 0 {docs => portal/docs}/tutorial.md | 0 .../reports}/2023-01-01-Datadex.ipynb | 0 .../reports}/2023-11-01-Observable.qmd | 0 {reports => portal/reports}/index.md | 0 8 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 portal/.gitignore rename _quarto.yml => portal/_quarto.yml (97%) rename dashboard.qmd => portal/dashboard.qmd (100%) rename {docs => portal/docs}/tutorial.md (100%) rename {reports => portal/reports}/2023-01-01-Datadex.ipynb (100%) rename {reports => portal/reports}/2023-11-01-Observable.qmd (100%) rename {reports => portal/reports}/index.md (100%) diff --git a/Makefile b/Makefile index 634f7f6..386fd7f 100644 --- a/Makefile +++ b/Makefile @@ -7,19 +7,21 @@ dev: dagster dev -m datadex.dag preview: - quarto preview + quarto preview portal -docs: +dbt-docs: cd dbt && dbt docs generate --profiles-dir . mkdir -p dbt/target/docs cp dbt/target/*.json dbt/target/index.html dbt/target/graph.gpickle dbt/target/docs/ -render: docs - quarto render - quarto render README.md -M output-file:index - cp -r dbt/target/docs/ .quarto/output/docs +render: run dbt-docs + cp README.md portal/README.md + quarto render portal + cd portal && quarto render README.md -M output-file:index + cp -r dbt/target/docs/ portal/.quarto/output/dbt + rm portal/README.md clean: rm -rf data/*.parquet data/*.duckdb - rm -rf .quarto rm -rf dbt/target dbt/dbt_packages dbt/logs + rm -rf portal/.quarto diff --git a/portal/.gitignore b/portal/.gitignore new file mode 100644 index 0000000..075b254 --- /dev/null +++ b/portal/.gitignore @@ -0,0 +1 @@ +/.quarto/ diff --git a/_quarto.yml b/portal/_quarto.yml similarity index 97% rename from _quarto.yml rename to portal/_quarto.yml index 64be281..df1c6be 100644 --- a/_quarto.yml +++ b/portal/_quarto.yml @@ -26,7 +26,7 @@ website: left: - text: dbt Docs icon: sun - file: docs + file: dbt/docs - text: Dashboard icon: clipboard-data href: dashboard.html diff --git a/dashboard.qmd b/portal/dashboard.qmd similarity index 100% rename from dashboard.qmd rename to portal/dashboard.qmd diff --git a/docs/tutorial.md b/portal/docs/tutorial.md similarity index 100% rename from docs/tutorial.md rename to portal/docs/tutorial.md diff --git a/reports/2023-01-01-Datadex.ipynb b/portal/reports/2023-01-01-Datadex.ipynb similarity index 100% rename from reports/2023-01-01-Datadex.ipynb rename to portal/reports/2023-01-01-Datadex.ipynb diff --git a/reports/2023-11-01-Observable.qmd b/portal/reports/2023-11-01-Observable.qmd similarity index 100% rename from reports/2023-11-01-Observable.qmd rename to portal/reports/2023-11-01-Observable.qmd diff --git a/reports/index.md b/portal/reports/index.md similarity index 100% rename from reports/index.md rename to portal/reports/index.md