[pypy-svn] r35083 - in pypy/extradoc/talk/warsaw2006: . src

guido at codespeak.net guido at codespeak.net
Tue Nov 28 14:09:45 CET 2006


Author: guido
Date: Tue Nov 28 14:09:41 2006
New Revision: 35083

Added:
   pypy/extradoc/talk/warsaw2006/confrest.py   (contents, props changed)
   pypy/extradoc/talk/warsaw2006/style.css
Removed:
   pypy/extradoc/talk/warsaw2006/conftest.py
Modified:
   pypy/extradoc/talk/warsaw2006/   (props changed)
   pypy/extradoc/talk/warsaw2006/fireworks-slides.txt
   pypy/extradoc/talk/warsaw2006/src/   (props changed)
Log:
Added a confrest to override some bits of HTML generation, added stylesheet with
some nicer fonts and colors and such, removed conftest because that was only
required for a hack that isn't used anymore (because of confrest), fixed some
nasty singleton style tags in rest (fijal: this will break your html on certain
browsers), fixeol and added *.html to svn:ignore.


Added: pypy/extradoc/talk/warsaw2006/confrest.py
==============================================================================
--- (empty file)
+++ pypy/extradoc/talk/warsaw2006/confrest.py	Tue Nov 28 14:09:41 2006
@@ -0,0 +1,16 @@
+from py.__.documentation.confrest import *
+
+class PyPyFireworksPage(Page): 
+    def fill(self):
+        super(PyPyFireworksPage, self).fill()
+        self.body.attr.onload = 'show()'
+        self.menubar[:] = []
+
+class Project(Project):
+    title = "PyPy Fireworks" 
+    stylesheet = 'style.css'
+    encoding = 'latin1' 
+    prefix_title = "PyPy "
+    logo = ''
+    Page = PyPyFireworksPage
+

Modified: pypy/extradoc/talk/warsaw2006/fireworks-slides.txt
==============================================================================
--- pypy/extradoc/talk/warsaw2006/fireworks-slides.txt	(original)
+++ pypy/extradoc/talk/warsaw2006/fireworks-slides.txt	Tue Nov 28 14:09:41 2006
@@ -7,8 +7,8 @@
 
 .. raw:: html
 
-   <script src="jssource.js"/>
-   <script src="MochiKit.js"/>
+   <script src="jssource.js" type="text/javascript"></script>
+   <script src="MochiKit.js" type="text/javascript"></script>
 
 What is PyPy?
 =============

Added: pypy/extradoc/talk/warsaw2006/style.css
==============================================================================
--- (empty file)
+++ pypy/extradoc/talk/warsaw2006/style.css	Tue Nov 28 14:09:41 2006
@@ -0,0 +1,14 @@
+body {
+  background-color: #FFE;
+  color: #530;
+  font-family: Trebuchet MS, Verdana;
+  font-size: 1.4em;
+}
+
+#metaspace, #docinfoline {
+  display: none;
+}
+
+.section {
+  height: 700px;
+}



More information about the Pypy-commit mailing list