1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OctopressでGitHubリポジトリを表示させよう!

Posted at

Octopressは、デフォルトでGitHubリポジトリを表示させる事が可能です。

GitHubリポジトリ情報を追記

GitHubリポジトリ情報は、_config.ymlに追記します。

_config.yml
# ----------------------- #
#   3rd Party Settings    #
# ----------------------- #

# Github repositories
github_user: fakestarbaby
github_repo_count: 3
github_show_profile_link: true
github_skip_forks: true

後は例の如く、以下の要領で自動生成させればオシマイです。

$ rake generate
## Generating Site with Jekyll
unchanged sass/screen.scss
/Users/fakestarbaby/.rvm/gems/ruby-1.9.3-p0@fakestarbaby.github.com/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
Configuration from /Users/fakestarbaby/Projects/rails/fakestarbaby.github.com/_config.yml
/Users/fakestarbaby/.rvm/gems/ruby-1.9.3-p0@fakestarbaby.github.com/gems/ffi-1.0.9/lib/ffi/platform.rb:27: Use RbConfig instead of obsolete and deprecated Config.
Building site: source -> public
Successfully generated site: source -> public

簡単ですね!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?