Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
Document Properties Marker
overridefalse
Short Descriptionprojectdoc introduces structure on a Confluence space. It adds the concept of homepages for document types. 
Doctypetopichide
Nameprojectdoc Spaces 
Parent
Parent Property
property-nameName
 
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
render-list-as-comma-separated-valuestrue
namesAuthor, Template Author
propertyAudience
 
Level of Experience
Name List
doctypeexperience-level
render-no-hits-as-blanktrue
propertyLevel of Experience
 
Expected Duration10 minutes 
Subject
Name List
doctypesubject
propertySubject
 
Categories
Name List
doctypecategory
propertyCategories
 
Tags
Tag List
namesIntro, Space
propertyTags
 
Iteration
Iteration
valuefilled
hide
Type
Name List
doctypetopic-type
render-no-hits-as-blanktrue
propertyType
 
Sort Key000150hide
Section
show-titlefalse
titleDescription

projectdoc introduces structure on a Confluence space. It adds the concept of homepages for document types. These structures help to organize information as a team more effectively.

We give some detailed information here on how to use spaces for team collaboration with projectdoc.

For a shorter overview refer to Macro Structures as part of the projectdoc Introduction.

Column
Panel
bgColorlightyellow
titleContents

Table of Contents
maxLevel2
indent10px
excludeDescription|Resources|projectdoc Spaces
stylenone
 

...

Section
titleSpace Properties
Section
titlePurpose

projectdoc allows to define properties that are visible within spaces. This is useful if you want to refer to the value of a property from any page within a space. A typical use case is that you define a property to store the version of a product you are documenting in that space. Whenever you need to refer to the current version, you use a macro to fetch this information.

Space properties also allow template authors to determine the elements to be displayed. If for instance a space defines a property to define the main programming language, the template author may be able to render links to resources for this language.

Note Box

Some blueprint add-ons allow you to import metadata from artifacts of your project. You may read POM files, buildmetadata files, or Maven Plugin Descriptors. This information is made available by space properties.

Space properties are useful to organize information within a space. It also allows to control the behaviour of macros inside the space uniformly.

Section
titleImplementation

Space properties are stored as properties on the space homepage.

You may also reference additional pages whose properties should be used as space properties by the use of the space properties extension property.

Section
titleHomepages for Doctypes

Homepages for document types add an additional feature to the organization tools in your Confluence wiki.

Image Modified

Section
titlePurpose

If you are using Confluence you are probably already familiar with index pages. If you create a new page with a blueprint, the new page is tagged with a label which is bound to a page that lists all documents of this type.

Section
Column
width50%

Screenshot showing references to index and homepages 

Column
width30%


The screenshot shows a link to the Topic homepage and three links to index pages.

Index pages start with "All ..." in the title per convention.

Column
width20%
 

Homepages are similar. If you create a new page, you may decide to send this page to its homepage.

Section
Column
width50%

Wizard showing the Default Target checkbox

Column
width30px



The Default Target checkbox will move the new page to the homepage.

If this box is unchecked (the default) the page will be stored as a child to the current page.

Column
width20%
 

Homepages collect the documents of a give type, but in contrast to index pages, they reference only the root documents. This allows you to create hierarchies of documents on the homepage, while the index page still lists all documents in a long list.

Example Box
titleMaven Project Directory Layout

Homepages help to organize your space. If you are a software developer you probably know the concept of a project directory layout. Usually it does not really matter where your place your files as long as they are stored in a well known place. For software developers using Java and Maven it is natural to store these files under src/main/java and the test files at src/test/java. Every type of file has a defined default location. This helps software developers that participate in multiple projects to find the files they are looking for fast and easily. It is a convention that removes the need to configure the development environments manually due to valid defaults.

The same is true for homepages.

Most files simply have to be stored in one location. If you collect meeting minutes or requirements, out-items or stakeholder information, you often want to store them in one place for your project. This is what homepages are about.

Section
titleDoctype Homepages

Per default the blueprint for each doctype defines one homepage.

Homepages are typically created at space creation. Index pages are created on demand.

Most homepages have links to the homepages for the document types used in that space. The links show if there is content on the homepage.

Section
Column
width50%

Column
width30px

The example shows four links. There are no documents stored on the homepages of Tours, FAQs, and Topics. They are rendered with an opacity of 50%.

The team has already added some glossary items. Therefore the link is shown in a highlighted style.

Column
width20%
 

The highlighting features makes it easy for readers to judge on first glance which page has actually documents attached.

Note Box

The link actually checks if a document of this type has already been created. The semantics are to check if any team member has ever invested time to create a document of the given type.

In most cases the simplified version of "there is a document of this kind" will be matching the situation.

Section
titleDelegate Homepages

A homepage is not required to be part of a space. The homepage for a doctype can be delegated to another space.

This is e.g. useful if you want to store all stakeholders for multiple projects in a designated space.

Note Box

The Default Target checkbox reads

Quote External
render-anonymousfalse

Check to store the page to the default location of the current space.

Note that this default location is not required to be part of the current space!

Section
titlePersonally defined Homepages

You may also define your personal homepage for documents of a given type.

Simply set the space property named projectdoc.doctype.(doctype).home Doctype Home to point to your selected homepage. Whenever you create a new page of that type – and select to send this page to its homepage by checking the Default Location box on the blueprint wizard – that page is stored as a child of the designated homepage.

Example Box

To set the default page for a user's library, add this to the user's homepage:

The space key has the format

Code Block
projectdoc.doctype.XYZ.home

Where XYZ stands for the doctype of the homepage. The identifier of the doctype is found in the doctype's documentation under the key ID.

The value is the key of the space followed by the title of the homepage.

...