Giter Site home page Giter Site logo

erkansukgen / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildkite/docs

1.0 0.0 0.0 68.55 MB

The source files for the Buildkite documentation

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

License: MIT License

Shell 2.41% JavaScript 2.14% Ruby 55.88% TypeScript 0.05% HTML 15.53% Dockerfile 0.77% SCSS 23.20% Procfile 0.02%

docs's Introduction

Buildkite Documentation Build status

The source files for the Buildkite Documentation.

To contribute, send a pull request! ❤️

Development

Before you start

For containerized development, you need Docker and Docker Compose. Most desktop installations of Docker include Docker Compose by default. On some platforms, you may need to prefix docker commands with sudo or add your user to the docker group.

For non-containerized development, you need Ruby. See .ruby-version for the current required version or use rbenv to automatically select the correct version of Ruby

Run the development server

  1. Get the source. Run:

    git clone [email protected]:buildkite/docs.git
    cd docs
    git submodule update --init
  2. Build and run the server.

    For non-containerized development, run:

    # Install dependencies
    bin/setup
    
    # Start the app
    foreman start

    Or with Docker, run:

    # Start the app on http://localhost:3000/
    docker-compose up --build

Open http://localhost:3000 to preview the docs site. After modifying a page, refresh to see your changes.

Note: By default, search (through Algolia) does not work in development.

Updating buildkite-agent CLI Docs

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

# Set a custom PATH to select a locally built buildkite-agent
PATH="$HOME/Projects/buildkite/agent:$PATH" ./scripts/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.

You can run most of these checks with ./scripts/vale.sh.

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)

Updating the navigation

The navigation is split into the following files:

  • nav_graphql.yml: For the GraphQL API content.
  • nav.yml: For everything else.

A combined navigation is generated when the application starts.

To update the GraphQL docs, follow the style guide.

Otherwise, to update the general navigation:

  1. Edit nav.yml with your changes.
  2. Restart the application.

docs's People

Contributors

harrietgrace avatar plaindocs avatar karensawrey avatar toolmantim avatar olyism avatar keithduncan avatar dannymidnight avatar ddbeck avatar keithpitt avatar mbelton-buildkite avatar sj26 avatar juanitofatas avatar starfallprojects avatar ticky avatar yob avatar lox avatar lachlanhardy avatar nsuma8989 avatar meiqimichelle avatar dependabot[bot] avatar scopegate avatar mcncl avatar ahawkins avatar triarius avatar jayco avatar imgbotapp avatar nithyaasworld avatar pda avatar pzeballos avatar moskyb avatar

Stargazers

ERKANSKG 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.