docubot 0.0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/bin/docubot +83 -14
  2. data/lib/docubot.rb +33 -10
  3. data/lib/docubot/bundle.rb +68 -0
  4. data/lib/docubot/converter.rb +13 -9
  5. data/lib/docubot/converters/haml.rb +9 -0
  6. data/lib/docubot/converters/html.rb +5 -0
  7. data/lib/docubot/converters/markdown.rb +12 -4
  8. data/lib/docubot/converters/raw_code.rb +5 -0
  9. data/lib/docubot/converters/textile.rb +10 -0
  10. data/lib/docubot/glossary.rb +44 -0
  11. data/lib/docubot/index.rb +66 -0
  12. data/lib/docubot/page.rb +142 -18
  13. data/lib/docubot/shells/default/0_License.md +60 -0
  14. data/lib/docubot/shells/default/Appendix/Glossary.md +5 -0
  15. data/lib/docubot/shells/default/Appendix/Index_Page.md +8 -0
  16. data/lib/docubot/shells/default/Appendix/Table of Contents.md +5 -0
  17. data/lib/docubot/shells/default/_static/logo.png +0 -0
  18. data/lib/docubot/shells/default/index.txt +3 -0
  19. data/lib/docubot/shells/docubot-help/0_License.md +21 -0
  20. data/lib/docubot/shells/docubot-help/1_Getting_Started.md +48 -0
  21. data/lib/docubot/templates/default/page.haml b/data/lib/docubot/shells/docubot-help/2_Basic_Concepts/0 The → Metasection.md +0 -0
  22. data/lib/docubot/shells/docubot-help/2_Basic_Concepts/1 Interpage Links.md +1 -0
  23. data/lib/docubot/shells/docubot-help/2_Basic_Concepts/2 Generating the Output.md +1 -0
  24. data/lib/docubot/shells/docubot-help/2_Basic_Concepts/3 Customizing Templates.md +1 -0
  25. data/lib/docubot/shells/docubot-help/2_Basic_Concepts/4 Adding Images.md +2 -0
  26. data/lib/docubot/shells/docubot-help/2_Basic_Concepts/index.md +6 -0
  27. data/lib/docubot/shells/docubot-help/3_Advanced_Topics/Controlling Glossary.md +3 -0
  28. data/lib/docubot/shells/docubot-help/3_Advanced_Topics/Controlling Indexing.md +10 -0
  29. data/lib/docubot/shells/docubot-help/3_Advanced_Topics/Controlling the Table of Contents.md +7 -0
  30. data/lib/docubot/shells/docubot-help/3_Advanced_Topics/Switching Page Templates.md +1 -0
  31. data/lib/docubot/shells/docubot-help/4_Appendix/Glossary.md +5 -0
  32. data/lib/docubot/shells/docubot-help/4_Appendix/Index_Page.md +6 -0
  33. data/lib/docubot/shells/docubot-help/4_Appendix/Table of Contents.md +7 -0
  34. data/lib/docubot/shells/docubot-help/_glossary/Template.md +1 -0
  35. data/lib/docubot/shells/docubot-help/_static/glider.png +0 -0
  36. data/lib/docubot/shells/docubot-help/index.txt +8 -0
  37. data/lib/docubot/shells/nvphysx/0_License.md +3 -0
  38. data/lib/docubot/shells/nvphysx/1_Getting_Started.haml +51 -0
  39. data/lib/docubot/shells/nvphysx/Appendix/Glossary.md +7 -0
  40. data/lib/docubot/shells/nvphysx/_glossary/APEX.md +1 -0
  41. data/lib/docubot/shells/nvphysx/_glossary/NVIDIA.md +1 -0
  42. data/lib/docubot/shells/nvphysx/_glossary/PhysX.textile +3 -0
  43. data/lib/docubot/shells/nvphysx/_static/NVBadge_3D.png +0 -0
  44. data/lib/docubot/shells/nvphysx/_static/PhysXbyNV_Black.png +0 -0
  45. data/lib/docubot/shells/nvphysx/_templates/_root/bg_green_bar_revised.gif +0 -0
  46. data/lib/docubot/shells/nvphysx/_templates/_root/close.png +0 -0
  47. data/lib/docubot/shells/nvphysx/_templates/_root/common.css +264 -0
  48. data/lib/docubot/shells/nvphysx/_templates/_root/glossary.css +4 -0
  49. data/lib/docubot/shells/nvphysx/_templates/_root/glossary.js +24 -0
  50. data/lib/docubot/shells/nvphysx/_templates/_root/nvdevtools.js +31 -0
  51. data/lib/docubot/shells/nvphysx/_templates/_root/nvidia-logo.gif +0 -0
  52. data/lib/docubot/shells/nvphysx/_templates/_root/right-sidebar.png +0 -0
  53. data/lib/docubot/shells/nvphysx/_templates/top.haml +28 -0
  54. data/lib/docubot/shells/nvphysx/index.txt +5 -0
  55. data/lib/docubot/snippet.rb +4 -3
  56. data/lib/docubot/snippets/glossary.rb +6 -3
  57. data/lib/docubot/snippets/index_entries.rb +7 -0
  58. data/lib/docubot/templates/_root/common.css +107 -0
  59. data/lib/docubot/templates/_root/toc.css +5 -0
  60. data/lib/docubot/templates/_root/toc.js +4 -0
  61. data/lib/docubot/templates/glossary.haml +5 -0
  62. data/lib/docubot/templates/index.haml +14 -0
  63. data/lib/docubot/templates/page.haml +1 -0
  64. data/lib/docubot/templates/section.haml +10 -0
  65. data/lib/docubot/templates/toc.haml +10 -0
  66. data/lib/docubot/templates/top.haml +25 -0
  67. data/lib/docubot/writer.rb +24 -0
  68. data/lib/docubot/writers/chm.rb +73 -0
  69. data/lib/docubot/writers/chm/hhc.erb +27 -0
  70. data/lib/docubot/writers/chm/hhk.erb +28 -0
  71. data/lib/docubot/writers/chm/hhp.erb +23 -0
  72. data/lib/docubot/writers/html.rb +75 -0
  73. data/test/all.rb +2 -0
  74. data/test/site1/A Slight Change of Heart/3_more_crap.haml +17 -0
  75. data/test/site1/appendices/gkheadftw.html +2 -0
  76. data/test/site1/appendices/index.md +2 -0
  77. data/test/site1/preamble.haml +4 -0
  78. data/test/site1/raw.textile +10 -0
  79. metadata +88 -14
  80. data/lib/docubot/generator.rb +0 -35
  81. data/lib/docubot/section.rb +0 -16
  82. data/lib/docubot/template.rb +0 -13
  83. data/lib/docubot/templates/default/section.haml +0 -0
  84. data/test/site1/A Slight Change of Heart/3_more_crap.md +0 -5
  85. data/test/site1/raw.md +0 -3
