{"id":21878271,"url":"https://github.com/pepabo/pepagram","last_synced_at":"2025-04-15T03:04:33.041Z","repository":{"id":57321964,"uuid":"55409948","full_name":"pepabo/pepagram","owner":"pepabo","description":"A minimal Hologram theme for GMO Pepabo, Inc.","archived":false,"fork":false,"pushed_at":"2016-10-14T07:43:45.000Z","size":16,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-15T03:04:20.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pepabo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-04T12:36:26.000Z","updated_at":"2019-03-08T06:15:13.000Z","dependencies_parsed_at":"2022-08-25T22:41:58.119Z","dependency_job_id":null,"html_url":"https://github.com/pepabo/pepagram","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fpepagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fpepagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fpepagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepabo%2Fpepagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pepabo","download_url":"https://codeload.github.com/pepabo/pepagram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997083,"owners_count":21195798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T08:12:08.599Z","updated_at":"2025-04-15T03:04:33.014Z","avatar_url":"https://github.com/pepabo.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pepagram\n\n[![NPM version](https://img.shields.io/npm/v/pepagram.svg)](https://www.npmjs.org/package/pepagram)\n\nGMOペパボ株式会社で利用している、スタイルガイドジェネレータ [Hologram](http://trulia.github.io/hologram/) のテーマです。\n\n## Preview\n\n[![screenshot](http://pepabo.github.io/pepagram-example/screenshot.png)](http://pepabo.github.io/pepagram-example/public/styleguide/)\n\n[:point_right: **このテーマを利用して制作したスタイルガイドのサンプル**](http://pepabo.github.io/pepagram-example/public/styleguide/)\n\n[:memo: **スタイルガイドのサンプルのコード**](https://github.com/pepabo/pepagram-example/)\n\n## Usage\n\nアプリケーションの Gemfile に 1 行追記して、\n\n```\ngem 'hologram'\n```\n\nbundle install します。\n\n```\n$ bundle install\n```\n\nパッケージマネージャーに Bower を利用していたら:\n\n```\n$ bower install --save-dev pepagram\n```\n\nパッケージマネージャーに npm を利用していたら:\n\n```\n$ npm install --save-dev pepagram\n```\n\n`hologram_config.yml.sample` をコピーして、 `hologram_config.yml` を用意します。\n\nこのファイルを以下のように編集して、スタイルガイドの設定をします。\n\n\u003e それぞれの項目の詳細は [Hologram の README](https://github.com/trulia/hologram) を参照ください。\n\n```yml\n# Hologram の設定ファイルです。\n# ファイル・ディレクトリのパスは、相対パスで指定します。\n\n# Hologram 向けにスタイルガイドのコメントが書いてある、\n# スタイルシートファイルのディレクトリを指定します。\nsource: stylesheets\n\n# スタイルガイドの HTML ファイルを書き出すディレクトリを指定します。\ndestination: styleguide\n\n# アプリケーションの CSS ファイルを指定します。\n# スタイルガイドの HTML ファイルのあるディレクトリから相対パスで指定します。\napplication_css:\n  - 'main.css'\n  - 'component.css'\n\n# スタイルガイドのテーマに関するファイルのディレクトリを指定します。\ndocumentation_assets: doc_assets\n\n# Markdown をレンダリングするときに、\n# マークアップをカスタマイズするためのファイルを指定します。\ncustom_markdown: doc_assets/_markdown_renderer.rb\n\n# スタイルガイドの設定をします。\n# theme_color にプロジェクトのキーカラーを指定すると、好きな配色に変えられます。\n# brand_image に画像ファイルを指定すると、好きな画像を設置できます。\npepagram:\n  title: 'Example Style Guide'\n  author: 'GMO Pepabo, Inc.'\n  theme_color: '#3e6f99'\n  brand_image: 'my-brand-image.jpg'\n```\n\n\u003e #### たとえば Rails アプリケーションなら\n\u003e\n\u003e ```\n\u003e source: app/assets/stylesheets\n\u003e destination: public/styleguide\n\u003e application_css:\n\u003e   - '/assets/application.css'\n\u003e documentation_assets: vendor/assets/bower_components/pepagram/doc_assets\n\u003e custom_markdown: vendor/assets/bower_components/pepagram/doc_assets/_markdown_renderer.rb\n\u003e ```\n\n設定ファイルのパスを指定して、 Hologram を実行します。\n\n```\n$ hologram -c hologram_config.yml\n```\n\n`destination` に指定したディレクトリに HTML ファイルが生成されるので、ブラウザで表示します。\n\n## Development\n\n```\n$ npm install\n$ npm run build\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016- GMO Pepabo, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepabo%2Fpepagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepabo%2Fpepagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepabo%2Fpepagram/lists"}