Commit Graph

40 Commits

Author SHA1 Message Date
NAKAMURA Takumi 8e01926b24 docs/llvm.css: Introduce <blockquote><pre>. It may be used as blockquoted "doc_code".
llvm-svn: 137432
2011-08-12 06:17:11 +00:00
NAKAMURA Takumi 3ad2828811 docs/llvm.css: Introduce cascading style <div> and <p> continued on <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html.
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>

<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>

<!-- End of section body -->
</div>

llvm-svn: 129901
2011-04-21 01:52:00 +00:00
NAKAMURA Takumi 6483513a6d docs: Redefine Heading elements as below;
H1 ... Title (and might be Chapter in future)
H2 ... Section
H3 ... Subsection
H4 ... Sub-subsection

llvm-svn: 129683
2011-04-18 01:17:51 +00:00
mike-m f375e9a092 Revert r103213. It broke several sections of live website.
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m e08af303a6 Overhauled llvm/clang docs builds. Closes PR6613.
NOTE: 2nd part changeset for cfe trunk to follow.

*** PRE-PATCH ISSUES ADDRESSED

- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths

*** IMPROVEMENTS

- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.

llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Mikhail Glushenkov 4707bf4057 Regenerate documentation.
llvm-svn: 71055
2009-05-06 01:41:47 +00:00
Misha Brukman 26f7289a07 Minimize the width of the notes region: it will end where the text ends, if the
line of text is short enough, instead of stretching all the way to the right
margin.

llvm-svn: 61481
2008-12-29 21:25:09 +00:00
Misha Brukman 7fda6f6b18 * Comply with HTML 4.01 Strict
* Added code-region markings to code sections to make them stand out
* Added pre.doc_code class to llvm.css to simplify marking code regions

llvm-svn: 61072
2008-12-16 03:07:49 +00:00
Misha Brukman f845ef79f3 CSS cleanup:
* Lowercased all HTML element names
* Standardized spacing around { and }
* removed class "doc_table_nw": grep finds no uses

llvm-svn: 61004
2008-12-14 07:20:36 +00:00
Mikhail Glushenkov 6027992ea9 Merge llvm-rst.css and llvm.css.
llvm-svn: 60984
2008-12-13 17:50:58 +00:00
Gordon Henriksen 0076a6727e GarbageCollection.html is expanded to encompass the coming
capabilities. This is a major rewrite and is easier to read en toto
rather than patchwise.

llvm-svn: 42414
2007-09-27 19:31:36 +00:00
Reid Spencer 0275529d0e Reduce the padding on the doc_notes style. It was set to 1em which leaves
the shaded box with a large blank border, wasting space.

llvm-svn: 29328
2006-07-27 05:29:25 +00:00
Chris Lattner 0ca648f813 flush on the right and indented on the left looks a bit weird.
llvm-svn: 22084
2005-05-16 16:30:10 +00:00
Misha Brukman 64f8d07090 Do not mention colors in style names, we might want to change styles themselves
llvm-svn: 20099
2005-02-09 22:47:47 +00:00
Misha Brukman 649b77858d Add style to display notes on a different background than the main text
llvm-svn: 20097
2005-02-09 22:36:44 +00:00
Reid Spencer 1e64cad5ff Attempt CSS 2 compliance.
llvm-svn: 17404
2004-11-01 09:26:57 +00:00
Reid Spencer 4ffe4a7733 Attempt CSS 2 validation.
llvm-svn: 17403
2004-11-01 09:25:03 +00:00
Reid Spencer ad44f5c0be Add layout classes for table elements so tables can be used for layouts.
This is easier than attempting to figure out dual purpose columnar layouts
for multiple browser types. All browsers understand tables.

