[Swift-commit] r3780 - trunk/docs

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Dec 13 15:15:52 CST 2010


Author: wozniak
Date: 2010-12-13 15:15:52 -0600 (Mon, 13 Dec 2010)
New Revision: 3780

Added:
   trunk/docs/README.txt
Removed:
   trunk/docs/README
Log:
Rename README


Deleted: trunk/docs/README
===================================================================
--- trunk/docs/README	2010-12-13 21:13:42 UTC (rev 3779)
+++ trunk/docs/README	2010-12-13 21:15:52 UTC (rev 3780)
@@ -1,65 +0,0 @@
-Swift Documentation
-===================
-
-General principles:
-
- - sections and subsections are ordered from <sect1>, <sect2>, or using
-   arbitrary depth <section> tags
- - code samples are given inside <programlisting> tags, which will cause
-   syntax highlighting to happen automatically
- - user interactions / screen output are given inside <screen> tags.
- - be careful to escape in-text "<" to "<"
- - there are some conventions for using id attributes at various
-   places in the documents - for example, some tutorial sections use
-   'tutorial.<something>'; profile entries in the user guide use
-   'profile.<namespace>.<key>'. Try to keep id attributes unique across
-   the entire document set.
-
-The first time guides are built in a particular checkout, it is necessary
-to place the docbook formatting stylesheets under the formatting/docbook/
-directory. This can be done with a symlink if docbook is installed elsewhere.
-
-For example:
-
-A) On the CI network, /home/hategan/docbook contains a docbook installation that
-can be linked like this:
-
-$ cd formatting
-$ ln -s /home/hategan/docbook/ docbook
-
-
-B) on benc's os x machine:
-
-# install docbook from DarwinPorts
-$ sudo port install docbook-xsl
-
-# setup links
-$ cd formatting
-$ ln -s /opt/local/share/xsl/docbook-xsl/ docbook
-
-C) in general:
-
- 1) Install Apache
-
- 2) Install PHP (cf. http://dan.drydog.com/apache2php.html)
-
- 3) Add these lines to Apache's httpd.conf:
-
-    AddHandler php5-script php
-    AddType text/html       php
-
- 4) Update httpd.conf, adding index.php:
-
-    DirectoryIndex index.html index.php
-
- 5) Make sure perms are correct
-
-Once the links are set up, the buildguides.sh script will build all guides
-as php.  Run it with no parameters, like this:
-
-$ ./buildguides.sh
-
-or use make to get HTML documents like this:
-
-$ make userguide.html
-

Copied: trunk/docs/README.txt (from rev 3779, trunk/docs/README)
===================================================================
--- trunk/docs/README.txt	                        (rev 0)
+++ trunk/docs/README.txt	2010-12-13 21:15:52 UTC (rev 3780)
@@ -0,0 +1,65 @@
+Swift Documentation
+===================
+
+General principles:
+
+ - sections and subsections are ordered from <sect1>, <sect2>, or using
+   arbitrary depth <section> tags
+ - code samples are given inside <programlisting> tags, which will cause
+   syntax highlighting to happen automatically
+ - user interactions / screen output are given inside <screen> tags.
+ - be careful to escape in-text "<" to "<"
+ - there are some conventions for using id attributes at various
+   places in the documents - for example, some tutorial sections use
+   'tutorial.<something>'; profile entries in the user guide use
+   'profile.<namespace>.<key>'. Try to keep id attributes unique across
+   the entire document set.
+
+The first time guides are built in a particular checkout, it is necessary
+to place the docbook formatting stylesheets under the formatting/docbook/
+directory. This can be done with a symlink if docbook is installed elsewhere.
+
+For example:
+
+A) On the CI network, /home/hategan/docbook contains a docbook installation that
+can be linked like this:
+
+$ cd formatting
+$ ln -s /home/hategan/docbook/ docbook
+
+
+B) on benc's os x machine:
+
+# install docbook from DarwinPorts
+$ sudo port install docbook-xsl
+
+# setup links
+$ cd formatting
+$ ln -s /opt/local/share/xsl/docbook-xsl/ docbook
+
+C) in general:
+
+ 1) Install Apache
+
+ 2) Install PHP (cf. http://dan.drydog.com/apache2php.html)
+
+ 3) Add these lines to Apache's httpd.conf:
+
+    AddHandler php5-script php
+    AddType text/html       php
+
+ 4) Update httpd.conf, adding index.php:
+
+    DirectoryIndex index.html index.php
+
+ 5) Make sure perms are correct
+
+Once the links are set up, the buildguides.sh script will build all guides
+as php.  Run it with no parameters, like this:
+
+$ ./buildguides.sh
+
+or use make to get HTML documents like this:
+
+$ make userguide.html
+




More information about the Swift-commit mailing list