alf-mindshift / dbt-docs

Auto-generated data documentation site for dbt projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbt docs

dbt (data build tool) helps analysts write reliable, modular code using a workflow that closely mirrors software development.

This repository contains code for generating a documentation site for dbt projects. Check out the dbt documentation for more information.


Getting Started

Code of Conduct

Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.

Development

After cloning this repository, run:

git submodule update --init --recursive

Then, install yarn and webpack.

npm install -g yarn webpack webpack-cli

You'll also need to install jekyll if you don't already have it:

gem install bundler jekyll

Build / Run

To build the css files required for webpack:

cd styles
jekyll build
cd -

To build an index.html file:

yarn install
webpack

To run the dev server, first copy your manifest.json, catalog.json, and run_results.json files to the src/ directory. Then run:

yarn install
npm start

About

Auto-generated data documentation site for dbt projects

License:Apache License 2.0


Languages

Language:JavaScript 61.4%Language:HTML 36.6%Language:CSS 1.2%Language:TSQL 0.6%Language:Makefile 0.2%Language:Ruby 0.1%Language:Shell 0.0%