From 200a40b332420f94992eb39a6d0ea1cf1490ffc4 Mon Sep 17 00:00:00 2001 From: coreyg Date: Fri, 21 Nov 2014 09:30:19 +0000 Subject: Adding tuscany's website to their svn repo for svnpubsub git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1640879 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany-cwiki-development-guideline.html | 187 +++++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 site/trunk/site-publish/tuscany-cwiki-development-guideline.html (limited to 'site/trunk/site-publish/tuscany-cwiki-development-guideline.html') diff --git a/site/trunk/site-publish/tuscany-cwiki-development-guideline.html b/site/trunk/site-publish/tuscany-cwiki-development-guideline.html new file mode 100644 index 0000000000..577276db0f --- /dev/null +++ b/site/trunk/site-publish/tuscany-cwiki-development-guideline.html @@ -0,0 +1,187 @@ + + + + + + + Tuscany cwiki Development Guideline : Apache Tuscany + + + + + + + + + + + + + + + + +
+ + + + +   + + + +
+ + +
+
+ + + + + + + +
+  Apache Tuscany > Home > Tuscany cwiki Development Guideline + + User List | Dev List | Issue Tracker   +
+ + + + + +
+
+ +
+
+

The Apache Tuscany Project Website (http://incubator.apache.org/tuscany) content is authored collaboratively by the Tuscany community.  The content authoring and publish takes place in the following steps:-

+ + + +

There is more information at the end of this page on how content is synchronized from the Wiki to the public site.

+ +

Since the Wiki content forms the backbone for the public website content, it is important that the community adheres to some community accepted common guidelines when authoring content on the Wiki, to help in consistency and maintainability of the content.  The objective of this page is to record these guidelines.

+ +

Wiki Content Authoring and Organization Guidelines 

+ +

The Apache Tuscany project consists of three subprojects - SCA, SDO and DAS each of which is implemented in C++ and Java.  These subprojects and their implementations have different documentation and download pages. There is a lot of information that gets shared on the website related to all these projects and it is essential to have a clear structure to help ease the administration, modification and maintenance of the website. Here is a proposal for how the information on cwiki can be organized with this goal in mind.

+ +

Need to make sure community is in agreement before we make this the guideline - so, here is the proposal.

+ +

Content Structure

+ +

Tuscany cwiki is divided into two logical spaces.

+
    +
  1. Tuscany General space: this is where you will find general Tuscany information, for example community, blogs, documentation and downloads for Tuscany.  The root of the pages under this category is 'General Info'.  The pages under 'General Info' contains information like : Home, SCA Overview, SDO Overview, DAS Overview. All pages categorized under 'Genral Info' the use the same navigation menu.
  2. +
  3. Tuscany Subproject space: There is a 'logical' space for each subproject under Tuscany. For example, SCA Java, SDO Java, SCA Native, etc. When under a subproject, you'll only find information about the subproject. Each subproject uses its own menu (which is similar for all subprojects) to navigate through pages for that subproject. This means navigation remains constant when traversing through pages of a subproject.
  4. +
  5. Tuscany Menus : Another category of pages are the various 'Menus' that are used.  These have been isolated as another sub-tree of content to help in independent organization of Menu options.  Under this subtree titled 'Menus' is organized all the sets of Menu options that appear on the Navigation pane on the left.
  6. +
+ + +

Wiki tree structure

+ +

Tuscany

+
    +
  • Home +
      +
    • SCA Overview (general) +
        +
      • SCA Java (subproject)
        + You will find a similar structure as SCA Java under all other subprojects (SCA Native, SDO Java, DAS Java, ...) +
          +
        • SCA Java Subproject Documentation Menu - All publishable documentations are under this
        • +
        • SCA Java Releases - All release download pages for the subproject are under this
        • +
        • SCA Java Work-in-progress - This is place holder for work in progress. For example, discussion about new release, documentation in progress, etc. would all go under this category
        • +
        +
      • +
      • SCA Native (subproject)
      • +
      +
    • +
    • SDO Overview (general) +
        +
      • SDO Java (subproject)
      • +
      • SDO Native (subproject)
      • +
      +
    • +
    • DAS Overview (general) +
        +
      • DAS Java (subproject)
      • +
      • DAS Native (subproject)
      • +
      +
    • +
    • General Info (general) - holds information applicable to all projects. For example, Events, documentat/download, community, etc.
    • +
    • Menus - You will find all menus under here +
        +
      • General - You will find general menu here
      • +
      • Subproject Menus - You will find subproject specific menus here
      • +
      +
    • +
    +
  • +
+ + +

Guidelines

+ +
    +
  1. Before adding any content to the wiki take a look at the content tree structure at http://cwiki.apache.org/confluence/pages/listpages-dirview.action?key=TUSCANY and identify a node in the tree where the content could best fit.  To start with you could identify if the content falls under general or under a specific subproject or under a specific implementation of a subproject.  Then under this you could further categorize if the content is to do with 'Technical Documentation' or 'Release' and so on.
  2. +
  3. Having decided on a position for the content page in the content tree strucuture ensure that the 'Parent Page' is properly set to the identified position (page).
  4. +
  5. If any part of a content is likely to be reused under different contexts and hence in different pages, then abstract such reusable content into a separate page and include it in the various contexts (using the include macro) instead of duplicating the content across contexts.
  6. +
  7. Since all pages should have a relevant Navigation Menu when composing a page divide the page into two columns (under a section) with the Menus going into the first column and the page content going into the second column.  Use the following as a template for all pages. +
    +
    {section:border=false}
    +{column:width=15%}
    +{include: <enter the name an existing Menu page from the 'Menus' category of pages>}
    +{column}
    +{column:width=85%}
    +<<enter page content here>>
    +{column}
    +{section}
    +
    +
  8. +
  9. If there are going to be a set of pages that are likely to be created with the same specific set of menus then a easy way of creating them as per the above template is to go and first create a template page at http://cwiki.apache.org/confluence/pages/templates/listpagetemplates.action?key=TUSCANY using the above snippet with approprieate Menu pages substituted.  Subsequently when create a page go to http://cwiki.apache.org/confluence/pages/templates/listpagetemplates.action?key=TUSCANYand exercise the "Create page from template" option against the template just created.  This will result in a new page with the appropriate sections and menus and the content can be right away filled in.
  10. +
  11. If a new set of Menu options are to be created, then create a menu page for this under the 'Menus' category.  You can also choose to create a set of menu options reusing the existing Menu pages and 'including' them as required.
  12. +
+ + +

Naming convention

+ + +

How to deploy to convert Cofluence Native to Apache Tuscany website

+ +

We use an autoexport plugin that automatically converts Confluence's native, and dynamically generated content into a static HTML version that gets exported to the Tuscany website which is located at incubator.apache.org/Tuscany.

+ +

+ +

Resources

+ + +
+
+
+
+ + + + + + + + \ No newline at end of file -- cgit v1.2.3