μ£Όμ: GitHub Pagesμ Jekyllμ λν΄μ μΆ©λΆν μμ§ν κ². μ£Όμ: Collaborating on projects using issues and pull requestsμ μ λ .
https://github.com/kakao/kakao.github.io μ push κΆνμ΄ μλ€λ©΄:
- git fetch or pull or clone
- Jekyll μ€μΉ
$ git clone git@github.com:kakao/kakao.github.io.git
$ cd kakao.github.io
$ bundle installhttps://github.com/kakao/kakao.github.io μ push κΆνμ΄ μλ€λ©΄:
- https://github.com/kakao/kakao.github.io μμ
Forkλ²νΌ ν΄λ¦νκ³ , - ν¬ν¬ μ μ₯μ κ³μ (maybe κ°μΈ κ³μ ) μ ν
- git fetch or pull or clone
- ν¬ν¬ μ€μ Configuring a remote for a fork
- ν¬ν¬ λκΈ°ν Syncing a fork
- Jekyll μ€μΉ
$ git clone git@github.com:YOUR_GITHUB_ACCOUNT/kakao.github.io.git
$ cd kakao.github.io
$ git remote add upstream git@github.com:kakao/kakao.github.io.git
$ git fetch upstream
$ git checkout master
$ git merge upstream/master
$ bundle install$ bundle exec jekyll serve
$ open http://localhost:4000
https://github.com/kakao/kakao.github.io μ push κΆνμ΄ μλ€λ©΄:
$ git commit -m '...'
$ git push origin master
https://github.com/kakao/kakao.github.io μ push κΆνμ΄ μλ€λ©΄:
- Fork λκΈ°ν Syncing a fork
- Pull Request 보λ΄κΈ° Creating a pull request
_draftsλλ ν 리μμ λΉνμ΄λ¦.mdμ΄λ¦μΌλ‘ νμΌμ λ§λ€κ³- ν¬μ€νΈλ₯Ό λ§ν¬λ€μ΄μΌλ‘ μμ±
- νμΈ
$ bundle exec jekyll serve --drafts
_postsλλ ν 리μyyyy-mm-dd-slug.mdνμΌλ‘ 볡μ¬(or μ΄λ).
- slug: ν΄λΉ ν¬μ€νΈμ κ³ μ ν€λ‘ urlμ μΌλΆλ‘ μ¬μ©. μ λ§νλ©΄ νΉμλ¬Έμμμ΄ μλ¬Έμ,μ«μ,-(νμ΄ν),.(μ )...λ§ μ¬μ©.
- yyyy,mm,dd: λ°ν λ ,μ,μΌ.
- μ°Έκ³ : μ΅μ’ μ μΌλ‘ ν¬μ€νΈμ url(permalink)λ http://tech.kakao.com/yyyy/mm/dd/slug/
- νμΌ μλ¨μ front matter μμ±
- layout: post # λ μ΄μμ(νμ).
pageλ μ΄μμμ μ¬μ©νλ©΄ λͺ©λ‘μ 보μ΄μ§ μλ κΈμ μΈ μ μμ. - title: 'μ λͺ©' # μ λͺ©(νμ)
- author:
lastname.firstname# νμ(νμ). μ λ§νλ©΄ νμ¬ μμ΄λ(μ: iolo.fitzowen) μ¬μ© - tags:
[tag1,tag2,tag3,...]# νκ·Έ λͺ©λ‘(μ ν). μ λ§νλ©΄ νΉμλ¬Έμμμ΄ μμλ¬Έμ,μ«μ,-(νμ΄ν),.(μ )...λ§ μ¬μ©. - image: http://... # 컀λ²μ΄λ―Έμ§ url(μ ν)
- date:
YYYY-MM-DD HH:MM:SS# λ°νμΌ(νμ)
- μ²μ κΈμ μ°λ νμμ΄λΌλ©΄ κΈμ΄μ΄ λ±λ‘(νμ)
- μ λ ₯ν(?) νκ·Έκ° μλ‘ λ±μ₯νλ€λ©΄ νκ·Έ λ±λ‘(μ ν)
_authorsλλ ν 리μlastname.firstname.mdμ΄λ¦μΌλ‘ νμ μ 보 νμΌ μΆκ°
- μ°Έκ³ : μ΅μ’ μ μΌλ‘ μ¬μ©μ ν¬μ€νΈ λͺ©λ‘ νμ΄μ§μ urlμ http://tech.kakao.com/authors/lastname.firstname/
- νμΌ μλ¨μ front matter μμ±
- layout: author # λ μ΄μμ(νμ)
- name:
lastname.firstname# postμ authorμ λ§€μΉ(νμ). μ λ§νλ©΄ νμ¬ μμ΄λ(μ: iolo.fitzowen) μ¬μ©. μ λ§νλ©΄ νΉμλ¬Έμμμ΄ μμλ¬Έμ,μ«μ,-(νμ΄ν),.(μ )...λ§ μ¬μ©. - title: ... # μ λ§νλ©΄ νκΈμ΄λ¦ μ¬μ©( νμ)
- image: http://... # νλ‘ν μ΄λ―Έμ§(νμ)
- cover: http://... # μμ±μ μ»€λ² μ΄λ―Έμ§(μ ν)
- λ΄μ©μ νμμμ
_tagsλλ ν 리μtag-name.mdμ΄λ¦μΌλ‘ νκ·Έ μ 보 νμΌ μΆκ°
- μ°Έκ³ : μ΅μ’ μ μΌλ‘ μ¬μ©μ ν¬μ€νΈ λͺ©λ‘ νμ΄μ§μ urlμ http://tech.kakao.com/tags/tag-name/
- νμΌ μλ¨μ front matter μμ±
- layout: tag # λ μ΄μμ(νμ)
- name:
tag-name# postμ tags λ°°μ΄μ νλͺ©κ³Ό λ§€μΉ(νμ). μ λ§νλ©΄ νΉμλ¬Έμμμ΄ μμλ¬Έμ,μ«μ,-(νμ΄ν),.(μ )...λ§ μ¬μ©. - title: ... # μ’ λ κΈΈκ³ κ΅¬μ²΄μ μΈ μ€λͺ (νμ)
- λ΄μ©μ νμμμ
λ¬Έμ: opensource@kakaocorp.com
May the SOURCE be with you...
This software is licensed under the Apache 2 license, quoted below.
Copyright 2017 Kakao Corp. http://www.kakaocorp.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Kakao fonts(/assets/fonts/) and image(/assets/image/) are only avaiable for Kakao brands.
μΉ΄μΉ΄μ€ ν°νΈ(/assets/fonts/)μ μ΄λ―Έμ§(/assets/image/)λ μΉ΄μΉ΄μ€ λΈλλμ©μΌλ‘ λ€λ₯Έ μ©λλ‘λ μ΄μ©ν μ μμ΅λλ€.