/[classpath]/classpath/doc/www.gnu.org/README
ViewVC logotype

Diff of /classpath/doc/www.gnu.org/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Sun Nov 11 22:55:32 2001 UTC revision 1.4 by mark, Thu Nov 27 14:49:57 2003 UTC
# Line 4  If you wish to generate/view the HTML fi Line 4  If you wish to generate/view the HTML fi
4  have wml and texi2html installed.  To make the HTML files, just  have wml and texi2html installed.  To make the HTML files, just
5  type "make".  type "make".
6    
7  Questions, comments, or gripes about this setup can be sent to  
8  /dev/null.  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 <subject "page title">
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      <box>
26        <boxtitle>...section title...</boxtitle>
27        <boxitem>...section contents...</boxitem>
28    
29        <boxtitle>...section title...</boxtitle>
30        <boxitem>...section contents...</boxitem>
31      </box>
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    * <createlink name="name" url="url>
43    
44    creates a <a href="url">name</a> entry
45    
46    Some pages define their own tags (e.g. faq.wml, tools.wml, downloads.wml)
47    to organize their content.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26