GithubHelp home page GithubHelp logo

ov1n / gsocguides Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/gsocguides

0.0 1.0 0.0 3.1 MB

Google Summer of Code Mentor and Student Guides

Home Page: https://google.github.io/gsocguides/

License: Other

Ruby 9.76% Makefile 0.45% HTML 39.72% Shell 1.39% CSS 45.14% JavaScript 2.73% Dockerfile 0.80%

gsocguides's Introduction

Google Summer of Code Guides

This project contains the Google Summer of Code Mentor Guide and Student Guide.

Template

The template and build is based on https://github.com/tomjoht/documentation-theme-jekyll

Documentation can be found at http://idratherbewriting.com/documentation-theme-jekyll/

Local Development

# Build docker image (once)
make build-image

# Run server (listens on port 4000)
make serve

Adding New Pages

If you're adding new pages between existing pages, use this script (or similar) to renumber the existing pages.

for i in $(seq 28 -1 15);
    do n=$((i+1));
    fi=$(echo $i-*.md);
    fn=$(echo $fi | sed -e "s/${i}-/${n}-/");
    git mv $fi $fn;
    perl -pi -e "s/^order: $i\$/order: $n/" $fn;
done

# 28 is the current last page.
# 15 is the page to insert before.
# Iterate backwards to ensure there's only one page with each index at a time.

We need to do this because a) we're naming pages after their order, and b) the Next/Prev button requires all the order numbers to be contiguous. You can't skip any.

Upgrade Ruby Gems

bundle install --path vendor/bundle
bundle update github-pages
rm -rf vendor/bundle

Don't forget to rebuild the docker image!

Want to contribute?

Please see the CONTRIBUTING instructions.

gsocguides's People

Contributors

acebrianjuan avatar afkbrb avatar dependabot[bot] avatar doct0rx avatar edwardbetts avatar jamescrook avatar jonbrohauge avatar majora320 avatar marcoscaceres avatar maryr37 avatar molkree avatar nikhita avatar nikunj-taneja avatar oriolabril avatar rspier avatar stephanietaylor avatar thealphadollar avatar waharnum avatar willnorris avatar yannic avatar yochannah 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.