Meego Wiki
Views

Application developer site/Documentation/Features/meego doc

From MeeGo wiki
< Application developer site | Documentation(Difference between revisions)
Jump to: navigation, search
(Meego doc)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
-
== Introduction ==
+
=Meego doc=
-
==
+
MeeGo docs module takes care of importing and holding the API reference pages. It contains a simple drush command which takes one argument (path to table of contents xml [toc]).
-
== Design Overview ==
+
-
==
+
-
== System architectural design ==
+
==Settings==
-
== Detail description of modules (patching / update) ==
+
To administer MeeGo docs, from admin menu go to *@Content management > API Reference settings@* .
-
== Detail description of content structure ==
+
===Default page===
-
== Backup solution ==
+
When user types path "developer.meego.com/api" Drupal should redirect user to default page. Usually this page is *main.html* .
-
== Additional Materials ==
+
===Data path===
 +
 
 +
Data path contains the HTML files having all the contents which is referred from table of contents XML (toc.xml). Example value "sites/default/files/apidocs/html"
 +
 
 +
===Attribute name for title===
 +
 
 +
Some TOC XML file may have different attribute name for title. This settings allows you to define which attribute name to look for the title. Example value "title".
 +
 
 +
===Attribute name for URL===
 +
 
 +
Some TOC XML file may have different attribute name for URL path to HTML files / contents. This settings allows you to define which attribute name to look for. Example value "href".
 +
 
 +
==Example usage==
 +
 
 +
<pre>drush meego-rescan sites/default/files/apidocs/xml/categories/toc.xml
 +
 
 +
Clearing menu items...
 +
Processed file sites/default/files/apidocs/html/main.html
 +
Processed file sites/default/files/apidocs/html/categories/Application_Frameworks.html
 +
Processed file sites/default/files/apidocs/html/qt4/qtdeclarative.html
 +
Processed file sites/default/files/apidocs/html/qt4/plugins.html
 +
Processed file sites/default/files/apidocs/html/qt4/qdeclarativeextensionplugin.html
 +
Processed file sites/default/files/apidocs/html/qt4/qdeclarativecomponent.html
 +
Processed file sites/default/files/apidocs/html/qt4/qdeclarativecontext.html
 +
...</pre>

Latest revision as of 11:57, 29 March 2011

Contents

Meego doc

MeeGo docs module takes care of importing and holding the API reference pages. It contains a simple drush command which takes one argument (path to table of contents xml [toc]).

Settings

To administer MeeGo docs, from admin menu go to *@Content management > API Reference settings@* .

Default page

When user types path "developer.meego.com/api" Drupal should redirect user to default page. Usually this page is *main.html* .

Data path

Data path contains the HTML files having all the contents which is referred from table of contents XML (toc.xml). Example value "sites/default/files/apidocs/html"

Attribute name for title

Some TOC XML file may have different attribute name for title. This settings allows you to define which attribute name to look for the title. Example value "title".

Attribute name for URL

Some TOC XML file may have different attribute name for URL path to HTML files / contents. This settings allows you to define which attribute name to look for. Example value "href".

Example usage

drush meego-rescan sites/default/files/apidocs/xml/categories/toc.xml

Clearing menu items...
Processed file sites/default/files/apidocs/html/main.html
Processed file sites/default/files/apidocs/html/categories/Application_Frameworks.html
Processed file sites/default/files/apidocs/html/qt4/qtdeclarative.html
Processed file sites/default/files/apidocs/html/qt4/plugins.html
Processed file sites/default/files/apidocs/html/qt4/qdeclarativeextensionplugin.html
Processed file sites/default/files/apidocs/html/qt4/qdeclarativecomponent.html
Processed file sites/default/files/apidocs/html/qt4/qdeclarativecontext.html
...
Personal tools