Coder Social home page Coder Social logo

niallrees / docs.getdbt.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbt-labs/docs.getdbt.com

0.0 0.0 0.0 442.39 MB

The code behind docs.getdbt.com

Home Page: https://docs.getdbt.com/

License: Apache License 2.0

JavaScript 68.03% M 0.09% CSS 18.74% Makefile 0.27% HTML 12.88%

docs.getdbt.com's Introduction

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]:dbt-labs/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!

Running the Cypress tests locally

Method 1: Utilizing the Cypress GUI

  1. Install node: brew install node
  2. Clone this repo: git clone [email protected]:dbt-labs/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. Run npx cypress open to open the Cypress GUI, and choose E2E Testing as the Testing Type, before finally selecting your browser and clicking Start E2E testing in {broswer}
  7. Click on a test and watch it run!

Method 2: Running the Cypress E2E tests headlessly

  1. Install node: brew install node
  2. Clone this repo: git clone [email protected]:dbt-labs/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. Run npx cypress run

docs.getdbt.com's People

Contributors

mirnawong1 avatar johnblust avatar jkarlavige avatar jtcohen6 avatar clrcrl avatar drewbanin avatar amychen1776 avatar runleonarun avatar dataders avatar krevitt avatar klehmer avatar schottj avatar annafil avatar jasnonaz avatar gwenwindflower avatar joellabes avatar kirafuruichi avatar cmcarthur avatar matt-winkler avatar john-rock avatar alexbethea22 avatar ericf-firebolt avatar bennieregenold7 avatar saouderkirk avatar callum-mcdata avatar ian-fahey avatar breezyfasano avatar sungchun12 avatar versusfacit avatar dbeatty10 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.