@@ -0,0 +1,60 @@
1
+ This is a simple, no-frills [Markdown](http://daringfireball.net/projects/markdown/basics) file.
2
+ (This waiver is from [Via Ferrata](http://www.nelsonrocks.org/)'s waiver package, with a few
3
+ additional stylistic modifications to show Markdown.)
4
+
5
+ **Nelson Rocks Preserve** is covered in steep terrain with loose, slippery and unstable footing.
6
+ The weather can make matters worse. Sheer drops are everywhere. You may fall, be injured or die.
7
+ There are hidden holes. You could break your leg. There are wild animals, which may be vicious,
8
+ poisonous or carriers of deadly diseases. These include poisonous snakes and insects. Plants can
9
+ be poisonous as well.
10
+
11
+ _Real dangers are present even on trails._ Trails are not sidewalks. They can be, and are,
12
+ steep, slippery and dangerous. Trail features made or enhanced by humans, such as steps, walls
13
+ and railings (if any) can break, collapse, or otherwise fail catastrophically at any time.
14
+
15
+ * Stay on the trails whenever possible. The terrain, in addition to being dangerous, is
16
+ surprisingly complex. You may get lost. Carry food, water and first aid supplies at all times.
17
+ * Rocks and other objects can fall from the cliffs. They can tumble down slopes. This can happen
18
+ naturally, or be caused by people above you, such as climbers. Rocks of all sizes, including
19
+ huge boulders, can shift, move or fall with no warning. Use of helmets is advised for anyone
20
+ approaching the rock formations. They can be purchased or rented at Seneca Rocks. They won't
21
+ save you if you get hit by something big or on another part of your body.
22
+ * Weather can be dangerous, regardless of the forecast. Be prepared with extra clothing, including
23
+ rain gear.
24
+ * Please know that scrambling in high places (scrambling is moving over terrain steep enough to
25
+ use your hands) without proper experience, training and equipment, or allowing children to do so
26
+ is dangerous.
27
+
28
+ The Preserve does not provide rangers or security personnel. The other people in the preserve,
29
+ including other visitors, our employees, agents, and guests, and anyone else who might sneak in,
30
+ may be stupid, reckless, or otherwise dangerous. They may be mentally ill, criminally insane,
31
+ drunk, using illegal drugs and/or armed with deadly weapons and ready to use them. We aren't
32
+ necessarily going to do anything about it. We refuse to take responsibility.
33
+
34
+ If you climb, you may die or be seriously injured. This is true whether you are experienced or
35
+ not, trained or not, equipped or not, though training and equipment may help. It's a fact,
36
+ climbing is extremely dangerous. If you don't like it, stay at home. You really shouldn't be
37
+ doing it anyway. We do not provide supervision or instruction. We are not responsible for, and
38
+ do not inspect or maintain, climbing anchors (including bolts, pitons, slings, trees, etc.) As
39
+ far as we know, any of them can and will fail and send you plunging to your death. There are
40
+ countless tons of loose rock ready to be dislodged and fall on you or someone else. There are
41
+ any number of extremely and unusually dangerous conditions existing on and around the rocks, and
42
+ elsewhere on the property. We may or may not know about any specific hazard, but even if we do,
43
+ don't expect us to try to warn you. You're on your own.
44
+
45
+ Rescue services are not provided by the Preserve, and may not be available quickly or at all.
46
+ Local rescue squads may not be equipped for or trained in mountain rescue. If you are lucky
47
+ enough to have somebody try to rescue you or treat your injuries, they may be incompetent or
48
+ worse. This includes doctors and hospitals. We assume no responsibility. Also, if you decide to
49
+ participate in a rescue of some other unfortunate, that's your choice. Don't do it unless you
50
+ are willing to assume all risks.
51
+
52
+ By entering the Preserve, you are agreeing that we owe you no duty of care or any other duty. We
53
+ promise you nothing. We do not and will not even try to keep the premises safe for any purpose.
54
+ The premises are not safe for any purpose. This is no joke. We won't even try to warn you about
55
+ any dangerous or hazardous condition, whether we know about it or not. If we do decide to warn
56
+ you about something, that doesn't mean we will try to warn you about anything else. If we do
57
+ make an effort to fix an unsafe condition, we may not try to correct any others, and we may make
58
+ matters worse! We and our employees or agents may do things that are unwise and dangerous.
59
+ Sorry, we're not responsible. We may give you bad advice. Don't listen to us. In short, ENTER
60
+ AND USE THE PRESERVE AT YOUR OWN RISK. And have fun!
@@ -0,0 +1,5 @@
1
+ template: glossary
2
+ +++
3
+ This page uses the glossary template, which has the smarts to generate HTML from the glossary terms gleaned throughout the site.
4
+
5
+ The Glossary template doesn't actually use the `contents` of the page, so it doesn't matter what I put here.
@@ -0,0 +1,8 @@
1
+ template : index
2
+ title : Index
3
+ description: Custom template to generate HTML index.
4
+ +++
5
+ YOU DO NOT NEED THIS FILE IF YOU ARE GENERATING CHMs.
6
+
7
+ The `index` template is really only useful for generating HTML indexes, since the CHM writer
8
+ generates the information necessary for the CHM to have its own special Index tab.
@@ -0,0 +1,5 @@
1
+ template: toc
2
+ +++
3
+ This page uses the `toc` template, which has the smarts to generate HTML from the table of contents gathered from the site.
4
+
5
+ The `toc` template is really only useful for generating HTML TOCs, since the CHM writer generates the information necessary for the CHM to have its own special Contents tab.
@@ -0,0 +1,3 @@
1
+ company: FrobozzCo
2
+ title: Froboz Reference Manual
3
+ +++
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2010 Gavin Kistner, Harold Hausman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,48 @@
1
+ # Organizing the Project
2
+ The names and structure of files and folders are used for the table of contents.
3
+ The only exceptions are:
4
+
5
+ * As seen here, leading digits (used to sort items) are removed from the titles.
6
+ * Also as seen here, underscores in the name are replaced with spaces.
7
+ * Specifying a `title` attribute in the metasection overrides the file/folder name.
8
+ * Files may be hidden from the contents by putting `hide: true` in the metasection.
9
+ * A few special folders at the root of the project--`_glossary`, `_static`, and
10
+ `_templates`--are exempt from conversion and the table of contents.
11
+
12
+ # Creating Project Files
13
+ The file extension of files in the project folder controls the interpretation of the
14
+ markup. There are currently are five converters (of varying usefulness) which may be
15
+ used to convert your markup to HTML:
16
+
17
+ 1. **[Markdown](http://daringfireball.net/projects/markdown/syntax)** (*.md):
18
+ This is the simplest (useful) markup converter. It has the benefits of being
19
+ easy to read and sensible to author with almost no knowledge of HTML.
20
+
21
+ The downside is that there is very little semantic markup available beyond
22
+ headings and lists. You can inject inline HTML as you wish, however.
23
+
24
+ 2. **[Textile](http://redcloth.org/textile)** (*.rc, *.textile):
25
+ Textile has a lot of nice formatting features not present in Markdown.
26
+ Further, it provides a much tighter coupling with HTML, allowing you to express
27
+ a lot of HTML concepts in a markup format slightly better than HTML.
28
+
29
+ It's better than HTML, but not as much fun to write in.
30
+
31
+ 3. **HTML** (*.html, *.htm):
32
+ This 'converter' just passes the HTML through untouched.
33
+ (We plan on adding some sanitization options.)
34
+
35
+ 4. **Raw Code** (*.rb, *.c, *.h, *.cpp, *.cs, *.txt, *.raw):
36
+ Files with any of the above extensions will be wrapped in an HTML `<pre>` tag
37
+ and sent along as the content of the page.
38
+
39
+ 5. **[Haml](http://haml-lang.com/docs.html)** (*.haml):
40
+ Haml is the language that all the templates of DocuBot are written in.
41
+ It's a super-elegant, minimalist way of expressing HTML structure, merging
42
+ in Ruby code where you see fit.
43
+
44
+ It also lets you drop into Markup, Textile, or a variety of other
45
+ [filters](http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#filters)
46
+ for any section.
47
+
48
+ Haml is useful for pages where you need a lot of specific HTML structure.
@@ -0,0 +1 @@
1
+ Use relative paths, but end in .html
@@ -0,0 +1 @@
1
+ Files in `_templates` override the default templates. See also CSS and JS in `_root`, which is copied to the root of the app.
@@ -0,0 +1,2 @@
1
+ * Unrecognized files are copied as-is to the same directory.
2
+ * You can also use the global `_static` directory which will be copied wholesale.
@@ -0,0 +1,6 @@
1
+ title: Basic Concepts, Yo!
2
+ +++
3
+ You can set attributes for a section with a file named `index.*` in the directory.
4
+ Among other things, this lets you set titles containing characters not allowed on the file system.
5
+
6
+ (The title of this section in the table of contents will have the exclamation point.)
@@ -0,0 +1,3 @@
1
+ * Put named terms in a `_glossary` folder at the root of the site.
2
+ * Use double dollars around $$glossary terms$$ to add links to them on the page.
3
+ * Use $$double dollars with colon:glossary term$$ to link alternative text to a standard entry.
@@ -0,0 +1,10 @@
1
+ keywords: Indexing, Keyword Management
2
+ no-index: headings, definitions
3
+ +++
4
+ Use the `keywords` tag along with comma-delimited terms or phrases to add specific entries in the index for the page.
5
+
6
+ By default, every heading in every page is included in the index for the documentation. The `no-index: headings` info in the metasection above prevents that for this page.
7
+
8
+ Definition titles (`<dt>...</dt>` in the HTML) are also put in the index by default. Use `no-index: definitions` to exclude them.
9
+
10
+ Put double-at signs around text in the page to @@add a word or phrase the index@@.
@@ -0,0 +1,7 @@
1
+ toc: #bones-and-groups #rigid-body-type #physical-mesh
2
+ +++
3
+ * Use `toc: hide` to remove a page from the table of contents.
4
+ * Use `toc: #list #of-html #identifiers` to add specific elements on the page,
5
+ referenced by HTML id, as sub-section links in the table of contents.
6
+ The contents of the HTML tag with that id will be used as the index header.
7
+ * TODO: Use `icon: <somename>` to specify a specific CHM icon in the TOC.
@@ -0,0 +1,5 @@
1
+ template: glossary
2
+ +++
3
+ This page uses the glossary template, which has the smarts to generate HTML from the glossary terms gleaned throughout the site.
4
+
5
+ The Glossary template doesn't actually use the `contents` of the page, so it doesn't matter what I put here.
@@ -0,0 +1,6 @@
1
+ template: index
2
+ title: Index
3
+ +++
4
+ This page uses the `index` template, which has the smarts to generate HTML from the indexed terms gleaned throughout the site.
5
+
6
+ The `index` template is really only useful for generating HTML indexes, since the CHM writer generates the information necessary for the CHM to have its own special Index tab.
@@ -0,0 +1,7 @@
1
+ template : toc
2
+ description: Custom template to generate HTML TOC.
3
+ +++
4
+ YOU DO NOT NEED THIS FILE IF YOU ARE GENERATING CHMs.
5
+
6
+ The `toc` template is really only useful for generating HTML contents, since the CHM writer
7
+ generates the information necessary for the CHM to have its own special Contents tab.
@@ -0,0 +1 @@
1
+ A [Haml](http://haml-lang.com/docs.html) file used to wrap markup and generated content around your page.
@@ -0,0 +1,8 @@
1
+ company: Froboz Widgets
2
+ title : Froboz Widgets Reference Manual
3
+ author : Gavin Kistner
4
+ edited : 2010-Jan-14
5
+ +++
6
+ A file named `index.*` (one of the recognized markup types) lets you specify global variables for the project.
7
+
8
+ Not every variable you put in the meta section has to be used; you can put your own metadata there.
@@ -0,0 +1,3 @@
1
+ style: license nosidebar
2
+ +++
3
+ ![NVIDIA 3D Badge](_static/NVBadge_3D.png)
@@ -0,0 +1,51 @@
1
+ keywords: Basics
2
+ toc : welcome authoring glossary index
3
+ +++
4
+ %h2#welcome Welcome to DocuBot for NVIDIA PhysX
5
+ %p.sidebar
6
+ %img(width='150' src='_static/NVBadge_3D.png')
7
+ NVIDIA 3D Badge
8
+ %span#out
9
+ :textile
10
+ This template shows the standard page style, which has a 350px sidebar on the right for including
11
+ images related to the text.
12
+
13
+ To put images (with an optional description) in the sidebar, place them inside a paragraph with
14
+ the CSS class @sidebar@. They will float to the right next to your content.
15
+
16
+ Each header will--by default--wait to begin until all images on the right have finished.
17
+
18
+ %h2#authoring Authoring Content
19
+ <p class="sidebar"><img src="_static/PhysXbyNV_Black.png" width="180"></p>
20
+ :markdown
21
+ The headers on each page should start at `h2` (not `h1`); `h1` is used for the title at the top of the page.
22
+
23
+ As shown in this template, if you apply HTML `id` attributes to the headers (or any other HTML element), and list those
24
+ identifiers under a toc entry at the top of the page, the Table of Contents will include sub-links to the headings.
25
+
26
+ %h2#glossary Glossary Entries
27
+ %p
28
+ To create a reference to a glossary term, surround it in double dollar signs.
29
+ For example, $$NVIDIA$$ makes $$PhysX$$ and $$APEX Libraries:APEX$$.
30
+ %p
31
+ As shown in the APEX link above, you can have the glossary text be different from the term it links to
32
+ by putting the words you want first, followed by a colon, followed by the actual glossary term to link to.
33
+ %p
34
+ This works in all markups. (The processing happens after the markup is converted to HTML.)
35
+
36
+ %h2#index Managing the Index
37
+ %p The index is automatically populated with the text from headings and defintions on the pages.
38
+ %p To add additional terms, you can:
39
+ %ul
40
+ %li
41
+ Use a <code>keywords</code> section at the top of the page with comma-delimited keywords or
42
+ phrases that you want the index to associate with the current page.
43
+ %li
44
+ :markdown
45
+ Put two `@` signs around any word or phrase in your text that you wanted added to the index.
46
+
47
+ For example, imagine that this page talked about @@sexy code@@; the index now knows about that.
48
+
49
+ Note that this syntax doesn't currently work with textile, because it uses single @ characters to
50
+ denote code. This will be fixed in the future (by processing glossary and index snippets before markup).
51
+
@@ -0,0 +1,7 @@
1
+ template: glossary
2
+ +++
3
+ This page uses the glossary template, which has the smarts to generate HTML
4
+ from the glossary terms defined in the `_glossary` directory.
5
+
6
+ The Glossary template doesn't actually use the `contents` of this page, so
7
+ it doesn't matter what I put here.
@@ -0,0 +1 @@
1
+ A multi-platform, scalable dynamics framework.
@@ -0,0 +1 @@
1
+ NVIDIA (Nasdaq: NVDA) is the world leader in visual computing technologies and the inventor of the GPU, a high-performance processor which generates breathtaking, interactive graphics on workstations, personal computers, game consoles, and mobile devices.
@@ -0,0 +1,3 @@
1
+ note: Due to a bug in the Markdown converter with unicode characters, textile must be used for pages with unicode.
2
+ +++
3
+ NVIDIA® PhysX® is a powerful physics engine enabling real-time physics in leading edge PC games. PhysX software is widely adopted by over 150 games and is used by more than 10,000 developers. PhysX is optimized for hardware acceleration by massively parallel processors. GeForce GPUs with PhysX provide an exponential increase in physics processing power taking gaming physics to the next level.
@@ -0,0 +1,264 @@
1
+ html, body
2
+ {
3
+ margin:0;
4
+ padding:0;
5
+ font-family: Verdana, Arial, Helvetica, sans-serif;
6
+ font-size: 1.1em;
7
+ font-style: normal;
8
+ font-weight: normal;
9
+ color: black;
10
+ }
11
+ body{
12
+ background:white url(right-sidebar.png) repeat-y top right;
13
+ }
14
+
15
+ body.nosidebar{
16
+ background-image:none;
17
+ }
18
+
19
+ #breadcrumb
20
+ {
21
+ margin:0;
22
+ background:black url(nvidia-logo.gif) no-repeat left center;
23
+ padding-left:56px;
24
+ font-family: 'Arial', sans-serif;
25
+ font-size:14px; font-weight:bold;
26
+ white-space:nowrap;
27
+ height:40px; line-height:40px; color:white; overflow:hidden;
28
+ color:#fff;
29
+ }
30
+
31
+ #breadcrumb a
32
+ {
33
+ color:#fff; text-decoration:none
34
+ }
35
+
36
+ #breadcrumb a:hover
37
+ {
38
+ color:#74b71b
39
+ }
40
+ #breadcrumb .sep
41
+ {
42
+ color:#999; font-weight:normal; padding:0 0.2em
43
+ }
44
+
45
+ div#mainbody
46
+ {
47
+ font-size:90%;
48
+ margin: 0 350px 0 10px;
49
+ padding: 0;
50
+ }
51
+
52
+ body.nosidebar div#mainbody
53
+ {
54
+ margin-right:0px;
55
+ }
56
+
57
+ div#mainbody
58
+ {
59
+ padding-bottom:2em;
60
+ }
61
+
62
+ div.section
63
+ {
64
+ margin-left:2em
65
+ }
66
+
67
+ a:link, a:visited { white-space:nowrap; color:#6e8e34 }
68
+ a:hover { color:#74b71b }
69
+
70
+ a.hsglossaryreference {
71
+ color:#000; cursor:help; border-color:#666 ! important
72
+ }
73
+ a.hsglossaryreference:hover { border-color:#74b71b ! important }
74
+
75
+ ul { margin-left:2em; clear:left }
76
+
77
+ strong { white-space:nowrap }
78
+
79
+ h1 {
80
+ margin:0;
81
+ padding-left:14px;
82
+ padding-right:50px;
83
+ font-family: 'Arial', sans-serif;
84
+ white-space:nowrap;
85
+ font-size:18px;
86
+ background:#6eb103 url(bg_green_bar_revised.gif) repeat-x;
87
+ height:30px; line-height:30px; color:white; overflow:hidden;
88
+ border-bottom:1px solid #999
89
+ }
90
+
91
+ h2
92
+ {
93
+ clear:both;
94
+ margin-top:4em;
95
+ }
96
+ h2, h3, h4
97
+ {
98
+ border-bottom:1px solid #dddddd;
99
+ font-size:100%;
100
+ margin-bottom:0.5em;
101
+ }
102
+ h2.first-child, h3.first-child, h4.first-child
103
+ {
104
+ margin-top:0
105
+ }
106
+ h3, h4
107
+ {
108
+ margin-top:2em;
109
+ color:#666;
110
+ }
111
+
112
+ p, li, fieldset, dl
113
+ {
114
+ margin:0;
115
+ padding:0;
116
+ padding-right:1em;
117
+ margin-bottom:1em
118
+ }
119
+
120
+ .TODO
121
+ {
122
+ font-family: courier new;
123
+ color: #ff80ff;
124
+ font-size: 9pt;
125
+ font-weight: bold
126
+ }
127
+
128
+ .sidebar
129
+ {
130
+ text-align: center;
131
+ width: 350px;
132
+ font-family: tahoma,sans-serif;
133
+ float: right;
134
+ clear: right;
135
+ color: #665555;
136
+ margin:0;
137
+ padding:0;
138
+ margin-right: -350px;
139
+ margin-left: 1em;
140
+ font-size: 7pt;
141
+ font-weight: bold;
142
+ }
143
+ .sidebar img
144
+ {
145
+ display:block;
146
+ margin:0 auto;
147
+ margin-bottom:0.5em;
148
+ }
149
+
150
+ img.floatcap
151
+ {
152
+ float:left;
153
+ margin-right:1em;
154
+ margin-bottom:1em;
155
+ margin-top:2px;
156
+ }
157
+
158
+ .moreinfo
159
+ {
160
+ font-style:italic;
161
+ color:#666;
162
+ }
163
+
164
+ .moreinfo a
165
+ {
166
+ color: #6e8e34
167
+ }
168
+ .moreinfo a:hover
169
+ {
170
+ color: #76b900
171
+ }
172
+
173
+ p.aside
174
+ {
175
+ margin-left:4em
176
+ }
177
+
178
+ div#nonscrollingpagefooter
179
+ {
180
+ background:white;
181
+ margin-bottom:0;
182
+ margin-top:4em;
183
+ clear:both;
184
+ }
185
+
186
+ div.tryit
187
+ {
188
+ border:1px solid #76b900;
189
+ background:#eef6df;
190
+ margin:2em 50px;
191
+ padding:0;
192
+ }
193
+ div.tryit h3
194
+ {
195
+ background:#76b900;
196
+ color:white;
197
+ font-style:normal;
198
+ padding:2px 0.5em;
199
+ margin:0;
200
+ margin-bottom:1em
201
+ }
202
+ div.tryit img.preview
203
+ {
204
+ float:right;
205
+ width:180px;
206
+ margin:-1em 0 1em 1em;
207
+ }
208
+ div.tryit ol
209
+ {
210
+ margin:1em;
211
+ padding:0;
212
+ }
213
+ div.tryit li
214
+ {
215
+ margin:0;
216
+ margin-left:3em;
217
+ margin-bottom:1em
218
+ }
219
+ div.tryit .results
220
+ {
221
+ font-style:italic;
222
+ color:#666
223
+ }
224
+
225
+ sup
226
+ {
227
+ font-size:85%
228
+ }
229
+
230
+ #known-issues h3 { font-style:normal; margin-bottom:0.2em; margin-top:3em; margin-right:1em }
231
+ #known-issues h3 span.issue_num { margin-left:1.5em; font-weight:normal; font-size:85%; color:#666; line-height:1.2em; float:right; margin-top:-1.2em; margin-right:1em }
232
+ #known-issues div.description { margin-bottom:2em }
233
+ #known-issues p.workaround { margin-left:2em }
234
+ #known-issues p.workaround strong { color:#666 }
235
+
236
+ #pagebody
237
+ {
238
+ font-size: 70%;
239
+ margin-bottom: 0;
240
+ margin-top: 1em;
241
+ }
242
+
243
+ #pagebody h1 {
244
+ background:#666; color:#ccc; border:1px solid #333; font-size:100%; padding:0.2em 1em; line-height:1em ! important;
245
+ height:auto ! important; margin-top:1.5em
246
+ }
247
+
248
+ fieldset { margin-bottom:1.5em; margin-left:1em; padding:0.5em; border-right:none; }
249
+ legend { font-weight:bold; color:#666 }
250
+ fieldset dl { margin:0 2em }
251
+ fieldset p { margin:1em 2em }
252
+ dl.section { margin-left:2em }
253
+ dt { font-weight:bold; font-style:normal; margin-top:0.8em }
254
+ dd { margin-bottom:0.8em }
255
+
256
+ div#pagefooter {
257
+ margin-top:10em ! important; margin-bottom:1em ! important; width:25em; overflow:hidden; white-space:nowrap;
258
+ background:#eee; border:1px solid #ccc; border-left:none; color:#999; font-size:7pt ! important; padding:0.1em 1em
259
+ }
260
+
261
+ ul.compact li { margin-bottom:0 }
262
+ body.release-notes h3 { margin-left:2em }
263
+ body.release-notes ul { margin-left:4em; margin-top:0; }
264
+ body.release-notes li { margin-bottom:0; margin-top:0; padding:0 ! important; margin-left:1em; line-height:105%; }