{"id":20129301,"url":"https://github.com/openframeworks/ofsite","last_synced_at":"2025-05-15T01:06:50.513Z","repository":{"id":2076061,"uuid":"3015257","full_name":"openframeworks/ofSite","owner":"openframeworks","description":"openFrameworks web site","archived":false,"fork":false,"pushed_at":"2025-05-02T19:13:11.000Z","size":110866,"stargazers_count":160,"open_issues_count":69,"forks_count":584,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-05-15T01:06:44.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://openframeworks.cc","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"micromata/bootstrap-kickstart","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openframeworks.png","metadata":{"files":{"readme":"README-ja.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-12-19T21:45:44.000Z","updated_at":"2025-05-02T19:13:15.000Z","dependencies_parsed_at":"2023-07-08T12:17:14.469Z","dependency_job_id":"8429d160-2a27-4eb3-9489-92275f3ff4cc","html_url":"https://github.com/openframeworks/ofSite","commit_stats":{"total_commits":2189,"total_committers":200,"mean_commits":10.945,"dds":0.7231612608497031,"last_synced_commit":"76da1a94ddd033ed7b011f01e62bc1521791976d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openframeworks%2FofSite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openframeworks%2FofSite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openframeworks%2FofSite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openframeworks%2FofSite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openframeworks","download_url":"https://codeload.github.com/openframeworks/ofSite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254041,"owners_count":22039792,"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-13T20:33:20.954Z","updated_at":"2025-05-15T01:06:45.493Z","avatar_url":"https://github.com/openframeworks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openFrameworksサイト\n\nこのリポジトリは、[openFrameworks](http://openFrameworks.cc/)のWebサイトのコンテンツと、サイトを生成するコードを保持しています。\n\n## 貢献\n\nWebページやドキュメントの修正に協力するには、このリポジトリをforkして、githubのシステムから直接送信してください。\n\nほとんどのコンテンツは、 `content` フォルダ内にMarkdown形式で入っています。\n\n第１階層にある `tutorials` フォルダは、tutorialsカテゴリーを代表しています。tutorialsフォルダ内には`.markdown`という拡張子のMarkdownファイルが中に入っていて、それぞれのファイルと同じ名前のフォルダに画像などのリソースが格納されています。チュートリアルの最終的なHTMLファイルは、リソースと同じ階層に生成されます。ですので、リンクにはフォルダなどの相対パスは必要ありません。例えば以下のようになります。\n\n```md\n![img](image.png)\n```\n\n`documentation`フォルダは、oF APIのリファレンスがMarkdown形式で格納されています。これらのドキュメントは、コードから自動生成されます。しかし、それぞれのクラスの`description` フィールドの関数や変数の記述に関しては、Markdownファイルを直接編集することができます。\n\n## サイトをセットアップしてローカル環境に構築する\n\nこのサイトは、[nikola](https://getnikola.com)を使用しています。先頭の階層に、nikolaを簡単にインストールして使用することが可能ないくつかのスクリプトが用意してあります。\n\n- ./install.sh は、nikolaをインストールして必要な依存関係を構築します。現状ではLinuxとOS Xでしかテストしていません。OS Xでこれらのスクリプトを使用するには、まず初めに下記のパッケージをインストールする必要があります。\n\n```bash\nbrew install python3\nsudo easy_install pip\nbrew linkapps python3\n```\n\nそして、下記の内容を、.bashrc 、もしくは .zhsrc ファイルに書き加えます。\n\n`export XML_CATALOG_FILES=\"/usr/local/etc/xml/catalog\"`\n\n\n- ./auto_build.sh はnikolaを起動して、毎回更新したファイルのみをwebにビルドします。もしOS Xを利用していて、  `FileNotFoundError: [Errno 2] No such file or directory: 'asciidoctor'` というエラーになった場合は、asciidoctorをインストールする必要があります。[ここ](http://asciidoctor.org/docs/install-asciidoctor-macosx/)の解説を参考にしてください。インストール後、スクリプトを再度実行します。\n\n- ./serve.sh は、サイトを表示するためのローカルにwebサーバーを起動し、ブラウザで表示します。\n\nもし翻訳のような大量の更新を予定しているなら、最後の2つのスクリプトを起動したままにしてコンテントを編集します。サイトは自動的にリフレッシュされるでしょう。\n\n## ドキュメントスタイルのMarkdown\n\nサイトのドキュメントパートは、wiki-styleの文法のMarkdownで記述されます。詳しくは [Daringfireball](http://daringfireball.net/projects/markdown/) を参照してください。\n\n文法を確認する簡単な方法は、既にサイトにあるページを参照することです。ただし、いくつかのTipsがあります。\n\nコードスニペットを挿入するには、以下のように \".cpp\" の記述を明示します。\n\n\t```cpp\n\tfor(int i = 0; i \u003c 16; i++) {\n\t\tofLog() \u003c\u003c i;\n\t}\n\t```\n\n画像は通常のMarkdownのフォーマットを使用します。\n\n    ![Image Title](filename.png \"alt text\")\n\nどのようにドキュメンテイションに貢献するかのより詳細な説明は、 [Contributing to the Documentation ](http://www.openframeworks.cc/tutorials/developers/003_contributing_to_the_documentation.html)のチュートリアルを参照してください。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenframeworks%2Fofsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenframeworks%2Fofsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenframeworks%2Fofsite/lists"}