Coder Social home page Coder Social logo

cucumber.github.com's Introduction

This is the source of the new http://cukes.info site

Building locally

Static site:

jekyll
open _site/install.html
jekyll --server --auto
open http://localhost:4000/install.html

Contributing

There are two ways you can contribute: By improving content or by improving design. Both happen via pull requests.

Improving the content

There should be *.md files lying around that don't have a lot of content in them. Feel free to add content here. You can do this straight in your browser via https://github.com/cucumber/cucumber.github.com. Find the file and click Edit button.

You can also add new .md pages, but if you do, please update the navigation menu as well---you'll find it in _config.yml.

Keep in mind that this site aims to document everything Cucumber in a platform neutral way, so if you're adding code snippets, please use a tab pane (see step-definitions.md) so that users can see code examples in various programming languages. You don't have to add code for all languages, we'll do our best to fill that in afterwards.

Improving the design

If you wish to make changes to the design you need to build the site locally. First, fork this repo and clone your own fork.

Now that you have the code, get the submodules:

git submodule update --init --recursive

Twitter Bootstrap

This will pull in a fork of Twitter Bootstrap under vendor/bootstrap. This fork has some modifications from the official Bootstrap - mainly in variables.less.

If you make changes to Bootstrap you have to rebuild it. Standing in vendor/bootstrap, run:

# Check Bootstrap's README for detailed build instructions
make build clean bootstrap

# Alternatively, you can build automatically when you save a .less file
# in which case you should set bootstrap_min: false in _config.yml
make watch

This should make some changes in the compiled files as well - vendor/bootstrap/bootstrap. In the official Bootstrap repo this directory isn't added to git (it's generated), but for our fork it's added to git. This makes the compiled bootstrap CSS and JavaScript available to the live site when it's pushed to Github Pages, because it automatically fetches submodules.

Contributing your Twitter Bootstrap changes

Unfortunately, due to the nature of Git, you'll have to push any changes to Bootstrap to your own fork of Cucumber's Bootstrap. Assuming you have only forked this repo (https://github.com/cucumber/cucumber.github.com), you also need to fork https://github.com/cucumber/bootstrap.

When you have done that, add a remote to your fork when you're standing in the vendor/bootstrap directory:

git remote add YOURUSER [email protected]:YOURUSER/bootstrap.git

Now you can push your changes to your fork:

git push YOURUSER master

And it's time to send a pull request!

cucumber.github.com's People

Contributors

aslakhellesoy avatar dkowis avatar ilanpillemer avatar wwwyckoff 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.