website 9ab60339f5fdb45bcad94d5457a5e50ad327da76

0 views
Skip to first unread message

letha...@gmail.com

unread,
Jan 19, 2009, 5:46:49 PM1/19/09
to syx-c...@googlegroups.com
Branch: website
commit 9ab60339f5fdb45bcad94d5457a5e50ad327da76
Author: Luca Bruno <letha...@gmail.com>
Date: Mon Jan 19 10:10:20 2009 +0100

Splitted makefiles. Added doc/index.wml

:100644 100644 ef84d3f... c46222f... M Makefile
:100644 100644 42204d8... 0056329... M about.html
:100644 100644 d12da32... df960f2... M binary.html
:100644 100644 696e3a6... 97848c3... M coding-style.html
:100644 100644 e0b8b1c... 7dbeffe... M community.html
:100644 100644 373d8c2... 2164b28... M contacts.html
:100644 100644 dcb173c... eecce02... M index.html
:000000 100644 0000000... 3bd9811... A wml/Makefile
:000000 100644 0000000... f8fc451... A wml/doc/index.wml
:100644 100644 a1a8c8c... 0bd1ae1... M wml/func.inc

diff --git a/Makefile b/Makefile
index ef84d3f..c46222f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,7 @@
-CC=wml
-SUBDIRS=wml
-SRCDIR=./wml
-INCS=$(wildcard $(SRCDIR)/*.inc)
-SRCS=$(wildcard $(SRCDIR)/*.wml)
-OBJS=$(subst $(SRCDIR)/,,$(SRCS:.wml=.html))
-
-all: subdirs
-
-subdirs: $(SUBDIRS)
-
-wml: $(OBJS)
+all:
+ $(MAKE) -C wml

clean:
- rm -f $(OBJS)
-
-%.html: $(SRCDIR)/%.wml $(INCS)
- wml $(patsubst %,-i%,$(INCS)) -o $@ $<
+ $(MAKE) -C wml clean

.PHONY: clean
\ No newline at end of file
diff --git a/about.html b/about.html
index 42204d8..0056329 100644
--- a/about.html
+++ b/about.html
@@ -25,7 +25,7 @@
</ul>
</td>
<td>
- <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="" width="200" height="200">
+ <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="">
</td>
<td>
<ul>
diff --git a/binary.html b/binary.html
index d12da32..df960f2 100644
--- a/binary.html
+++ b/binary.html
@@ -25,7 +25,7 @@
</ul>
</td>
<td>
- <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="" width="200" height="200">
+ <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="">
</td>
<td>
<ul>
diff --git a/coding-style.html b/coding-style.html
index 696e3a6..97848c3 100644
--- a/coding-style.html
+++ b/coding-style.html
@@ -25,7 +25,7 @@
</ul>
</td>
<td>
- <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="" width="200" height="200">
+ <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="">
</td>
<td>
<ul>
diff --git a/community.html b/community.html
index e0b8b1c..7dbeffe 100644
--- a/community.html
+++ b/community.html
@@ -25,7 +25,7 @@
</ul>
</td>
<td>
- <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="" width="200" height="200">
+ <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="">
</td>
<td>
<ul>
@@ -48,13 +48,13 @@
<tr>
<td>
<a href="http://groups.google.com/group/syx-discuss" class="image">
- <img src="./images/community-ml.png" alt="" width="128" height="128"><br>
+ <img src="./images/community-ml.png" alt=""><br>
The mailing list
</a>
</td>
<td>
<a href="http://code.google.com/p/syx/issues/list" class="image">
- <img src="./images/community-issues.png" alt="" width="128" height="128"><br>
+ <img src="./images/community-issues.png" alt=""><br>
The issue tracker
</a>
</td>
@@ -62,12 +62,12 @@
<tr>
<td>
<a href="irc://irc.freenode.org/syx" class="image">
- <img src="./images/community-chat.png" alt="" width="128" height="128"><br>
+ <img src="./images/community-chat.png" alt=""><br>
</a>
</td>
<td>
<a href="http://lethalman.blogspot.com" class="image">
- <img src="./images/community-blog.png" alt="" width="128" height="128"><br>
+ <img src="./images/community-blog.png" alt=""><br>
Luca Bruno's blog
</a>
</td>
diff --git a/contacts.html b/contacts.html
index 373d8c2..2164b28 100644
--- a/contacts.html
+++ b/contacts.html
@@ -25,7 +25,7 @@
</ul>
</td>
<td>
- <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="" width="200" height="200">
+ <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="">
</td>
<td>
<ul>
diff --git a/index.html b/index.html
index dcb173c..eecce02 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
</ul>
</td>
<td>
- <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="" width="200" height="200">
+ <img src="./images/syx-logo.png" align="middle" id="logo" class="centered" alt="">
</td>
<td>
<ul>
@@ -48,7 +48,7 @@
</div> <!-- info -->
<!-- feed -->
<a href="http://lethalman.blogspot.com/feeds/posts/default/-/syx?alt=rss" class="image">
- <img src="./images/feed-icon.png" id="feed" alt="" width="40" height="40">
+ <img src="./images/feed-icon.png" id="feed" alt="">
</a>
<ul id="items">
<li>
diff --git a/wml/Makefile b/wml/Makefile
new file mode 100644
index 0000000..3bd9811
--- /dev/null
+++ b/wml/Makefile
@@ -0,0 +1,18 @@
+TOPDIR=..
+INCS=$(wildcard *.inc)
+CC=wml $(patsubst %,-i%,$(INCS))
+SRCS=$(wildcard *.wml) $(wildcard doc/*.wml)
+OBJS=$(patsubst %,$(TOPDIR)/%,$(SRCS:.wml=.html))
+
+all: $(OBJS)
+
+clean:
+ rm -f $(OBJS)
+
+$(TOPDIR)/%.html: %.wml $(INCS)
+ $(CC) -o $@ $<
+
+$(TOPDIR)/doc/%.html: doc/%.wml $(INCS)
+ $(CC) -o $@ $<
+
+.PHONY: clean
\ No newline at end of file
diff --git a/wml/doc/index.wml b/wml/doc/index.wml
new file mode 100644
index 0000000..f8fc451
--- /dev/null
+++ b/wml/doc/index.wml
@@ -0,0 +1,39 @@
+{#TITLE#:Documentation:##}
+
+<items>
+ <item "Quick start">
+ <ul>
+ <li><a href="$(ROOT)/install.html">Get and install Smalltalk YX</a></li>
+ <li><a href="$(ROOT)/binary.html">How to create a binary package</a></li>
+ <li><a href="$(ROOT)/doc/faq.html">Frequently Asked Questions (FAQ)</a></li>
+ <li><a href="$(ROOT)/architecture.html">The architecture of the project</a></li>
+ <li><a href="$(ROOT)/examples.html">Examples of common uses of Syx</a></li>
+ <li><a href="$(ROOT)/doc/manpage/syx.1.html">Man page of the <pre>syx</pre> command</a></li>
+ </ul>
+ <next 1 MANUAL />
+ </item>
+
+ <item "Manual" "syx and smalltalk explained">
+ <p>
+ The manual is still a work in progress but already explains some important points of the Smalltalk programming language and the Syx environment.
+ </p>
+ <ul>
+ <li>Read the <a href="$(ROOT)/doc/manual/html/index.html">online version</a></li>
+ <li>Download and read offline in <a href="$(ROOT)/doc/manual/syx-0_1_7-manual_html.zip">HTML</a> or <a href="$(ROOT)/doc/manual/syx-0_1_7-manual_pdf.zip">PDF</a></li>
+ </ul>
+ <next 2 "C REFERENCE" />
+ </item>
+
+ <item "C reference" "embed and extend">
+ <p>
+ The C reference is a <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> autogenerated documentation of the Syx API.<br />
+ Knowing the API is important for both embedding Syx in your C/C++ applications and extending the VM.
+ </p>
+ <ul>
+ <li>Read the <a href="$(ROOT)/doc/reference/html/index.html">online version</a></li>
+ <li>Download and read offline in <a href="$(ROOT)/doc/manual/syx-0_1_7-reference_html.zip">HTML</a>, <a href="$(ROOT)/doc/manual/syx-0_1_7-reference_pdf.zip">PDF</a> or <a href="$(ROOT)/doc/manual/syx-0_1_7-reference_rtf.zip">RTF</a></li>
+ </ul>
+ <top>
+ </item>
+</items>
+
diff --git a/wml/func.inc b/wml/func.inc
index a1a8c8c..0bd1ae1 100644
--- a/wml/func.inc
+++ b/wml/func.inc
@@ -16,7 +16,7 @@ m4_define(BLOG_URL, http://lethalman.blogspot.com)

<define-tag item endtag=required>
<li>
- <h1>%0</h1> <h2>%1</h2>
+ <h1>%0</h1> <if "%1" "<h2>%1</h2>">
<div class="content">
%body
</div> <!-- content -->

Reply all
Reply to author
Forward
0 new messages