Commit Graph

39 Commits

Author SHA1 Message Date
NAKAMURA Takumi
e5837f1317 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
75a5311a8e 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
3baf2ffb17 Revert r103213. It broke several sections of live website.
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m
6b8861e9f6 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
2a24374c7f Regenerate documentation.
llvm-svn: 71055
2009-05-06 01:41:47 +00:00
Misha Brukman
4d4b7394f9 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
c6aef75cef * 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
225acfd9be 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
e114e7652a Merge llvm-rst.css and llvm.css.
llvm-svn: 60984
2008-12-13 17:50:58 +00:00
Gordon Henriksen
351222b471 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
3fe085af58 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
53e4a10264 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
cfe18ecfc8 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
fdcf0561a2 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
7685000497 Attempt CSS 2 compliance.
llvm-svn: 17404
2004-11-01 09:26:57 +00:00
Reid Spencer
1c55d1f610 Attempt CSS 2 validation.
llvm-svn: 17403
2004-11-01 09:25:03 +00:00
Reid Spencer
c40d5f3949 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
dc9b121365 Give table headers the striped background.
llvm-svn: 17382
2004-10-31 23:01:02 +00:00
Misha Brukman
f1d67348d9 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
5f87d95b49 Add the default table related styles
llvm-svn: 16057
2004-08-26 20:43:21 +00:00
Chris Lattner
58ec281e5f 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
e1e37cd089 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
b6b757041b 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
abfb84f001 Specify units in padding length.
llvm-svn: 13560
2004-05-13 16:37:52 +00:00
Chris Lattner
5755273585 Make the subsubsections stand out a bit more
llvm-svn: 13511
2004-05-12 21:28:08 +00:00
Misha Brukman
d307ec7d29 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
aa2862894c Add note about passing arguments to program being debugged.
llvm-svn: 12970
2004-04-15 20:49:32 +00:00
Misha Brukman
c67693e356 Added notes on extending LLVM with new instructions, intrinsics, types, etc.
llvm-svn: 12689
2004-04-06 03:53:49 +00:00
Misha Brukman
0b4edc1455 Make the stylesheet conform to CSS standard.
llvm-svn: 10867
2004-01-15 00:13:59 +00:00
Chris Lattner
48d5a78063 checkin reid's docpatch
llvm-svn: 10200
2003-11-25 01:02:51 +00:00
Misha Brukman
87d498dfd8 Styles for the page footer to align images properly.
llvm-svn: 10155
2003-11-22 01:23:53 +00:00
Misha Brukman
7f9c137b57 * 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
821748e09b 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
02b918becb This color is making me want to puke :)
llvm-svn: 9928
2003-11-12 20:24:39 +00:00
Misha Brukman
d56c50346a 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
78e8ee269d 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
3d47ce5fb3 Add a style for document footers.
llvm-svn: 9473
2003-10-24 17:56:09 +00:00
Misha Brukman
922f4cbd1e * 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
2fc491d724 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