From 466182159d0b7c9c2cdf73ca33845239c01cf1af Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 12 Mar 2013 18:16:29 +0000 Subject: [PATCH] [#255] Minor tweaks on API related docs --- doc/api.rst | 2 +- doc/architecture.rst | 2 +- doc/multilingual.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index d7899f3b577..714564db341 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -195,7 +195,7 @@ GET-able API Functions Functions defined in :doc:`ckan.logic.action.get` can also be called with an HTTP GET request. For example, to get the list of datasets (packages) from -demo.ckan.org, open this URL in your browser:: +demo.ckan.org, open this URL in your browser: http://demo.ckan.org/api/3/action/package_list diff --git a/doc/architecture.rst b/doc/architecture.rst index f4de202d05f..7603d7fe851 100644 --- a/doc/architecture.rst +++ b/doc/architecture.rst @@ -54,7 +54,7 @@ interesting discussion about APIs. **All** publicly visible functions in the ``ckan.logic.action.{create,delete,get,update}`` namespaces will be exposed -through the :doc:`apiv3`. **This includes functions imported** by those +through the :doc:`api`. **This includes functions imported** by those modules, **as well as any helper functions** defined within those modules. To prevent inadvertent exposure of non-action functions through the action api, care should be taken to: diff --git a/doc/multilingual.rst b/doc/multilingual.rst index a465b04c607..7284bf06b45 100644 --- a/doc/multilingual.rst +++ b/doc/multilingual.rst @@ -14,7 +14,7 @@ By default term translations are disabled. To enable them, you have to specify t # List the names of CKAN extensions to activate. ckan.plugins = multilingual_dataset multilingual_group multilingual_tag -Of course, you won't see any terms getting translated until you load some term translations into the database. You can do this using the ``term_translation_update`` and ``term_translation_update_many`` actions of the CKAN API, See :ref:`api` for more details. +Of course, you won't see any terms getting translated until you load some term translations into the database. You can do this using the ``term_translation_update`` and ``term_translation_update_many`` actions of the CKAN API, See :doc:`api` for more details. Loading Test Translations -------------------------