# HG changeset patch # User Nicolas Chauvat # Date 1248817699 -7200 # Node ID 282261b2677453c68fb812759a278ee1e4f2b27d # Parent 19103bdcab36ad70a67784c5b8e51bc071f99350 [doc] fixed some dangling internal links diff -r 19103bdcab36 -r 282261b26774 doc/book/en/Z012-create-instance.en.txt --- a/doc/book/en/Z012-create-instance.en.txt Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/Z012-create-instance.en.txt Tue Jul 28 23:48:19 2009 +0200 @@ -52,7 +52,7 @@ sufficient. You can allways modify the parameters later by editing configuration files. When a user/psswd is requested to access the database please use the login you create at the time you configured the database -(:ref:`ConfigurationPostgres`). +(:ref:`ConfigurationPostgresql`). It is important to distinguish here the user used to access the database and the user used to login to the cubicweb instance. When a *CubicWeb* instance diff -r 19103bdcab36 -r 282261b26774 doc/book/en/admin/create-instance.rst --- a/doc/book/en/admin/create-instance.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/admin/create-instance.rst Tue Jul 28 23:48:19 2009 +0200 @@ -20,7 +20,7 @@ sufficient. You can anyway modify the configuration later on by editing configuration files. When a user/psswd is requested to access the database please use the login you create at the time you configured the database -(:ref:`ConfigurationPostgres`). +(:ref:`ConfigurationPostgresql`). It is important to distinguish here the user used to access the database and the user used to login to the cubicweb instance. When an instance starts, it uses diff -r 19103bdcab36 -r 282261b26774 doc/book/en/admin/gae.rst --- a/doc/book/en/admin/gae.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/admin/gae.rst Tue Jul 28 23:48:19 2009 +0200 @@ -1,5 +1,7 @@ .. -*- coding: utf-8 -*- +.. _GoogleAppEngineSource: + CubicWeb in Google AppEngine ============================ @@ -26,7 +28,7 @@ Please follow instructions on how to install *CubicWeb* framework -(:ref:`CubicWebInstallation`). +(:ref:`SetUpEnv`). Installation ------------ diff -r 19103bdcab36 -r 282261b26774 doc/book/en/annexes/rql/index.rst --- a/doc/book/en/annexes/rql/index.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/annexes/rql/index.rst Tue Jul 28 23:48:19 2009 +0200 @@ -8,5 +8,4 @@ intro language - dbapi implementation diff -r 19103bdcab36 -r 282261b26774 doc/book/en/development/datamodel/baseschema.rst --- a/doc/book/en/development/datamodel/baseschema.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/development/datamodel/baseschema.rst Tue Jul 28 23:48:19 2009 +0200 @@ -1,6 +1,6 @@ Pre-defined entities in the library ----------------------------------- +----------------------------------- The library defines a set of entity schemas that are required by the system or commonly used in *CubicWeb* instances. diff -r 19103bdcab36 -r 282261b26774 doc/book/en/development/devcore/index.rst --- a/doc/book/en/development/devcore/index.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/development/devcore/index.rst Tue Jul 28 23:48:19 2009 +0200 @@ -5,7 +5,6 @@ :maxdepth: 1 vreg.rst - selection.rst appobject.rst selectors.rst dbapi.rst diff -r 19103bdcab36 -r 282261b26774 doc/book/en/development/devweb/internationalization.rst --- a/doc/book/en/development/devweb/internationalization.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/development/devweb/internationalization.rst Tue Jul 28 23:48:19 2009 +0200 @@ -1,9 +1,9 @@ .. -*- coding: utf-8 -*- -.. _internationalisation: +.. _internationalization: -Internationalisation +Internationalization --------------------- Cubicweb fully supports the internalization of its content and interface. diff -r 19103bdcab36 -r 282261b26774 doc/book/en/development/devweb/views.rst --- a/doc/book/en/development/devweb/views.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/development/devweb/views.rst Tue Jul 28 23:48:19 2009 +0200 @@ -1,3 +1,6 @@ + +.. _Views: + Views ----- @@ -76,8 +79,7 @@ - Using `templatable`, `content_type` and HTTP cache configuration -.. code-block:: python - +.. sourcecode:: python class RSSView(XMLView): id = 'rss' @@ -88,11 +90,9 @@ cache_max_age = 60*60*2 # stay in http cache for 2 hours by default - - Using custom selector -.. code-block:: python - +.. sourcecode:: python class SearchForAssociationView(EntityView): """view called by the edition view when the user asks @@ -112,9 +112,9 @@ We'll show you now an example of a ``primary`` view and how to customize it. If you want to change the way a ``BlogEntry`` is displayed, just override -the method ``cell_call()`` of the view ``primary`` in ``BlogDemo/views.py`` :: +the method ``cell_call()`` of the view ``primary`` in ``BlogDemo/views.py``: -.. code-block:: python +.. sourcecode:: python from cubicweb.view import EntityView from cubicweb.selectors import implements @@ -148,7 +148,7 @@ Let us now improve the primary view of a blog -.. code-block:: python +.. sourcecode:: python class BlogPrimaryView(EntityView): id = 'primary' @@ -215,9 +215,9 @@ [FILLME] - XML views, binaries... ---------------------- + For views generating other formats than HTML (an image generated dynamically for example), and which can not simply be included in the HTML page generated by the main template (see above), you have to: diff -r 19103bdcab36 -r 282261b26774 doc/book/en/development/migration/index.rst --- a/doc/book/en/development/migration/index.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/development/migration/index.rst Tue Jul 28 23:48:19 2009 +0200 @@ -129,12 +129,11 @@ * `drop_relation_definition(subjtype, rtype, objtype, commit=True)`, removes a relation definition. -* `sync_schema_props_perms(ertype=None, syncperms=True, - syncprops=True, syncrdefs=True, commit=True)`, +* `sync_schema_props_perms(ertype=None, syncperms=True, syncprops=True, syncrdefs=True, commit=True)`, synchronizes properties and/or permissions on: - * the whole schema if ertype is None - * an entity or relation type schema if ertype is a string - * a relation definition if ertype is a 3-uple (subject, relation, object) + - the whole schema if ertype is None + - an entity or relation type schema if ertype is a string + - a relation definition if ertype is a 3-uple (subject, relation, object) * `change_relation_props(subjtype, rtype, objtype, commit=True, **kwargs)`, changes properties of a relation definition by using the named parameters of the properties diff -r 19103bdcab36 -r 282261b26774 doc/book/en/development/profiling/index.rst --- a/doc/book/en/development/profiling/index.rst Tue Jul 28 23:21:39 2009 +0200 +++ b/doc/book/en/development/profiling/index.rst Tue Jul 28 23:48:19 2009 +0200 @@ -22,7 +22,8 @@ --