Skip to content

Commit

Permalink
moved
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Feb 21, 2009
1 parent cd7d127 commit ac60d36
Show file tree
Hide file tree
Showing 214 changed files with 24,196 additions and 0 deletions.
Binary file added zope2book/Figures/01_zoo-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/02_nav_main1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/03_header1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/10-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/11-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added zope2book/Figures/12-8.png
Binary file added zope2book/Figures/12-9.png
Binary file added zope2book/Figures/2-1.png
Binary file added zope2book/Figures/2-2.png
Binary file added zope2book/Figures/2-3.png
Binary file added zope2book/Figures/2-4.png
Binary file added zope2book/Figures/2-5.png
Binary file added zope2book/Figures/2-6.png
Binary file added zope2book/Figures/2-7.png
Binary file added zope2book/Figures/3-1.png
Binary file added zope2book/Figures/3-2.png
Binary file added zope2book/Figures/3-3.png
Binary file added zope2book/Figures/3-4.png
Binary file added zope2book/Figures/3-5.png
Binary file added zope2book/Figures/3-6.png
Binary file added zope2book/Figures/3-7.png
Binary file added zope2book/Figures/3-8.png
Binary file added zope2book/Figures/3-9.png
Binary file added zope2book/Figures/4-1.png
Binary file added zope2book/Figures/4-2.png
Binary file added zope2book/Figures/4-3.png
Binary file added zope2book/Figures/4-4.png
Binary file added zope2book/Figures/4-5.png
Binary file added zope2book/Figures/5-1.png
Binary file added zope2book/Figures/5-2.png
Binary file added zope2book/Figures/5-3.png
Binary file added zope2book/Figures/5-4.png
Binary file added zope2book/Figures/5-5.png
Binary file added zope2book/Figures/5-6.png
Binary file added zope2book/Figures/5-7.png
Binary file added zope2book/Figures/6-1.png
Binary file added zope2book/Figures/6-2.png
Binary file added zope2book/Figures/6-3.png
Binary file added zope2book/Figures/6-4.png
Binary file added zope2book/Figures/6-5.png
Binary file added zope2book/Figures/6-6.png
Binary file added zope2book/Figures/6-7.png
Binary file added zope2book/Figures/7-1.png
Binary file added zope2book/Figures/7-2.png
Binary file added zope2book/Figures/7-3.png
Binary file added zope2book/Figures/7-4.png
Binary file added zope2book/Figures/7-5.png
Binary file added zope2book/Figures/7-6.png
Binary file added zope2book/Figures/8-1.png
Binary file added zope2book/Figures/8-2.png
Binary file added zope2book/Figures/8-3.png
Binary file added zope2book/Figures/8-4.png
Binary file added zope2book/Figures/8-5.png
Binary file added zope2book/Figures/8-6.png
Binary file added zope2book/Figures/8-7.png
Binary file added zope2book/Figures/8-8.png
Binary file added zope2book/Figures/8-9.png
Binary file added zope2book/Figures/9-10.png
Binary file added zope2book/Figures/9-1_bobsfeedbags.png
Binary file added zope2book/Figures/9-2.png
Binary file added zope2book/Figures/9-3.png
Binary file added zope2book/Figures/9-4.png
Binary file added zope2book/Figures/9-5.png
Binary file added zope2book/Figures/9-6.png
Binary file added zope2book/Figures/9-7.png
Binary file added zope2book/Figures/9-8.png
Binary file added zope2book/Figures/9-9.png
Binary file added zope2book/Figures/aardvarkview.png
Binary file added zope2book/Figures/acquisition.png
Binary file added zope2book/Figures/addfile.jpg
Binary file added zope2book/Figures/addfolder.jpg
Binary file added zope2book/Figures/component-selection.png
Binary file added zope2book/Figures/controlpanel.jpg
Binary file added zope2book/Figures/creatinghelpview.png
Binary file added zope2book/Figures/creatinglexicon.png
Binary file added zope2book/Figures/creatingproperty.png
Binary file added zope2book/Figures/creatingsearchinterface.png
Binary file added zope2book/Figures/creatingtextindex.png
Binary file added zope2book/Figures/creatingzcatalog.png
Binary file added zope2book/Figures/creatingzclass.png
Binary file added zope2book/Figures/delzoo.jpg
Binary file added zope2book/Figures/download-zope-source.png
Binary file added zope2book/Figures/download-zope.png
Binary file added zope2book/Figures/emacsftp.png
Binary file added zope2book/Figures/export.jpg
Binary file added zope2book/Figures/externaleditor.jpg
Binary file added zope2book/Figures/fileobject.jpg
Binary file added zope2book/Figures/giraffes.png
Binary file added zope2book/Figures/gnome-dav.png
Binary file added zope2book/Figures/histcompare.png
Binary file added zope2book/Figures/history.png
Binary file added zope2book/Figures/ie.png
Binary file added zope2book/Figures/import.jpg
Binary file added zope2book/Figures/importsuccess.jpg
Binary file added zope2book/Figures/infokeyerror.png
Binary file added zope2book/Figures/installer-complete.png
Binary file added zope2book/Figures/installer-first-screen.png
Binary file added zope2book/Figures/installer-package-icon.png
Binary file added zope2book/Figures/instance-passwd.png
Binary file added zope2book/Figures/instance-path.png
Binary file added zope2book/Figures/interestdisplay.png
Binary file added zope2book/Figures/junglesales_view.jpg
Binary file added zope2book/Figures/kateftp.png
Binary file added zope2book/Figures/kdeopen.png
Binary file added zope2book/Figures/konq.png
Binary file added zope2book/Figures/managingindexes.png
Binary file added zope2book/Figures/navigator.jpg
Binary file added zope2book/Figures/pricelist.png
Binary file added zope2book/Figures/propertysheet.png
Binary file added zope2book/Figures/psycopg.png
Binary file added zope2book/Figures/quickstart.jpg
Binary file added zope2book/Figures/quickstart.png
Binary file added zope2book/Figures/renamezoo.jpg
Binary file added zope2book/Figures/rootproperties.jpg
Binary file added zope2book/Figures/sales_staff_dtml.jpg
Binary file added zope2book/Figures/salespage.jpg
Binary file added zope2book/Figures/scriptdefault.png
Binary file added zope2book/Figures/showzclassmethods.png
Binary file added zope2book/Figures/start-as-service.png
Binary file added zope2book/Figures/statusframe.jpg
Binary file added zope2book/Figures/testem.png
Binary file added zope2book/Figures/testscript.png
Binary file added zope2book/Figures/uniqueauthorsform.png
Binary file added zope2book/Figures/viewingfile.jpg
Binary file added zope2book/Figures/viewingpt.png
Binary file added zope2book/Figures/webdav.png
Binary file added zope2book/Figures/webdav1.png
Binary file added zope2book/Figures/webdavkate.png
Binary file added zope2book/Figures/webdavkonq.png
Binary file added zope2book/Figures/welcomedtml.png
Binary file added zope2book/Figures/welcomegreen.png
Binary file added zope2book/Figures/workspace.jpg
Binary file added zope2book/Figures/zclassmethods.png
Binary file added zope2book/Figures/zclassviews.png
Binary file added zope2book/Figures/zinstall-unix0.png
Binary file added zope2book/Figures/zinstall0.png
Binary file added zope2book/Figures/zinstall1.png
Binary file added zope2book/Figures/zinstall2.png
Binary file added zope2book/Figures/zinstall3.png
Binary file added zope2book/Figures/zinstall4.png
Binary file added zope2book/Figures/zinstall4b.png
Binary file added zope2book/Figures/zinstall5.png
Binary file added zope2book/Figures/zinstall6.png
Binary file added zope2book/Figures/zinstall7.png
Binary file added zope2book/Figures/zinstall8.png
Binary file added zope2book/Figures/zinstall9.png
Binary file added zope2book/Figures/zmi.jpg
Binary file added zope2book/Figures/zmi.png
Binary file added zope2book/Figures/zoo-again.png
Binary file added zope2book/Figures/zoo.png
Binary file added zope2book/Figures/zoo1.png
Binary file added zope2book/Figures/zoo2.png
Binary file added zope2book/Figures/zoo3.png
Binary file added zope2book/Figures/zoo4.png
Binary file added zope2book/Figures/zopearchitecture.png
75 changes: 75 additions & 0 deletions zope2book/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source

