SEJeff/aurora_theme


New mkdocs based Apache Aurora documentation theme

Language: HTML


Aurora Theme

This is a custom theme for the Apache Aurora documentation to use the most wonderful mkdocs project for rendering html documentation.

This is an experiment to try and make contributing to Aurora's documentation an easier process.

Requirements

First things first, you'll need a clone of the upstream aurora.git:

git clone https://git-wip-us.apache.org/repos/asf/aurora

You'll also need to install mkdocs:

pip install mkdocs

Setup

Check out aurora_theme into the root of the aurora git checkout.

cd aurora && git clone https://github.com/SEJeff/aurora_theme

Ensure the configuration file, mkdocs.yml, is in the correct place:

ln -s aurora_theme/mkdocs.yml .

Limitations

This is really cool, so what gives?

Currently, mkdocs doesn't support rendering README.md as the index page. Move docs/README.md to docs/index.md.

mv docs/{README,index}.md

The docs/README.md contains a link to ../CONTRIBUTING.md, which mkdocs doesn't appear to handle very well at the moment. This results in a broken link to the contributing documentation.

Viewing The Documentation

From the root of the aurora git checkout with aurora_theme setup start the mkdocs dev server.

mkdocs serve

Open up a browser to http://localhost:8000

Rendering to Static HTML

Building the documentation is straightforward.

mkdocs build --clean

Project Statistics

Sourcerank 2
Repository Size 441 KB
Stars 2
Forks 0
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Jeff Schroeder

Something wrong with this page? Make a suggestion

Last synced: 2017-03-04 18:21:38 UTC

Login to resync this repository