Giter Site home page Giter Site logo

primerg / documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pantheon-systems/documentation

0.0 1.0 0.0 233.11 MB

Pantheon Docs

Home Page: https://pantheon.io/docs

License: Other

PHP 27.12% Gherkin 0.11% Shell 0.18% HTML 27.44% CSS 26.04% JavaScript 19.11%

documentation's Introduction

Documentation Site

Visit https://pantheon.io/docs/ for the latest release of Pantheon documentation, which is:

  • Version-controlled
  • Forkable
  • Continuously updated
  • Written in markdown
  • Generated by Sculpin

Contributing

Read CONTRIBUTING.md for more details on contributing documentation improvements.

Style Guide

Read style-guide.md for our guidelines on how to write documentation.

Usage

1. Get the code:

Fork and clone this repository. Issue pull-requests one document at a time.

Running Locally

2. Get composer:

If you do not wish to install composer globally, please refer to getcomposer.org instuctions.

Run the following command to install composer globally:

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Note: Run the mv command with sudo if it fails.

3. Install dependencies:

From within the documentation repo, run the following command to install all needed dependencies:

composer install

4. Start your local server:

If you do not want to install sculpin globally, you can use the following commands to start your local server:

./vendor/bin/sculpin generate --server

You can now visit your docs site at http://localhost:8000/docs

In order to globally execute sculpin, run the following commands:

curl -O https://download.sculpin.io/sculpin.phar
sudo chmod +x sculpin.phar
mv sculpin.phar /usr/local/bin/sculpin

Build sculpin and run a local instance:

sculpin generate --server

You can now visit your docs site at http://localhost:8000/docs

Finally, you can tell sculpin to watch the docs directory and automatically regenerate anything changed:

sculpin generate --server --watch

If you use --watch and see it constantly running, regenerating, drop --watch until you identify and resolve the problem.

5. Images

For images to render on your local environment you need to apply these commands from within the documentation directory:

$ cd output_dev
$ ln -s ./ source

documentation's People

Contributors

alexdicianu avatar ari-gold avatar atjuch avatar barthballard avatar bensheldon avatar bmackinney avatar calevans avatar ccorpus avatar davidstrauss avatar erik-pantheon avatar hengkit avatar hugovk avatar iameap avatar informanddelight avatar jessifischer avatar kibra avatar marktheunissen avatar nataliejeremy avatar newtoid avatar nstielau avatar populist avatar shakhossain avatar solipsist avatar sukottokun avatar suzannealdrich avatar timani avatar ttrowell avatar twooten avatar westonruter avatar zepner avatar

Watchers

 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.