diff --git a/docs/docs.css b/docs/docs.css index 5049baa..575c234 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -21,7 +21,7 @@ a:hover { border-bottom: 1px dotted #993344 !important; } -code { +pre, code { background-color: #FFF; color: #00F; font-size: large @@ -49,6 +49,10 @@ ul, ul.outer > li { margin: -15px 0 20px -15px !important; } +.z .logo { + color: magenta; +} + .z p { margin: 14px 0 10px 15px !important; } diff --git a/docs/docs.js b/docs/docs.js index 229b13c..001f7c8 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -2,7 +2,6 @@ window.onload=function() { var vindex = document.URL.lastIndexOf('venus/'); if (vindex<0) vindex = document.URL.lastIndexOf('planet/'); var base = document.URL.substring(0,vindex+6); - if (vindex<0) vindex = '..'; var body = document.getElementsByTagName('body')[0]; var div = document.createElement('div'); @@ -10,7 +9,7 @@ window.onload=function() { var h1 = document.createElement('h1'); var span = document.createElement('span'); span.appendChild(document.createTextNode('\u2640')); - span.setAttribute('style','color: magenta'); + span.setAttribute('class','logo'); h1.appendChild(span); h1.appendChild(document.createTextNode(' Planet Venus')); @@ -24,17 +23,17 @@ window.onload=function() { p = document.createElement('p'); var a = document.createElement('a'); - a.setAttribute('href',base); + a.setAttribute('href',base+'index.html'); a.appendChild(document.createTextNode('Download')); p.appendChild(a); p.appendChild(document.createTextNode(" \u00b7 ")); a = document.createElement('a'); - a.setAttribute('href',base+'docs/'); + a.setAttribute('href',base+'docs/index.html'); a.appendChild(document.createTextNode('Documentation')); p.appendChild(a); p.appendChild(document.createTextNode(" \u00b7 ")); a = document.createElement('a'); - a.setAttribute('href',base+'tests/'); + a.setAttribute('href',base+'tests/index.html'); a.appendChild(document.createTextNode('Unit tests')); p.appendChild(a); p.appendChild(document.createTextNode(" \u00b7 ")); diff --git a/docs/installation.html b/docs/installation.html index 8d62ad7..233087b 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -29,11 +29,16 @@ module which was introduced in Python 2.4. librdf. -
+These instructions apply to any platform. Check the instructions +below for more specific instructions for your platform. +
If you are reading this online, you will need to
-download and extract the files into a folder somewhere.
+download and extract the files into a folder somewhere.
You can place this wherever you like, ~/planet
and ~/venus
are good
choices, but so's anywhere else you prefer.
(Optional)
Build your own themes, templates, or filters! And share!
+The Fink Project packages +various open source software for MacOS. This makes it a little easier +to get started with projects like Planet Venus. +
+ +
+Note: in the following, we recommend explicitly
+using python2.4
. As of this writing, Fink is starting to
+support python2.5
but the XML libraries, for example, are
+not yet ported to the newer python so Venus will be less featureful.
+
Install the XCode development tools from your Mac OS X install + disks
Download + and install Fink
Tell fink to install the Planet Venus prerequisites:
+ fink install python24 celementtree-py24 bzr-py24 libxslt-py24
+ libxml2-py24
Download and extract the Venus files into a + folder somewhere
Run the tests: python2.4 runtests.py
This
+ will warn you that the RDF library is missing, but that's
+ OK.
Continue with the general steps above, starting with Step 3. You
+ may want to explicitly specify python2.4
.