GithubHelp home page GithubHelp logo

crunchy-docs's Introduction

Crunchy Documentation

This repository contains the source for the Crunchy's public documentation. It is built with Remix.

| If you do not have any experience working with node and the npm package manager please refer to the instructions found here: Setup from scratch

Install Dependencies:

# Setup correct versions
asdf install

# Install node dependencies
npm i

# Copy environment variables
cp .env.example .env

Start development server

This will allow you to preview the docs real-time on your local machine.

npm run dev

Open: https://localhost:3000

Editor Recommendations

It's recommended to use the vscode code editor (or similar) in order to install plugins that make code contribution to this codebase a much smoother process.

Currently, the following plugins are recommended for improving the development experience:

Plugin Description
Prettier Read our .prettierrc and format or save files to match
MDX Allows better highlighting and formatting for .mdx files.
Code Spell Checker A basic spell checker that works well with camelCase code
ESLint Integrates ESLint into VS Code
Pretty TS Errors This takes the error output from Typescript and makes them more human readable

Adding Content

Content is currently managed in separate repos for each product. This site is only used to serve the documentation from all of our product repos.

Once you have cloned this repo and the product docs repo you would like to edit you will set the env variable outlined in the docs repo to point to the location on your local file to find that products documentation.

Setup from scratch

Okay if you have never worked with node or npm then let's walkthrough how to get setup. Thankfully it is so much easier than it used to be.

The first thing you will need to do is go get asdf installed.

  1. Install language plugins

Once you have asdf installed you will need to install a plugin to add node to available languages to manage in asdf. We also will be installing Java because of the tooling that is used to generate the API library we use to make requests to Platform for the changelog.

asdf plugin-add nodejs

# For updating the Platform API client SDK
asdf plugin-add java
  1. Install correct versions

The asdf ecosystem allow project-by-project version management using the .tool-versions file. We have one setup already so all you will need to do is run the install command to get everything synced up.

asdf install

crunchy-docs's People

Contributors

wking-io 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.