Skip to content
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

Feature: Add documentation website #91

Merged

Conversation

luiherch
Copy link
Contributor

Add material mkdocs documentation website

@luiherch luiherch changed the title Feature/documentation website Feature: Add documentation website Oct 21, 2024
@nicholasyager
Copy link
Owner

Thanks for submitting this, @luiherch! I'll review this PR this week.

@nicholasyager nicholasyager added the documentation Improvements or additions to documentation label Nov 14, 2024
Copy link
Owner

@nicholasyager nicholasyager left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luiherch thanks for making this pull request! There are two areas for improvement before this can be merged:

  • Removing the trademarked dbt logo
  • Adding all missing docs site dependencies to pyproject.toml

Please let me know if you have any questions!

Comment on lines +36 to +37
!!! warning
dbt core's plugin functionality is still in beta. Please note that this may break in the future as dbt Labs solidifies the dbt plugin API in future versions.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: I think the plugin interface has been around long enough that we're good to remove this warning.

run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
poetry run mike deploy --push --force --message "Deployed by GitHub Actions" main
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: It looks like we're missing the mkdocs-material dependency for the documentation site, and the mike dependency for managing the deployment.

Suggestion: I'd recommend adding a new dependency group called docs that has all of the deps required to build the docs site, and then update the Install dependencies step on line 26 to install the new docs group instead of the dev group.

@@ -44,7 +44,7 @@ dbt-loom currently supports obtaining model definitions from:

## Getting Started

To being, install the `dbt-loom` python package.
To begin, install the `dbt-loom` python package.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Praise: Great catch! Thanks for fixing this.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: Alas, this logo is definitely a trademark of dbt Labs, so it'll have to go. We should be fine using only the dbt-loom name for now, although I'm open to other logo ideas if you have one stashed away.

@nicholasyager nicholasyager linked an issue Nov 14, 2024 that may be closed by this pull request
@nicholasyager nicholasyager merged commit 5f8e0a6 into nicholasyager:main Nov 24, 2024
3 of 4 checks passed
@nicholasyager
Copy link
Owner

Thanks for the hard work! I'm going to merge this into an in-repo branch so I can make the necessary improvements. This will be merged soon.

@nicholasyager nicholasyager self-assigned this Nov 24, 2024
@luiherch luiherch deleted the feature/documentation-website branch November 30, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a documentation website for dbt-loom
2 participants