Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
Trying to do a book, totally doesn't work.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedshaw committed Nov 19, 2012
1 parent 4af77f2 commit dc55d93
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 88 deletions.
6 changes: 6 additions & 0 deletions book.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The Orkestrix Manual
********************

.. include:: chapter-01.rst


File renamed without changes.
21 changes: 15 additions & 6 deletions docs.yaml → dexy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ code:
- rst2html: { clargs: "--template=template.html" }
- recurse: false

examples/*.rst|jinja|rst2html:
- code
- songs
- assets
- rst2html: { clargs: "--template=../template.html" }

.rst|jinja|rst2latex|xetex:
- code
- songs
Expand All @@ -50,3 +44,18 @@ examples/*.rst|jinja|rst2html:
--documentoptions=letterpaper \
--latex-preamble='\\include{preamble}' \
--stylesheet=orkestrix" }

chapters-for-book:
- chapter*.rst|jinja

book.rst|jinja|rst2latex|xetex:
- chapters-for-book
- rst2latex:
{ clargs: "--documentclass=article \
--documentoptions=letterpaper \
--latex-preamble='\\include{preamble}' \
--stylesheet=orkestrix" }

book.rst|jinja|rst2html:
- chapters-for-book

70 changes: 0 additions & 70 deletions examples/ca.py

This file was deleted.

7 changes: 0 additions & 7 deletions examples/hello.rst

This file was deleted.

10 changes: 5 additions & 5 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ I'm doing it so far.
Getting Dexy
------------

The first thing is to setup dexy and get your docs.yaml going. Right
The first thing is to setup dexy and get your dexy.yaml going. Right
now you have to install dexy from the git repository, so here's how you
do that::

Expand All @@ -53,17 +53,17 @@ to set it up::
mkdir music-sample
dexy setup

Last thing you do is make a ``docs.yaml`` file that sets up some build
Last thing you do is make a ``dexy.yaml`` file that sets up some build
parameters for building rST and ABC documents:


.. @export "abc"
{{ ork.code('docs.yaml|idio') }}
{{ ork.code('dexy.yaml|idio') }}

.. @end
Here is how to include docs.yaml:
Here is how to include dexy.yaml:

{{ ork.codes('index.rst|idio', 'abc') }}

Expand All @@ -89,7 +89,7 @@ has Jinja built in.

.. note::

In the current Phase 6 version the docs.yaml file is more complex so that
In the current Phase 6 version the dexy.yaml file is more complex so that
I can style the rST_ output for HTML and LaTeX, but the above is the
basics of it. Look in the github_ repo to see how it's currently
implemented.
Expand Down

0 comments on commit dc55d93

Please sign in to comment.