-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS]: Adds Welcome Section and "What Is Cosmos" Blurb to Home Page #1251
base: main
Are you sure you want to change the base?
Conversation
- Updated `index.rst` to enhance the documentation structure - Included a welcome section and detailed explanation of Cosmos - Expanded example usage with dbt graph and more usage details
✅ Deploy Preview for sunny-pastelito-5ecb04 canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1251 +/- ##
=======================================
Coverage 95.73% 95.73%
=======================================
Files 67 67
Lines 3965 3965
=======================================
Hits 3796 3796
Misses 169 169 ☔ View full report in Codecov by Sentry. |
Below, you can see what the original dbt workflow looks like in a lineage graph. This graph helps illustrate the | ||
relationships between different models: | ||
|
||
.. image:: /_static/jaffle_shop_dbt_graph.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. image:: /_static/jaffle_shop_dbt_graph.png | |
.. image:: https://raw.githubusercontent.com/astronomer/astronomer-cosmos/main/docs/_static/jaffle_shop_dbt_graph.png |
wydt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I tried that, it didn't render (I assume because it wasn't in version control yet). What's the difference between this, and using the relative path so that also works locally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they’re just alternatives to each other. I maybe wrong wrt rst syntax, however, I would consider /_static/jaffle_shop_dbt_graph.png
to be an absolute path, and I’m unsure how that works :). I’m wondering if the correct relative path should be ./_static/jaffle_shop_dbt_graph.png
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I initially tried https://raw.githubusercontent.com/astronomer/astronomer-cosmos/main/docs/_static/jaffle_shop_dbt_graph.png
, I received an error. Intuitively that made sense since the image is new, and does not exist on the main branch.
I then tried ./_static/jaffle_shop_dbt_graph.png
, and received the same error. Last attempt was /_static/jaffle_shop_dbt_graph.png
, and the docs compiled properly.
As written, the image shows up in the PR preview environment. See here - it's the image for the dbt lineage graph. I'm fine with switching to pulling the image from github main branch if that is what you want, but it means that this PR won't work until after the PR has been merged to main.
Why Should You Use Cosmos? | ||
___________________________ | ||
|
||
Cosmos makes orchestrating dbt workflows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cosmos makes orchestrating dbt workflows: | |
Cosmos makes orchestrating dbt-core workflows: |
Shall we use "Dbt-core" instead of "dbt"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tatiana / @pankajkoti any thoughts ^^?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not too sure. Maybe we could add a line somewhere that in general when we mean dbt
, we're referring to dbt-core
workflows throughout the references. no strong opinion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor punctuation and grammar fixes but everything else looks great!
Co-authored-by: yanmastin-astro <[email protected]>
Co-authored-by: yanmastin-astro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more minor formatting fix to remove line break in list
Co-authored-by: yanmastin-astro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Would be nice to confirm if the path to the jaffle_shop_dbt_graph.png
image works well. Anyhow, I guess we should be able to quickly iterate through that later in a subsequent PR if we see any issues with it.
Summary
DbtDag
Changes
index.rst
(+72 additions, -19 deletions)jaffle_shop_dbt_graph.png
Related Issue(s)
Part of #1225