This repository stores the content that generates the openFrameworks website.
To contribute, fork the repository and download to your local machine. You'll need to install Python, lxml and blogofile:
easy_install lxml
easy_install blogofile
To generate and view the site locally, you have to run:
blogofile build
blogofile serve
The documentation portion of the site is written in Markdown, a wiki-style syntax. See details on Daringfireball.
To insert code snippets use four tildes followed by curly braces with ".cpp" inside, and ending with four tildes:
~~~~{.cpp}
for(int i = 0; i < 16; i ) {
ofLog() << i;
}
~~~~
Images are added using normal markdown format:
![Image Title](filename.png "alt text")
An alternative to running blogofile locally is to use a Markdown editor that can show you a rendering as you work.
- Mac OSX: Mou
- Windows: MarkdownPad
- Linux: Writr, ReText, & the gedit-markdown plugin
Note: The website utilizes some additions to Markdown itself, so specialized functions such as code syntax highlighting may not be available in the editor, even though it will work fine on the site.