Tree [8bc255] default Release_2_5_2beta2 / website /
 History

Read Only access


File Date Author Commit
 221_site 2009-07-24 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d820ad] adding new files
 archive 2009-07-24 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [9b841a] Previous site archive
 checksums 2007-10-14 cgroves@79b11f02-f210-0410-99aa-fb189b3d1ac4 cgroves@79b11f02-f210-0410-99aa-fb189b3d1ac4 [c0c9ed] 2.2.1 updates
 css 2010-01-30 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [26f5c9] Updating twitter script to fix the size of the ...
 docs 2010-03-28 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d85df6] Updating site - adding references to jython book
 images 2009-08-02 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 [71a9fd] Forgot to commit this image, and added left.nav...
 redirects 2010-07-09 otmarhumbel@79b11f02-f210-0410-99aa-fb189b3d1ac4 otmarhumbel@79b11f02-f210-0410-99aa-fb189b3d1ac4 [1011ab] website updates for 2.5.2b1
  docutils.conf 2009-07-24 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [8ebfbe] Updated docutils
 README.txt 2009-09-06 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [faa942] Updated site to include pycon logo. Added firs...
 build.xml 2010-03-28 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d85df6] Updating site - adding references to jython book
 developer.htm 2009-07-24 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d820ad] adding new files
 docutils.conf 2009-07-24 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [850966] archived old site and updated base for new site...
 faq.htm 2010-03-28 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d85df6] Updating site - adding references to jython book
 favicon.ico 2009-06-09 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 [126be0] Website tweaks to avoid 404s + new favicon.
 index.txt 2010-07-09 otmarhumbel@79b11f02-f210-0410-99aa-fb189b3d1ac4 otmarhumbel@79b11f02-f210-0410-99aa-fb189b3d1ac4 [1011ab] website updates for 2.5.2b1
 jsync 2009-05-28 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 [dfded0] Some cleanup, added "jsync" which is just a sem...
 jysite.py 2010-03-28 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d85df6] Updating site - adding references to jython book
 left.nav 2010-03-28 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d85df6] Updating site - adding references to jython book
 robots.txt 2009-06-09 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 [126be0] Website tweaks to avoid 404s + new favicon.
 rst2jysite.py 2010-03-28 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 juneau001@79b11f02-f210-0410-99aa-fb189b3d1ac4 [d85df6] Updating site - adding references to jython book

Read Me

Topic: How to build the jython.org site
Author: J. Juneau
Date: 09/06/2009
------------------------------------------

1)  Install docutils
     -  I use Python 2.6 with docutils 0.5

2)  Ensure you have ant installed
     - I use version 1.7.1

3)  Place a copy of jysite.py into your docutils "writers" directory, this is basically the website template.

4)  Traverse into the "website" directory and issue the "ant" command to build
     - If the dist directory already resides, you may need to delete it before building
       to get a fresh build.
       
5)  Newly built site will reside within the "dist" directory.


Changing jython.org
-------------------

The jython site resides on the Python.org server at "dinsdale.python.org" within the /data/jython/ directory.  The /data/jython/ directory is the root of the site and that is where index.html resides.
All other pages also reside within the /data/jython/ directory.  This directory also contains other directories such as CSS and the like.

To deploy the site, you must have commit privileges to dinsdale.python.org.  Once you've been granted commit, you can deploy the site by simply copying the contents of the "dist" directory
on your machine into the /data/jython/ directory on the server as follows:

scp -r dist/* username@dinsdale.python.org:/data/jython/

The -r flag will ensure overwriting of any existing files.


Design and Layout
--------------------------

Template:

Site template is the jysite.py writer file.  This file contains the header, footer, left, and right sides of each webpage contained within the site.  If you are interested in adding anything to the side(s) or header/footer then it will need to be done here.


CSS and Javascript:

All css resides within the CSS and Javascript files reside within the CSS directory.  The file named "newstyle.css" contains the styles for the site.  The CSS directory also contains some images for the site.

Changing Text:

    - Home Page:  To change the home page text "Latest News", modify the index.txt  file residing in the "website" directory using restructuredText format.  

    - All Other Pages:  All other page content resides within the "redirects" directory.  To change the text of any other page on the site, open the file whose name corresponds to the site page and change the text using restructuredText format.

Adding Pages:

    - To add a new page to the site, simply create a file within the "redirects" directory and name it corresponding to the page name you'd like to create.  Use restructuredText to create the page text.
    

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks