You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2011/05/31 01:27:47 UTC

[jira] [Created] (OPENEJB-1566) Example page generator

Example page generator
----------------------

                 Key: OPENEJB-1566
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1566
             Project: OpenEJB
          Issue Type: Improvement
          Components: documentation, examples, website
            Reporter: David Blevins
            Priority: Critical




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (OPENEJB-1566) Example page generator

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

David Blevins updated OPENEJB-1566:
-----------------------------------

    Comment: was deleted

(was: See http://svn.apache.org/repos/asf/openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/GenerateIndex.java


/**
 * Most the examples do not have any documentation.
 *
 * There are some wiki pages for some of the examples, but these
 * are hard to create and maintain.  The examples change frequently
 * enough that we really should have documentation that goes with
 * each version of the examples.
 *
 * If we put a README.md file in each example and use Markdown
 * which is a really simple text format that has many tools
 * capable of generating html, we could probably generate a
 * web page for each example.  Then we could generate a index
 * for all the examples.
 *
 * We could then take this all and upload it to the website
 *
 * Something kind of like this:
 *    http://people.apache.org/~dblevins/simple-stateless.html
 *
 * But nicer looking, with breadcrumbs and links for navigating
 * around to other examples
 *
 *
 * IDEAS FOR AFTER SOMETHING IS WORKING
 *
 * Perhaps at some point some xref style processing of the source
 * and links to the source
 *
 * Perhaps at some point use ASM to see what annotations and API
 * classes were used and make an index that lists examples by
 * which APIs are used
 *
 * Perhaps at some point use Swizzle stream to do a sort of SNIPPET
 * thing like the Confluence plugin, so we wouldn't have to copy
 * source into the example
 *
 * @version $Rev$ $Date$
 */
)

> Example page generator
> ----------------------
>
>                 Key: OPENEJB-1566
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1566
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: documentation, examples, website
>            Reporter: David Blevins
>            Priority: Critical
>              Labels: documentation, examples, markdown, website
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (OPENEJB-1566) Example page generator

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041333#comment-13041333 ] 

David Blevins commented on OPENEJB-1566:
----------------------------------------

Most the examples do not have any documentation.

There are some wiki pages for some of the examples, but these are hard to create and maintain.  The examples change frequently enough that we really should have documentation that goes with each version of the examples.

If we put a README.md file in each example and use Markdown which is a really simple text format that has many tools capable of generating html, we could probably generate a web page for each example.  Then we could generate a index for all the examples.

We could then take this all and upload it to the website

Small proof of concept:
 - http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/simple-stateless/README.md
 - http://people.apache.org/~dblevins/simple-stateless.html

Something kind of like this, but nicer looking, with breadcrumbs and links for navigating around to other examples.

Side benefit is that README.md files are also handled by github. Load up this page and hit refresh twice:
 - https://github.com/apache/openejb/tree/trunk/openejb3/examples/simple-stateless

IDEAS FOR AFTER SOMETHING IS WORKING

Perhaps at some point some xref style processing of the source and links to the source

Perhaps at some point use ASM to see what annotations and API classes were used and make an index that lists examples by which APIs are used

Perhaps at some point use Swizzle stream to do a sort of SNIPPET thing like the Confluence plugin, so we wouldn't have to copy source into the example


> Example page generator
> ----------------------
>
>                 Key: OPENEJB-1566
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1566
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: documentation, examples, website
>            Reporter: David Blevins
>            Priority: Critical
>              Labels: documentation, examples, markdown, website
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (OPENEJB-1566) Example page generator

Posted by "Andre Brito (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044848#comment-13044848 ] 

Andre Brito commented on OPENEJB-1566:
--------------------------------------

Nice.

Hope I can write something during this week. Maybe just one README.md (simple-stateful example) and you can see the result. If it's ok I can go further and write more.

What do you think about that?

> Example page generator
> ----------------------
>
>                 Key: OPENEJB-1566
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1566
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: documentation, examples, website
>            Reporter: David Blevins
>            Priority: Critical
>              Labels: documentation, examples, markdown, website
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (OPENEJB-1566) Example page generator

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO closed OPENEJB-1566.
----------------------------------------

    Resolution: Fixed

Done. Thanks Romain
                
> Example page generator
> ----------------------
>
>                 Key: OPENEJB-1566
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1566
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: documentation, examples, website
>            Reporter: David Blevins
>            Priority: Critical
>              Labels: documentation, examples, markdown, website
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OPENEJB-1566) Example page generator

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041330#comment-13041330 ] 

David Blevins commented on OPENEJB-1566:
----------------------------------------

See http://svn.apache.org/repos/asf/openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/GenerateIndex.java


/**
 * Most the examples do not have any documentation.
 *
 * There are some wiki pages for some of the examples, but these
 * are hard to create and maintain.  The examples change frequently
 * enough that we really should have documentation that goes with
 * each version of the examples.
 *
 * If we put a README.md file in each example and use Markdown
 * which is a really simple text format that has many tools
 * capable of generating html, we could probably generate a
 * web page for each example.  Then we could generate a index
 * for all the examples.
 *
 * We could then take this all and upload it to the website
 *
 * Something kind of like this:
 *    http://people.apache.org/~dblevins/simple-stateless.html
 *
 * But nicer looking, with breadcrumbs and links for navigating
 * around to other examples
 *
 *
 * IDEAS FOR AFTER SOMETHING IS WORKING
 *
 * Perhaps at some point some xref style processing of the source
 * and links to the source
 *
 * Perhaps at some point use ASM to see what annotations and API
 * classes were used and make an index that lists examples by
 * which APIs are used
 *
 * Perhaps at some point use Swizzle stream to do a sort of SNIPPET
 * thing like the Confluence plugin, so we wouldn't have to copy
 * source into the example
 *
 * @version $Rev$ $Date$
 */


> Example page generator
> ----------------------
>
>                 Key: OPENEJB-1566
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1566
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: documentation, examples, website
>            Reporter: David Blevins
>            Priority: Critical
>              Labels: documentation, examples, markdown, website
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira