summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5326794)
raw | patch | inline | side by side (parent: 5326794)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 24 Jun 2002 23:06:58 +0000 (23:06 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 24 Jun 2002 23:06:58 +0000 (23:06 +0000) |
with docutils.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@813 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@813 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/Makefile | [new file with mode: 0644] | patch | blob |
doc/build_html.py | [deleted file] | patch | blob | history |
doc/customizing.txt | patch | blob | history | |
doc/installation.txt | patch | blob | history | |
doc/upgrading.txt | patch | blob | history |
diff --git a/doc/Makefile b/doc/Makefile
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,14 @@
+PYTHON = /usr/bin/python2
+STXTOHTML = -c "from docutils.core import publish;publish(writer_name='html')"
+
+SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \
+ getting_started.txt glossary.txt implementation.txt index.txt \
+ installation.txt security.txt upgrading.txt user_guide.txt
+
+COMPILED := $(SOURCE:.txt=.html)
+
+all: ${COMPILED}
+
+%.html: %.txt
+ ${PYTHON} ${STXTOHTML} -d -v $< $@
+
diff --git a/doc/build_html.py b/doc/build_html.py
--- a/doc/build_html.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python
-
-"""
-:Author: David Goodger
-:Contact: goodger@users.sourceforge.net
-:Revision: $Revision: 1.2 $
-:Date: $Date: 2002-05-06 23:38:07 $
-:Copyright: This module has been placed in the public domain.
-
-A minimal front-end to the Docutils Publisher.
-
-This module takes advantage of the default values defined in `publish()`.
-"""
-
-import sys, os.path
-from docutils.core import publish
-from docutils import utils
-
-if len(sys.argv) < 2:
- print >>sys.stderr, 'I need at least one filename'
- sys.exit(1)
-
-reporter = utils.Reporter(2, 4)
-
-for file in sys.argv[1:]:
- name, ext = os.path.splitext(file)
- dest = '%s.html'%name
- print >>sys.stderr, '%s -> %s'%(file, dest)
- publish(writer_name='html', source=file, destination=dest,
- reporter=reporter)
-
diff --git a/doc/customizing.txt b/doc/customizing.txt
index 0288dfceee6e5b1eb35f6f40cde50d1f89f2297e..bc6b140b3bab5b85dd06f59d7c49d117805d9e4e 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
Customising Roundup
===================
-:Version: $Revision: 1.8 $
+:Version: $Revision: 1.9 $
.. contents::
If you choose to change_the_instance_schema you will need to ensure the web
interface knows about it:
- 1. Index, item and filter pages for the relevant classes may need to have
- properties added or removed,
- 2. The default page header relies on the existence of, and some values of
- the priority, status, assignedto and activity classes. If you change any
- of these (specifically if you remove any of the classes or their default
- values) you will need to implement your own pagehead() method in your
- instance's interfaces.py module.
+1. Index, item and filter pages for the relevant classes may need to have
+ properties added or removed,
+2. The default page header relies on the existence of, and some values of
+ the priority, status, assignedto and activity classes. If you change any
+ of these (specifically if you remove any of the classes or their default
+ values) you will need to implement your own pagehead() method in your
+ instance's interfaces.py module.
Displaying Properties
~~~~~~~~~~~~~~~~~~~~~
diff --git a/doc/installation.txt b/doc/installation.txt
index f44998f2d14663e891a038ef56e14ccda50a863f..b55378fdbe419d6c83d64f09923b98a53e5e60bf 100644 (file)
--- a/doc/installation.txt
+++ b/doc/installation.txt
Installing Roundup
==================
-:Version: $Revision: 1.12 $
+:Version: $Revision: 1.13 $
.. contents::
Testing your Python
-------------------
-Run ``"python ./run_tests"`` and make sure there
+Run ``python ./run_tests`` and make sure there
are no errors. If there are errors, please let us know!
+If the above fails, you may be using the wrong version of python. Try
+``python2 ./run_tests``. If that works, you will need to substitute
+``python2`` for ``python`` in all further commands you use in relation to
+Roundup -- from installation and scripts.
Getting Roundup
===============
Installation
============
-Set aside 15-30 minutes.
+Set aside 15-30 minutes. Please make sure you're using a supported version of
+Python -- see `testing your python`_.
1. To install the Roundup support code into your Python tree and
Roundup scripts into /usr/local/bin::
diff --git a/doc/upgrading.txt b/doc/upgrading.txt
index 4fe589f3f99e867e2b57b299a51e8ed35eee9b99..f7aba78dc14ee4233c205b66377a3b80fd50d8a8 100644 (file)
--- a/doc/upgrading.txt
+++ b/doc/upgrading.txt
- EMAIL_LEAVE_BODY_UNCHANGED
- ADD_RECIPIENTS_TO_NOSY
-See the sample condfiguration files in::
+See the sample configuration files in::
<roundup source>/roundup/templates/classic/instance_config.py
<roundup source>/roundup/templates/extended/instance_config.py
-for information on how they're used.
+and the documentation in customizing_ for information on how they're used.
0.4.2 Changes to detectors
copy.
+.. _customizing: customizing.html