프로젝트
GitHub에서 보기
google/gsocguides
소개
Google Summer of Code 멘토 및 학생 가이드
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalGoogle Summer of Code Guides
This project contains the Google Summer of Code Mentor Guide and Contributor 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!
Run Markdownlint locally
npm install markdownlint-cli
./node_modules/.bin/markdownlint pages
Want to contribute?
Please see the CONTRIBUTING instructions.
관련 프로젝트 살펴보기
불러오는 중…