Commit Graph

40 Commits

Author SHA1 Message Date
NAKAMURA Takumi
3cc8482b06 docs/llvm.css: Introduce <blockquote><pre>. It may be used as blockquoted "doc_code".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137432 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-12 06:17:11 +00:00
NAKAMURA Takumi
074eeaae30 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>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129901 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-21 01:52:00 +00:00
NAKAMURA Takumi
06c6d9aeb0 docs: Redefine Heading elements as below;
H1 ... Title (and might be Chapter in future)
H2 ... Section
H3 ... Subsection
H4 ... Sub-subsection

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129683 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-18 01:17:51 +00:00
mike-m
e2c3a49c80 Revert r103213. It broke several sections of live website.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103219 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-07 00:28:04 +00:00
mike-m
68cb31901c 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103213 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-06 23:45:43 +00:00
Mikhail Glushenkov
d6d2efc4ce Regenerate documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71055 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-06 01:41:47 +00:00
Misha Brukman
9e6b68dc1f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61481 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 21:25:09 +00:00
Misha Brukman
64722e5163 * 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61072 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-16 03:07:49 +00:00
Misha Brukman
98a4ec700e CSS cleanup:
* Lowercased all HTML element names
* Standardized spacing around { and }
* removed class "doc_table_nw": grep finds no uses


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61004 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-14 07:20:36 +00:00
Mikhail Glushenkov
8cc8288bef Merge llvm-rst.css and llvm.css.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60984 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-13 17:50:58 +00:00
Gordon Henriksen
326e24fff0 GarbageCollection.html is expanded to encompass the coming
capabilities. This is a major rewrite and is easier to read en toto
rather than patchwise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42414 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-27 19:31:36 +00:00
Reid Spencer
c148e5e487 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29328 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-27 05:29:25 +00:00
Chris Lattner
1c2c61f219 flush on the right and indented on the left looks a bit weird.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22084 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-16 16:30:10 +00:00
Misha Brukman
0465e89a70 Do not mention colors in style names, we might want to change styles themselves
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20099 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:47:47 +00:00
Misha Brukman
cbe2aaad7f Add style to display notes on a different background than the main text
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20097 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:36:44 +00:00
Reid Spencer
936e5ca38b Attempt CSS 2 compliance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17404 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:26:57 +00:00
Reid Spencer
41b34ff575 Attempt CSS 2 validation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17403 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:25:03 +00:00
Reid Spencer
092217286f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17393 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:18:06 +00:00
Reid Spencer
448a4afd2e Give table headers the striped background.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17382 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-31 23:01:02 +00:00
Misha Brukman
10c0a2e7f9 This is the documentation style sheet, not the one for the website.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16222 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 05:09:22 +00:00
Reid Spencer
2f1e7a0b0a Add the default table related styles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16057 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-26 20:43:21 +00:00
Chris Lattner
58ac674df4 Make doc_code shrink-to-fit. This only works in mozilla, but it doesn't
hurt legibility on IE


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13720 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-24 18:05:58 +00:00
Reid Spencer
0bd34a2b64 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13699 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:25:50 +00:00
Chris Lattner
88c595fb87 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. :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13668 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:03:30 +00:00
Misha Brukman
d1fbc8af48 Specify units in padding length.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13560 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-13 16:37:52 +00:00
Chris Lattner
5f4d473d89 Make the subsubsections stand out a bit more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13511 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-12 21:28:08 +00:00
Misha Brukman
b9e41eb483 Finally, switch to a stylesheet that makes the documentation easier on the eyes
and consistent with the LLVM website.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13508 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-12 21:20:56 +00:00
Misha Brukman
f4e4feb619 Add note about passing arguments to program being debugged.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12970 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-15 20:49:32 +00:00
Misha Brukman
a3ce42921c Added notes on extending LLVM with new instructions, intrinsics, types, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12689 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-06 03:53:49 +00:00
Misha Brukman
5a141db9d8 Make the stylesheet conform to CSS standard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10867 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-15 00:13:59 +00:00
Chris Lattner
261efe953b checkin reid's docpatch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10200 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 01:02:51 +00:00
Misha Brukman
3f1b24c747 Styles for the page footer to align images properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10155 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 01:23:53 +00:00
Misha Brukman
e1f464e8eb * No borders on images used as links
* Drop font-size from doc_footer class

This is now valid CSS.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10150 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 00:59:08 +00:00
Brian Gaeke
1ce764e083 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9929 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 20:31:18 +00:00
Chris Lattner
2f002b5e0b This color is making me want to puke :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9928 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 20:24:39 +00:00
Misha Brukman
00ba55e593 Publications do not get distributed with docs/; hence, their stylesheet need not
be distributed either.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9545 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:55:27 +00:00
Misha Brukman
9583acb8a0 Added a style for making test red, which is used in CommandLine.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9487 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-24 19:58:36 +00:00
Misha Brukman
85be5e02e9 Add a style for document footers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9473 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-24 17:56:09 +00:00
Misha Brukman
7905a8aab5 * Made into valid CSS that W3C accepts
* Added document subsubsection styles for usage in documentation


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9472 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-24 17:34:50 +00:00
Misha Brukman
4b0faec559 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9391 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 23:23:49 +00:00