[pypy-svn] rev 1518 - in pypy/trunk/doc/funding: . makedoc
tismer at codespeak.net
tismer at codespeak.net
Thu Oct 2 13:05:03 CEST 2003
Author: tismer
Date: Thu Oct 2 13:05:01 2003
New Revision: 1518
Modified:
pypy/trunk/doc/funding/B6.1_plan_introduction.txt
pypy/trunk/doc/funding/makedoc/makedoc.py
pypy/trunk/doc/funding/makedoc/part_b.pdf
pypy/trunk/doc/funding/makedoc/part_b.sxw
pypy/trunk/doc/funding/makedoc/prep_part_b.sxw
Log:
new version, rather good with numbering.
Modified: pypy/trunk/doc/funding/B6.1_plan_introduction.txt
==============================================================================
--- pypy/trunk/doc/funding/B6.1_plan_introduction.txt (original)
+++ pypy/trunk/doc/funding/B6.1_plan_introduction.txt Thu Oct 2 13:05:01 2003
@@ -336,10 +336,10 @@
dependent from the available capabilities of the current
code generator.
-Load Balancing in a Multi-Processor environment
----------------------------------------------------
+WP56_: Load Balancing in a Multi-Processor environment
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-*XXX to be finished, collecting snippets*
+*XXX add some general words here from the wp*
Infrastructure
Modified: pypy/trunk/doc/funding/makedoc/makedoc.py
==============================================================================
--- pypy/trunk/doc/funding/makedoc/makedoc.py (original)
+++ pypy/trunk/doc/funding/makedoc/makedoc.py Thu Oct 2 13:05:01 2003
@@ -23,6 +23,7 @@
"",
"fake toplevel",
".............",
+ "empty",
"",
":DELETE:END",
"",
@@ -33,13 +34,57 @@
"",
"fake toplevel",
".............",
+ "empty",
+ "",
"fake sublevel",
"'''''''''''''",
+ "empty",
"",
":DELETE:END",
"",
]
+HEAD3 = [
+ ":DELETE:BEGIN",
+ "",
+ "fake toplevel",
+ ".............",
+ "empty",
+ "",
+ "fake sublevel",
+ ";;;;;;;;;;;;;",
+ "empty",
+ "",
+ "fake sublevel2",
+ "''''''''''''''''",
+ "empty",
+ "",
+ ":DELETE:END",
+ "",
+ ]
+
+HEAD4 = [
+ ":DELETE:BEGIN",
+ "",
+ "fake toplevel",
+ ".............",
+ "empty",
+ "",
+ "fake sublevel",
+ ";;;;;;;;;;;;;",
+ "empty",
+ "",
+ "fake sublevel2",
+ "''''''''''''''''",
+ "empty",
+ "",
+ "fake sublevel3",
+ "+++++++++++++++",
+ "empty",
+ "",
+ ":DELETE:END",
+ "",
+ ]
def mangle_wp_file(txt, name):
lines = txt.split("\n")
@@ -48,7 +93,7 @@
break
else:
# no WP file
- pat = "[bB][0-9].0"
+ pat = "[bB][0-9]\.0"
if re.match(pat, name):
head = HEAD1
else:
@@ -58,22 +103,25 @@
return txt
#.. |wp| replace:: WP21
wp = line.split()[-1]
+
+ pat = "[bB]6\.7.wp[0-9]0"
+ if re.match(pat, name):
+ head = HEAD3
+ else:
+ head = HEAD4
+
# make a local target
- lines[:0] =[
+ lines[:0] = head + [
":DELETE:BEGIN",
"",
- "fake toplevel",
- ".............",
- "fake sublevel",
- "'''''''''''''",
- "",
"This is the anchor %s_" % wp,
"",
":DELETE:END",
"",
- ".. _%s:" % wp.lower(),
+ ".. _%s:" % wp, # wp.lower(),
"",
]
+
# merge the crossref file in, with modifications
for line in lines:
if line.startswith(".. include:: crossreferences.asc"):
Modified: pypy/trunk/doc/funding/makedoc/part_b.pdf
==============================================================================
Binary files. No diff available.
Modified: pypy/trunk/doc/funding/makedoc/part_b.sxw
==============================================================================
Binary files. No diff available.
Modified: pypy/trunk/doc/funding/makedoc/prep_part_b.sxw
==============================================================================
Binary files. No diff available.
More information about the Pypy-commit
mailing list