It's not a subversion revision anymore. Also a bit of text tweaking.

This commit is contained in:
Robin Dunn
2015-02-05 21:33:16 -08:00
parent 87b92b66f0
commit 7f86b9eb54
2 changed files with 12 additions and 13 deletions

View File

@@ -1,11 +1,11 @@
{% extends "layout.html" %}
{% set title = 'Documentation' %}
{% block body %}
<h1>Welcome to wxPython (Phoenix)'s documentation!</h1>
<h1>wxPython-Phoenix Reference Documentation</h1>
<p>
Welcome! This is the documentation for wxPython {{ release }}, last updated |TODAY| from
Subversion revision |SVN|.
revision |VCSREV|.
</p>
<p>
@@ -47,14 +47,14 @@
<h2>Documentation</h2>
<table class="contentstable" align="center" style="margin-left: 30px">
<tr>
<table class="contentstable" align="center" style="margin-left: 25px">
<tr>
<td width="50%" valign="top">
<p class="biglink"><a class="biglink" href="{{ pathto("1classindex") }}"> wx Core Classes</a><br/>
<span class="linkdescr">The classes which appear in the wx namespace</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto("1classindex") }}">Core wx Classes</a><br/>
<span class="linkdescr">The classes which appear in the main wx namespace</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto("functions") }}">wx Core Functions</a><br/>
<span class="linkdescr">Standalone functions</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto("functions") }}">Core Functions</a><br/>
<span class="linkdescr">Standalone functions in the main wx namespace</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto("adv.1classindex") }}">wx.adv</a><br/>
<span class="linkdescr">Less commonly used or more advanced classes</span></p>
@@ -75,7 +75,7 @@
<span class="linkdescr">Widget and supporting classes for displaying and editing tabular data</span></p>
</td>
<td valign="top" width="50%">
<td valign="top" width="50%" style="margin-left: 5px">
<p class="biglink"><a class="biglink" href="{{ pathto("lib") }}">wx.lib</a><br/>
<span class="linkdescr">Our pure-Python library of widgets</span></p>
@@ -83,8 +83,7 @@
<span class="linkdescr">Classes for embedding OpenGL views in a window</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto("richtext.1classindex") }}">wx.richtext</a><br/>
<span class="linkdescr">A generic, ground-up implementation of a text control capable of showing multiple styles and images.
</span></p>
<span class="linkdescr">A generic, ground-up implementation of a text control capable of showing multiple text styles and images.</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto("xrc.1classindex") }}">wx.xrc</a><br/>
<span class="linkdescr">Classes for loading widgets and layout from XML</span></p>

View File

@@ -708,9 +708,9 @@ def PostProcess(folder):
# ----------------------------------------------------------------------- #
def ChangeSVNRevision(text):
SVN_REVISION = getVcsRev()
REVISION = getVcsRev()
text = text.replace('|TODAY|', TODAY)
text = text.replace('|SVN|', SVN_REVISION)
text = text.replace('|VCSREV|', REVISION)
return text