nathanpotter / glaredb.github.io

Documentation for GlareDB

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GlareDB docs

Welcome to GlareDB documentation đź‘‹.

Feedback and issues

Have feature requests or bug reports for console.glaredb.com? We'd love to hear from you - please file an issue.

Contributions

We welcome contributions and fixes to our documentation. For more information on contributing, see our Contributing guidelines.

Development environment

GlareDB docs are built using Just the docs. The following are needed:

  • Ruby
    • Also: RubyGems which can typically be installed alongside ruby
  • GCC (g++)
    • build-essential APT package for debian and Ubuntu
  • make

In addition to the documentation, we have some optional tooling for static analysis. The following are needed:

Once the above are installed, install jekyll and bundler:

gem install jekyll bundler

Getting started

Install project dependencies:

# From the project root
bundler install

Develop locally (localhost:4000):

# From root of project
bundle exec jekyll serve

Static analysis

We use markdownlint for linting and prettier for formatting. To see the configurations, check out .markdownlint-cli2.jsonc and .prettierrc.json respectively.

From the root of the project:

# Checks spelling
yarn cspell

# Checks code format
yarn format

# Attempts to automatically fix any formatting issues
yarn format:fix

# Checks code adheres to lint rules
yarn lint

# Attempts to automatically fix any lint violations
yarn lint:fix

Spell checking

See cspell.json for spell checking configuration. The patterns are regular expressions for which spell checking is ignored (example: in code blocks). The words array is a list of words to ignore.

Adding plugins

Adding plugins:

  • Add the following to your site's Gemfile:
gem "<plugin>"
  • And add the following to your site's _config.yml:
plugins:
  - "<plugin>"

Licensing and attribution

This repository is licensed under the MIT License. You are generally free to reuse or extend upon this code as you see fit; just include the original copy of the license (which is preserved when you "make a template"). While it's not necessary, we'd love to hear from you if you do use this template, and how we can improve it for future use!

The deployment GitHub Actions workflow is heavily based on GitHub's mixed-party starter workflows. A copy of their MIT License is available in actions/starter-workflows.

About

Documentation for GlareDB

https://docs.glaredb.com/

License:MIT License


Languages

Language:SCSS 67.3%Language:HTML 20.7%Language:Ruby 12.0%