Skip to content

indigodata/docs-builder

 
 

Repository files navigation

dbt docs

dbt 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.

Showing dbt docs

In your dbt project, run dbt docs generate then dbt docs serve.

Development

After cloning this repository, run:

git submodule update --init --recursive

Ensure you have a sufficient ssh key in ~/.ssh. npm installs some deps from Github

To build the container

$ make build

npm installs some dependances from Github using SSH. SSH prompts the user to verify the authenticity of the host (Github recomends HTTPS access) which hangs then fails since the install task is daemonized. This adds Github as a known host.

ssh-keyscan github.com >> ~/.ssh/known_hosts

Install bundler:

gem install bundler
bundle install

Build / Run

To build the css files required for webpack:

cd styles
bundle exec jekyll build
cd -

To build an index.html file:

npm install
npx webpack

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

npm install
npm start

About

Auto-generated data documentation site for dbt projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.7%
  • HTML 30.5%
  • CSS 0.8%
  • Dockerfile 0.4%
  • Makefile 0.3%
  • Python 0.2%
  • Ruby 0.1%