Giter VIP home page Giter VIP logo

docs's Introduction

Bolt Documentation Site & Content

This repository is for both the site, and content, of Bolt, and should be considered a counterpart of the Bolt repository.

The documentation uses the Markdown format.

There is no need to build anything to generate HTML. We parse the markdown with PHP.

Working on this repository is advised with git version 2.5 or later.

Updating Documentation

The repository uses branches to group documentation relevant to each version in the format of release/<version>.

Changes should be PR-ed against the lowest relevant version and will then be merged down into higher version branches as required.

e.g. if you're fixing a typo that exists in the same Markdown file in both version 3.0 as well as in 3.1, you would checkout release/3.0 and submit your PR against that branch.

Local site set-up

To run the site locally you need to complete the following steps:

  • Create the repository with git clone
  • Create worktrees for required versions
  • Run composer update to install required vendor libraries

An example that sets up work trees for both 2.2 & 3.0 is:

git clone git://github.com/bolt/docs.git bolt-docs
cd bolt-docs
git checkout site
git worktree add var/versions/2.2 release/2.2
git worktree add var/versions/3.0 release/3.0
composer update

Finally if you wish to use the built-in PHP web server, it can be run from the bolt-docs/ folder, pointing to web/ as the document root.

php -S 0.0.0.0:8000 -t web web/index.php

docs's People

Contributors

bobdenotter avatar carsonf avatar dpfavand avatar evertalbers avatar flug avatar gdmac avatar gwendolenlynch avatar hqmatics avatar jadwigo avatar marcelfw avatar nestordedios avatar nicolasnssm avatar parijke avatar phillippohlandt avatar pinpickle avatar pvankouteren avatar rarila avatar richardhinkamp avatar rixbeck avatar rossriley avatar royallthefourth avatar sahassar avatar sbani avatar slick0 avatar tdammers avatar toin0u avatar tonicospinelli avatar tvlooy avatar xiaohutai avatar xpika avatar

Watchers

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