Permalink
Browse files

Another round of major reorganization changes...

Renamed "examples" directory to "site" and make it the entire
website instead of just a few loose examples.

All themes now have a <theme-name>.txt file along with their
<theme-name>.css source file. This is a light asciidoc file that provides
a bit of information about the theme. It's used to build the theme
index and on the theme info page.

Added code in "lib/theme.rb" that handles loading theme information
and whatnot.
  • Loading branch information...
1 parent db7f998 commit 853f369d1c9128c0f6c8e8f9742f9dbe4bd052b8 @rtomayko committed Mar 5, 2008
View
@@ -81,8 +81,8 @@ Soon, there will be tarballs with just the finished theme CSS for easy
installation and use with AsciiDoc. But not yet.
A clean source tree has all the theme CSS under `src` and the example asciidoc
-text files under `examples`. Running `rake examples` will generate an `.html`
-file for each theme/example combination.
+text files under `site`. Running `rake site` generates the sample asciidoc
+output for each theme.
If you want to add a theme, take a look at one of the existing theme sources
under `src`, like `handbookish.css`, and then copy it to a new file under `src`
View
@@ -0,0 +1,17 @@
+
+ AsciiDoc Themes
+ < http://tomayko.com/src/adoc-themes/ >
+
+AsciiDoc is a (mostly humane) text document format for writing short
+documents, articles, books and man pages. Its toolchain is capable of
+producing HTML4, XHTML, DocBook, man, and LaTeX. Many projects use AsciiDoc,
+including the Git content tracker.
+
+AsciiDoc generates basically good semantic markup, is styled with external
+CSS, and includes support for themeing. The default theme included in
+AsciiDoc is functional but is somewhat lacking in typographic
+consistencies; it is also quite blue.
+
+This package includes a variety of additional themes and a framework for
+assembling them. See the HACKING file included with this package for more
+information.
View
@@ -1,75 +0,0 @@
-AsciiDoc Themes
-===============
-Ryan Tomayko <r@tomayko.com>
-v1, March 2008
-
-*AsciiDoc* is a (_mostly_ humane) text document format for writing short
-documents, articles, books and man pages. Its toolchain is capable of
-producing HTML4, XHTML, DocBook, man, and LaTeX. This file (link:README.txt[])
-is AsciiDoc . `git(1)`'s manual pages and other documentation is written in AsciiDoc.
-
-*AsciiDoc* generates basically good semantic markup, is styled with external
-CSS, and includes support for themeing. The default theme included in AsciiDoc
-is functional but is somewhat lacking in typographic consistencies; it is also
-quite _blue_.
-
-This package includes a variety of additional themes and a framework for
-assembling them. See: link:HACKING.html[HACKING].
-
-[CAUTION]
-.CAUTION
-This project was started on March 4, 2008 and is currently in the very early
-stages of development. There's not many themes yet and not all themes style the
-gambit of supported AsciiDoc markup. Also, I have not tested anything in any
-version of Internet Explorer, yet.
-
-Themes
-------
-
-Handbookish
-~~~~~~~~~~~
-
-Inspired by http://freebsd.org/doc/en/books/handbook/[The FreeBSD Handbook],
-one of The FreeBSD Documentation Project's many works of art, this theme is
-probably most noticeable by its judicious use of _daemon red_ and its fatty
-bold headings. FreeBSD's http://tinyurl.com/3afcwv[`sh(1)`] HTML manpage
-(which I've nearly committed to memory) provided the template for the manpage
-stylings.
-
-link:./examples/handbookish-README.html[This Page] |
-link:./examples/handbookish-userguide.html[Formatting] |
-link:./examples/handbookish-asciidoc.1.html[Manpage] |
-link:./src/handbookish.css[handbookish.css] |
-link:./src/handbookish-manpage.css[handbookish-manpage.css]
-
-`bare.css`
-~~~~~~~~~~
-
-The "bare" theme is meant as a starting point for other themes. It includes a
-basic level of structural and typographic styling but tries to remain otherwise
-vanilla in its visual appeal. The manpage styles are based on the default theme
-included with the http://bruji.com/bwana/[Bwana] manpage reader for MacOS X.
-
-link:./examples/bare-README.html[This Page] |
-link:./examples/bare-userguide.html[Formatting] |
-link:./examples/bare-asciidoc.1.html[Manpage] |
-link:./src/bare.css[bare.css] |
-link:./src/bare-manpage.css[bare-manpage.css]
-
-
-See Also
---------
-
-http://www.methods.co.nz/asciidoc/[AsciiDoc],
-http://tomayko.com[Ryan Tomayko],
-http://kernel.org/pub/software/scm/git/docs/[`git(7)`],
-http://kernel.org/pub/software/scm/git/docs/user-manual.html[Git User's Manual],
-http://www.textism.com/tools/textile/[Textile],
-http://daringfireball.net/projects/markdown/[Markdown],
-http://docutils.sourceforge.net/rst.html[reStructuredText],
-http://bruji.com/bwana/[Bwana],
-http://freebsd.org/doc/en/books/handbook/[The FreeBSD Handbook],
-http://www.freebsd.org/cgi/man.cgi[FreeBSD 'Man Page Lookup'],
-http://tinyurl.com/3afcwv[FreeBSD `sh(1)`]
-
-// vim: ft=asciidoc ts=8 sw=8 sts=0 noexpandtab
Oops, something went wrong.

0 comments on commit 853f369

Please sign in to comment.