You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/03/04 10:43:50 UTC

[jira] Created: (SLING-305) APT parser and default servlet

APT parser and default servlet
------------------------------

                 Key: SLING-305
                 URL: https://issues.apache.org/jira/browse/SLING-305
             Project: Sling
          Issue Type: Improvement
          Components: Launchpad
            Reporter: Bertrand Delacretaz


I'd like to use a wiki-like format to create interactive docs for the Launchpad.

I've done some tests with the doxia-module-apt used by Maven. It provides a customizable APT parser, including macros for which we can easily provide our own (OSGI-based if needed) code.

I'll create two new modules as a first shot, a parser module (simple wrapper around doxia-module-apt) and a default APT servlet to render *.apt files stored in the repository.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-305) APT parser and default servlet

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-305.
---------------------------------------

    Resolution: Fixed

Implemented in revision 633531 in the new extensions/apt/parser and extensions/apt/servlet modules.

See SimpleAptRenderingTest in the launchpad for an example, or the full doxia APT docs at http://maven.apache.org/doxia/references/apt-format.html

The URL mapping is suboptimal, to render the /index.apt file it must be requested as /index.apt/aptml - we need improved mapping of requests to servlets to improve this, that's a separate issue.

No useful macros are implemented at the moment, we'll implement them when needed, for example to inject code examples in the launchpad docs from svn.

> APT parser and default servlet
> ------------------------------
>
>                 Key: SLING-305
>                 URL: https://issues.apache.org/jira/browse/SLING-305
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Bertrand Delacretaz
>
> I'd like to use a wiki-like format to create interactive docs for the Launchpad.
> I've done some tests with the doxia-module-apt used by Maven. It provides a customizable APT parser, including macros for which we can easily provide our own (OSGI-based if needed) code.
> I'll create two new modules as a first shot, a parser module (simple wrapper around doxia-module-apt) and a default APT servlet to render *.apt files stored in the repository.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.