Giter Site home page Giter Site logo

dannyfallon / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildkite/docs

0.0 0.0 0.0 70.87 MB

The source files for the Buildkite documentation

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

License: MIT License

HTML 88.70% Shell 0.54% Dockerfile 0.19% Ruby 7.46% JavaScript 0.01% SCSS 3.09% Procfile 0.01%

docs's Introduction

Buildkite Documentation Build status

The source files for the Buildkite Documentation.

To contribute, send a pull request! ❤️

Development

git clone https://github.com/buildkite/docs.git
cd docs
git submodule update --init

Note: If you're having trouble with an installation on an M1 Mac, use rbenv instead of the Ruby version provided by macOS or Homebrew.

If you have Ruby installed:

# Navigate into the docs directory
# Install the dependencies
bundle
# Run the specs
bundle exec rspec
# Start the app on http://localhost:3000/
bin/rails server

Note: Check .ruby-version for the current required version. You also need Node installed. The current LTS (long term support) version should be ok.

If you have Docker installed:

# Start the app on http://localhost:3000/
docker-compose up --build
# To start it in production mode on http://localhost:3000/
docker-compose -f docker-compose.production.yml up --build

Note: You need to use sudo if your username is not added to the docker group.

Updating buildkite-agent CLI Docs

With the development dependencies installed you can update the CLI docs using script/update-agent-help.sh:

# Set a custom PATH to select a locally built buildkite-agent
PATH="$HOME/Projects/buildkite/agent:$PATH" ./script/update-agent-help.sh

Linting

We spell-check the docs (American English) and run a few automated checks for repeated words, common errors, and markdown and filename inconsistencies.

If you've added a new valid word that showing up as a spelling error, add it to vale/vocab.txt.

Style guide

Our documentation is based on the principles of common sense, clarity, and brevity.

The style guide should provide you a general idea and an insight into using custom formatting elements.

Search index

The search index is updated once a day by a scheduled build using the config in config/algolia.json.

To test changes to the indexing configuration:

  1. Make sure you have an API key in .env like:

    APPLICATION_ID=APP_ID
    API_KEY=YOUR_API_KEY
  2. Run bundle exec rake update_test_index.

License

See LICENSE.md (MIT)

docs's People

Contributors

ahawkins avatar blakestoddard avatar blaknite avatar dependabot[bot] avatar eleanorakh avatar garypwhite avatar harrietgrace avatar imgbotapp avatar jj-bk avatar joscha avatar juanitofatas avatar karensawrey avatar keithduncan avatar keithpitt avatar lachlanhardy avatar lox avatar nithyaasworld avatar nsuma8989 avatar pda avatar philwo avatar plaindocs avatar plasticine avatar pzeballos avatar scopegate avatar shevaun avatar sj26 avatar starfallprojects avatar ticky avatar toolmantim avatar yob 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.