Skip to content

pmishchenko-ua/docs.getdbt.com

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We use docusaurus to power docs.getdbt.com.

Table of Contents

Contributing

We welcome contributions from community members to this repo:

  • Fixes: When you notice an error, you can use the Edit this page button at the bottom of each page to suggest a change.
  • New documentation: If you contributed code in dbt-core, we encourage you to also write the docs here! Please reach out in the dbt community if you need help finding a place for these docs.
  • Major rewrites: You can file an issue or start a discussion to propose ideas for a content area that requires attention.

You can use components documented in the docusaurus library.

Writing content

When writing content, you should refer to the style guide (TBD) and content types to help you understand our writing standards and how we break down information in the product documentaion.

Using the content style guide

[TBD] a style guide to help you write in a consistent, accessible, and inclusive style.

Versioning content

We now provide dynamic versioning in the dbt Labs product documentation. To learn more about how to version the docs for dbt Core, see Managing available versions.

Adding content to the glossary

[TBD] a how-to guide on the programming behind glossary entries.

Running the Docs site locally

You can click a link available in a netlify bot PR comment to see and review your changes rendered on a staging server. You are also able to see and review your proposed modifications locally on your computer. Our setup instructions use homebrew:

prerequisites

  1. Install node: brew install node
  2. Clone this repo: git clone [email protected]:fishtown-analytics/docs.getdbt.com.git
  3. cd into the repo: cd docs.getdbt.com
  4. cd into the website subdirectory: cd website
  5. Install the required node packages: npm install
  6. Build the website: npm start
  7. Before pushing your changes to a branch, check that all links work by using the make build script.

Advisory:

  • Currently an npm install produces a number of dependency warnings, in particular several claiming that docusaurus/core is missing. Rest assured, this message is a red herring. As of writing this, no 2.0.0 package exists, so you won't have much luck trying to install it. Feel free to ignore those warnings.
  • If you run into an fatal error: 'vips/vips8' file not found error when you run npm install, you may need to run brew install vips. Warning: this one will take a while -- go ahead and grab some coffee!

About

The code behind docs.getdbt.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.2%
  • CSS 22.7%
  • HTML 15.7%
  • Other 0.4%