Skip to content
📝 the ooc website
CSS Ruby HTML Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
art
content
layouts
lib
.gitignore
Gemfile
Gemfile.lock
Guardfile
Makefile
README.md
Rules
config.ru
nanoc.yaml

README.md

ooc-lang.org

This is the Markdown sources for the ooc language website, https://ooc-lang.org

Building

nanoc is used to transform Markdown into HTML. It's a piece of ruby software.

To build the website, make sure you have Ruby 2.x+, run this once:

bundle install

(If you don't have bundle, get it with gem install bundler)

And then run this everytime you want to build it:

bundle exec nanoc

Deploying

nanoc produces output in the output/ directory as per nanoc.yaml, we host the website on Github Pages for free hosting, which means you can deploy by doing the following:

Once:

git clone git@github.com:ooc-lang/ooc-lang.github.io.git output

After building the site, every time you want to deploy:

(cd output && git add . && git commit -m "Changed this and that" && git push origin master)

(Note: since the deploy repo is named ooc-lang.github.io, the master branch is used rather than the gh-pages branch.)

Links

You can’t perform that action at this time.