.PHONY: help clean html web pickle htmlhelp latex changes linkcheck

help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " changes to make an overview over all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"

clean:
-rm -rf build/*

html:
mkdir -p build/html build/doctrees
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html
@echo
@echo "Build finished. The HTML pages are in build/html."

pickle:
mkdir -p build/pickle build/doctrees
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) build/pickle
@echo
@echo "Build finished; now you can process the pickle files."

web: pickle

json:
mkdir -p build/json build/doctrees
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) build/json
@echo
@echo "Build finished; now you can process the JSON files."

htmlhelp:
mkdir -p build/htmlhelp build/doctrees
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) build/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in build/htmlhelp."

latex:
mkdir -p build/latex build/doctrees
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) build/latex
@echo
@echo "Build finished; the LaTeX files are in build/latex."
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
"run these through (pdf)latex."

changes:
mkdir -p build/changes build/doctrees
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) build/changes
@echo
@echo "The overview file is in build/changes."

linkcheck:
mkdir -p build/linkcheck build/doctrees
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) build/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in build/linkcheck/output.txt."
51 changes: 51 additions & 0 deletions zope2book/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Zope2 Book
==========

Background
----------

The `Zope2 Book` has been the canonical source of information about Zope2 for
a long time.

During its lifetime it has seen many different places. The original location
has been: http://www.zope.org/Documentation/Books/ZopeBook/

Chris McDonough has done a great job of updating it for Zope 2.7 and
hosting the updated copy at http://www.plope.com/Books/2_7Edition

Various attempts to update the book and maintain it took place afterwards,
for example https://code.launchpad.net/zope2book and
http://wiki.zope.org/zope2/ZopeBook.

This is yet another attempt to bring the book back to live.

Technology
----------

This time we use `Sphinx`_ based on a conversion of the original content to
reStructured as the tool.

To install Sphinx you can simply do::

easy_install Sphinx

You might want to use a `virtualenv`_ to protect your global Python from any
changes.

Sphinx can generate various different formats from the same source. If you
want to build a HTML version of the book, you can do::

make html

To what extent this works on Windows is unknown.

Contact
-------

At this point the book is best discussed at:

http://mail.zope.org/mailman/listinfo/zope-dev


.. _Sphinx: http://sphinx.pocoo.org/
.. _virtualenv: http://pypi.python.org/pypi/virtualenv/
31 changes: 31 additions & 0 deletions zope2book/TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
####
TODO
####

General
=======

- The various webserver related chapters should mention repoze/WSGI instead
of the FastCGI/PCGI stuff.

- Some more clarification of Zope3 - Zope Components is required.

InstallingZope
==============

- Rewrite the installation chapter to cover buildout, eggs, virtualenv and
the modern world (Since this is 2.12, we don't need to document the old
full tarball release anymore).

Tres has written something in the install.txt inside the Zope2/trunk

- Refer to the plone.org/how-to/buildout-on-windows stuff for compiling from
source on Windows. Make sure we get binary eggs of all dependencies and
ourselves for normal installations.

AppendixB.rst
=============

- This was the manually maintained API documentation. Horribly outdated and
with all the formatting impossible to convert from stx in an automated way.

77 changes: 77 additions & 0 deletions zope2book/bootstrap.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
##############################################################################
#
# Copyright (c) 2006 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Bootstrap a buildout-based project
Simply run this script in a directory containing a buildout.cfg.
The script accepts buildout command-line options, so you can
use the -c option to specify an alternate configuration file.
$Id: bootstrap.py 90478 2008-08-27 22:44:46Z georgyberdyshev $
"""

import os, shutil, sys, tempfile, urllib2

tmpeggs = tempfile.mkdtemp()

is_jython = sys.platform.startswith('java')

try:
import pkg_resources
except ImportError:
ez = {}
exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
).read() in ez
ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)

import pkg_resources

if sys.platform == 'win32':
def quote(c):
if ' ' in c:
return '"%s"' % c # work around spawn lamosity on windows
else:
return c
else:
def quote (c):
return c

cmd = 'from setuptools.command.easy_install import main; main()'
ws = pkg_resources.working_set

if is_jython:
import subprocess

assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
quote(tmpeggs), 'zc.buildout'],
env=dict(os.environ,
PYTHONPATH=
ws.find(pkg_resources.Requirement.parse('setuptools')).location
),
).wait() == 0

else:
assert os.spawnle(
os.P_WAIT, sys.executable, quote (sys.executable),
'-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout',
dict(os.environ,
PYTHONPATH=
ws.find(pkg_resources.Requirement.parse('setuptools')).location
),
) == 0

ws.add_entry(tmpeggs)
ws.require('zc.buildout')
import zc.buildout.buildout
zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
shutil.rmtree(tmpeggs)
22 changes: 22 additions & 0 deletions zope2book/buildout.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[buildout]
develop =
parts =
stxpy

eggs-directory = ${buildout:directory}/eggs
versions = versions
unzip = true
eggs =

[versions]
zc.buildout =
zc.recipe.egg =

[stxpy]
recipe = zc.recipe.egg
eggs =
Sphinx
interpreter = stxpy
scripts =
sphinx-build
sphinx-quickstart
Loading

0 comments on commit ac60d36

Please sign in to comment.