OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libjava/] [classpath/] [doc/] [www.gnu.org/] [README] - Blame information for rev 14

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
All HTML files are generated from WML source.
2
 
3
If you wish to generate/view the HTML files locally, you'll need to
4
have wml and texi2html installed.  To make the HTML files, just
5
type "make".
6
 
7
 
8
Quick and dirty "How To"
9
 
10
How to create a webpage:
11
 
12
1. When working in a subdirectory, begin the page with:
13
   #!wml --include=..
14
 
15
2. Add:
16
   #include "include/layout.wml"
17
 
18
3. Add 
19
 
20
   this will set the page title to:
21
   "page title - GNU Project -Free Software Foundation (FSF)"
22
 
23
4. Write your contents. Use the following pattern:
24
 
25
  
26
    ...section title...
27
    ...section contents...
28
 
29
    ...section title...
30
    ...section contents...
31
  
32
 
33
5. To change the menu entries, edit include/layout.wml
34
 
35
6. Call make to build the pages.
36
 
37
7. Set "CLASSPATH_WEBROOT" to a directory before calling "make publish"
38
   to deploy the pages locally
39
 
40
A few useful tags (defined in layout.wml)
41
 
42
* 
         
43
 
44
creates a name entry
45
 
46
Some pages define their own tags (e.g. faq.wml, tools.wml, downloads.wml)
47
to organize their content.
48
 
49
 
50
Guide to the custom-defined tags
51
--------------------------------
52
 
53
Links
54
  Description:
55
    creates a name entry; if name is missing, uses the url
56
    as name
57
  Availability:
58
    everywhere (defined in macros.wml)
59
  Format:
60
    
         
61
    
         
62
 
63
Commented code
64
  Description:
65
    creates a commented code example
66
  Availability:
67
    everywhere (defined in macros.wml)
68
  Format:
69
    
70
      comment to 1st line of code
71
      comment to 2nd line of code
72
      
73
    
74
 
75
 
76
FAQ-Lists
77
 
78
  
79
    
80
      1st answer
81
    
82
    
83
      2nd answer
84
    
85
  
86
  
87
    
88
      1st answer
89
    
90
  
91
 
92
Project Tables
93
  Description:
94
    Define a project in a project table
95
  Example:
96
    stories.wml
97
  Availability:
98
    everywhere (defined in macros.wml)
99
  Format:
100
    
101
      
102
        project description
103
      
104
      
105
        project description
106
      
107
    
108
 
109
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.