llvm-svn: 17393
2004-11-01 08:18:06 +00:00
Reid Spencer 1e3586ee1d Give table headers the striped background.
llvm-svn: 17382
2004-10-31 23:01:02 +00:00
Misha Brukman 33427efbe6 This is the documentation style sheet, not the one for the website.
llvm-svn: 16222
2004-09-07 05:09:22 +00:00
Reid Spencer 1d9e29bdc0 Add the default table related styles
llvm-svn: 16057
2004-08-26 20:43:21 +00:00
Chris Lattner 64556f042a Make doc_code shrink-to-fit. This only works in mozilla, but it doesn't
hurt legibility on IE

llvm-svn: 13720
2004-05-24 18:05:58 +00:00
Reid Spencer e1a5727733 Create a new style for tables that have no width (.doc_table_nw) so the
table doesn't stretch across the whole page. Change for BytecodeFormat.html

llvm-svn: 13699
2004-05-23 21:25:50 +00:00
Chris Lattner e25f4fffff Various changes to make the docs look nicer. Add a new doc_author class.
The one thing that someone (misha?) should look at is fixing doc_code so that it sizes to fit the code instead of going to the right margin all of the way.  Fixing it at a particular number of pixels was just wrong. :)

llvm-svn: 13668
2004-05-23 21:03:30 +00:00
Misha Brukman 7dcf665ed0 Specify units in padding length.
llvm-svn: 13560
2004-05-13 16:37:52 +00:00
Chris Lattner c9ebda0fcd Make the subsubsections stand out a bit more
llvm-svn: 13511
2004-05-12 21:28:08 +00:00
Misha Brukman 746c5181cd Finally, switch to a stylesheet that makes the documentation easier on the eyes
and consistent with the LLVM website.

llvm-svn: 13508
2004-05-12 21:20:56 +00:00
Misha Brukman c21921cec7 Add note about passing arguments to program being debugged.
llvm-svn: 12970
2004-04-15 20:49:32 +00:00
Misha Brukman 2282a6eb31 Added notes on extending LLVM with new instructions, intrinsics, types, etc.
llvm-svn: 12689
2004-04-06 03:53:49 +00:00
Misha Brukman 0bb8e9c3de Make the stylesheet conform to CSS standard.
llvm-svn: 10867
2004-01-15 00:13:59 +00:00
Chris Lattner 48b383b015 checkin reid's docpatch
llvm-svn: 10200
2003-11-25 01:02:51 +00:00
Misha Brukman 85ea4bb678 Styles for the page footer to align images properly.
llvm-svn: 10155
2003-11-22 01:23:53 +00:00
Misha Brukman bff6032a34 * No borders on images used as links
* Drop font-size from doc_footer class

This is now valid CSS.

llvm-svn: 10150
2003-11-22 00:59:08 +00:00
Brian Gaeke 56d3cc5793 index.html: Add link to llvm vs. the world
llvm.css: Add padding on top and bottom so that letters do not merge with
surrounding whitespace

llvm-svn: 9929
2003-11-12 20:31:18 +00:00
Chris Lattner a146c31bde This color is making me want to puke :)
llvm-svn: 9928
2003-11-12 20:24:39 +00:00
Misha Brukman 11d1f015af Publications do not get distributed with docs/; hence, their stylesheet need not
be distributed either.

llvm-svn: 9545
2003-10-28 18:55:27 +00:00
Misha Brukman f314a4b7aa Added a style for making test red, which is used in CommandLine.html
llvm-svn: 9487
2003-10-24 19:58:36 +00:00
Misha Brukman 2ca41fb2c2 Add a style for document footers.
llvm-svn: 9473
2003-10-24 17:56:09 +00:00
Misha Brukman 03d4b0f9af * Made into valid CSS that W3C accepts
* Added document subsubsection styles for usage in documentation

llvm-svn: 9472
2003-10-24 17:34:50 +00:00
Misha Brukman b8363bbcb0 We will distributed this stylesheet with the documentation, as well as use it
(via import) in the online version.

* Added styles for documentation headers, sections, etc.

llvm-svn: 9391
2003-10-22 23:23:49 +00:00