public
Rubygem
Description: Apache Buildr
Homepage: http://incubator.apache.org/buildr
Clone URL: git://github.com/vic/buildr.git
Search Repo:
matthieu (author)
Wed Mar 26 19:24:57 -0700 2008
commit  7b70f8e8f942e4ba46660d963b9a50339d296daa
tree    ce928be313b57a4d5ccb9813786d3817f632badb
parent  45c57af3c130b221bdcfe486b7d6b5776ea63ef2
buildr / doc / print.haml
100644 53 lines (51 sloc) 2.578 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations under
-# the License.
 
!!! 1.1
%html
  %head
    %meta{ 'http-equiv'=>'Content-Type', :content=>'text/html;charset=UTF-8' }/
    %title= collection.title
    %style{ :type=>'text/css' }
      @import 'css/default.css';
      @import 'css/syntax.css';
      @import 'css/print.css' print;
    %meta{ :name=>'subject', :content=>'Official Buildr documentation from the people in the know' }
    %meta{ :name=>'author', :content=>'http://incubator.apache.org/buildr' }
  %body
    #wrap
      #header
        %img{ :src=>'images/apache-incubator-logo.png', :alt=>'Apache Incubator', :style=>'float:right;width:10em' }
        %img{ :src=>'images/buildr-hires.png', :alt=>collection.title, :style=>'width:20em' }
        .tagline= ''
      #content
        = collection.toc.to_html(:nested, :class=>'toc')
        #license
          %p Copyright 2007-2008 Apache Buildr
          %p
            Licensed under the Apache License, Version 2.0 (the "License"); you
            may not use this file except in compliance with the License. You
            may obtain a copy of the License at
          %p{ :style=>'margin-left: 2em' }
            %a{ :href=>'http://www.apache.org/licenses/LICENSE-2.0' } http://www.apache.org/licenses/LICENSE-2.0
          %p
            Unless required by applicable law or agreed to in writing, software
            distributed under the License is distributed on an "AS IS" BASIS,
            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
            implied. See the License for the specific language governing
            permissions and limitations under the License.
        - pages.each do |page|
          %h1{ :id=>page.id }= page.title
          = page.toc.to_html(:nested, :class=>'toc')
          ~ collect_links(renumber_footnotes(page.content))