Giter Site home page Giter Site logo

mleeharris / wheniwork-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jwir3/wheniwork-api

0.0 1.0 0.0 1.14 MB

Documentation for the wildly popular When I Work API.

Home Page: http://dev.wheniwork.com

License: Other

Ruby 8.87% HTML 62.79% JavaScript 19.67% CSS 8.67%

wheniwork-api's Introduction

When I Work API Documentation

This is the source for the API documentation of When I Work. If you're looking for the actual documentation page, it can be found at http://dev.wheniwork.com.

Editing the Documentation

Prerequisites

You're going to need:

  • Ruby, version 1.9.3 or newer
  • Bundler โ€” If Ruby is already installed, but the bundle command doesn't work, just run gem install bundler in a terminal.

Getting Set Up

  1. Fork this repository on Github.
  2. Clone your forked repository to your hard drive with git clone https://github.com/YOURUSERNAME/wheniwork-api.git
  3. cd wheniwork-api
  4. Install all dependencies: bundle install
  5. Start the test server: bundle exec middleman server

You can now see the docs at http://localhost:4567. And as you edit source/index.md, your server should automatically update! Whoa! That was fast!

Editing

Now that the API docs are all set up your machine, you'll probably want to learn more about editing Slate markdown. We do a few things differently from Slate, though, so look through this section before start editing.

Asides

Rather than using raw HTML tags, we use the aside method. This lets us use Markdown in asides! You can set the type of aside by setting the optional parameter :class to either 'notice' or 'warning'.

<% aside do %>
  This is a typical notice.
<% end %>

<% aside :class => 'warning' do %>
  This is a warning!
<% end %>

Deploying

To deploy the API docs, run 'rake publish' from the root directory of the repository. You'll need to have proper permissions in order to perform this task.

wheniwork-api's People

Contributors

lord avatar bvisness avatar shadowhand avatar jwir3 avatar dolfelt avatar sctape avatar th3fallen avatar curtis1000 avatar dependabot[bot] avatar omnicolor avatar fentie avatar ameech avatar abdyer avatar elazar avatar alayton avatar bswinnerton avatar llambda avatar aghos7 avatar rlord avatar

Watchers

James Cloos 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.