Page History
| Panel | ||||
|---|---|---|---|---|
| ||||
|
| Tabsetup | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Div | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| Children Display | ||||
|---|---|---|---|---|
|
SWE HistoryThe SWE History page contains a complete history of the text of the SWE throughout it's history. It contains the actual text for each version of NPR7150.2 as well as a description of what changed between versions. 3.1 Structure of SWE History Pages in SITE ResourcesSee a page from the SWEs in Current Use for a complete picture of the structure. The body of the page consists of two elements:
3.2 Last UseThe Excerpt contains a statement of the last use of the SWE. It is done in an excerpt macro so it is available to the "Children Display" of either the SWEs in Current Use page or the SWEs Retired page. Both of these pages are containers displaying the contents of the child pages beneath them. There are only a few Last Use statements in current use:
Reserved SWEs are those never used in a published version of the SWEHB. They may be used as necessary without fear of causing problems with references. 3.3 Table of SWE TextsThe table below is an example from SWE-003 of a history table.
3.4 Adding SWE History PagesIt will be necessary to add a History page if a new SWE is added and there is no existing History page for it. The easiest way to add a new SWE History page is to:
3.5 Retiring SWEsWhen retiring a SWE, it's history page should be edited appropriately to indicate that it is retired from the SWEHB. The SWE History page for the retired SWE should then be moved from the SWEs in Current Use page to the SWEs Retired page. The easiest way to do this is using the drag and drop feature of the SITE space page tree. When you have moved the page, refresh both containers and make sure the history page has been moved. 3.6 SWE History in a SWE pageIn tab 1 of each SWE there is a section "1.2 History". Below the header is an Expand macro with the title "Click here to view the history of this requirement:". The body of the Expand macro contains an Include-Page macro pointing to the appropriate History page in the SITE space. This will display the history of the SWE without having to exit the SWE page. |
| Div | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
4. User Macros and TemplatesUser Macros are a feature of Confluence. It allows users to build small macros in HTML code (formerly in Wiki Markup) to perform small tasks. In older versions of Confluence, the macros were written in a markup language called Wiki Markup. This contained proprietary commends in Confluence that worked with plugins and other macros to add a lot of functionality to the product. In recent versions of Confluence, warnings have been added to this part of the admin console stating that existing macros in Markup code may, at some point, stop functioning. Users have had several years of grace period to convert their user macros to HTML. The current status of User Macros in SWEHB is as follows:
4.1 Critical User MacrosThe most critical User Macros from a SWEHB perspective are listed below. If Confluence or the associated plugins stop working, there are work-arounds for some of these. 4.1.1 References MacrosSee SWEHBDOC References in SWEHB for details on how references work with Confluence and the Scaffolding and Reporting plugins. Tab 6 of that page describes a method of handling references in the absence of these plugins. It depends on using the Confluence Excerpt-Include Macro with the existing SWEREF pages. See also SWEHBDOC - Replacing Refstable Macros. 4.1.2 TABSETUP MacrosThe "tabsetup" macro is described in several places in the SWEHBDOC. It is implemented in a User Macro written in Wiki Markup language. If it cannot be rewritten in HTML or if the Confluence code cannot support this macro, an alternative to the tab structure will be necessary to preserve the look and feel of the SSWEHB. SWEHBDOC - Eliminating the tabsetup Macro describes how to implement a tab-like structure using a nested page structure for SWEHB pages and links at the top of each page to mimic the tabs of the current "tabsetup" macro. 4.1.3 Applicable MacrosThe Applicable Macros have evolved over the years. Since there are only a few combinations of Yes and No selections, the easiest way to replace these macros would be a set of images that display the "Yes / No" choices. Using a simple binary numbering system would yield a manageable number of images to embed in SWE pages needing them. 4.1.4 SWEREFN MacroThe purpose of the SWEREFN macro is to take the user to the "Resources" tab on a page. the body of the macro contains the 3 digit number for the SWEREF. The replacement for the macro would be
Users would need to be retrained to go to the Resources tab/page to find the SWEREF number that would get them to a link to open the reference. 4.2 TemplatesTemplates are a Confluence feature that allow for the structuring of pages using the Confluence "live template". This builds variable fields into a page so that the scaffolding and reporting plugins can use these variables. See SWEHBDOC - Templates used in SWEHB for details. |
| Div | ||
|---|---|---|
| ||
5. TermsIn the original SWEHB (space: 7150), there was a "term" macro in use. Terms were defined in a database structure using the reporting and scaffolding plugins. the "term" macro was put into SWEHB pages wherever a term was used. When the user hovered over the term, a Windows "tool-tip" popped up and contained a definition of the term from the term database. After a number of updates to Confluence and the plug-ins, the term macro no longer worked as originally designed. The macro was removed from SWEHB pages in version SWEHBVB and the Terms Database was reduced to a static list of terms. 5.1 Terms DatabaseIn SWEHBVD, Terms Database is a static list of terms defined in a variety of documents referenced in SWEHB. 5.2 List of TermsThe List of Terms lives in the SITE space. In the SWEHBVD space there is a E. Tools, References, and Terms page with a Terms page below it in the pagetree. The Terms page has an Include-Page macro pulling the SITE: List of Terms page into it for display purposes. Any editing of the List of Terms page should be done in the SITE space. |
| Div | ||||||
|---|---|---|---|---|---|---|
| ||||||
6. ToolsThe pages listed below provide details on the tools available in SWEHB. This tab is also the subject of the page SWEHBDOC Editor Tools and Tips.
|
| Div | ||
|---|---|---|
| ||
7. BlogBlog entries are used in the Handbook as a quick method of announcing changes or new content to the Handbook user community. They appear in:
Each Blog posting has a Title, a short description of the change, and an area that can be expanded for more details on the change. Full documentation on Blog posting in SWEHB can be seen in SWEHBDOC Blogs In SWEHB. |
| Div | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
8. Sticky Headers
Sticky headers was implemented in Topics 8.16 and 8.18 of SWEHBVD in June of 2024. It only work properly in tab 1 of a page where the "tabsetup" macro is used to present content in tabs. See SWEHBDOC Sticky Headers for details. |
| Div | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
9. CrosslinkingAll pages in the SWEHB are reviewed and have links pointing to Related SWEs and Supplementary Materials which are listed in the Guidance tabs or Resources tabs. This cross-referencing extends to Activities and provides Bi-directional traceability among the Activities, Requirements, and Supplementary Materials. See the Crosslinking Tab for more details. 9.1 General CrosslinkingThe concept of Crosslinking comes from the application of Bi-directional Traceability. A requirement from NPR 7150.2 is a simple statement of something that must be done in a Software Development Project. When it is enhanced in the Handbook, information is added such as
It is up to the author to identify the crosslinking that is appropriate on a page. This is based on the content. For example, in a SWE page Guidance tab there may be a statement about how a Topic provides a technique that can be used to satisfy the requirement. A link to the Topic page would be included in the text of the tab. It would be appropriate to also have a link in the Topic that points back to the SWE acknowledging that the topic can be used to satisfy the requirement. Additionally, Since all SWEs are a part of one or more Activities, it would be appropriate for the SWE to point to the appropriate Activity. From the point of view of the Activity, the Activity should include the SWE in its list of related SWEs and the Topic in its list of Related SM (Supplementary Materials). To support this concept, each SWE, and Topic has several child pages. For example, SWE-020 - Software Classification would have the following children: 9.2 Page InformationBy reviewing the "Page Information" for a page it is possible to see the incoming and outgoing links for the page this will tell you:
Each of the incoming and outgoing links should appear in one of the "Related" pages to be properly crosslinked. 9.3 Crosslinking in SWEsA SWE page may have links to the following crosslinked pages:
9.3 Crosslinking in Supplementary MaterialsA Topic or SM page may have links to the following crosslinked pages:
9.4 Crosslinking in ActivitiesAn Activity page may have links to the following crosslinked pages:
9.5 Additional Guidance SectionsIn each SWE there is an "Additional Guidance" section in tab 3 (and tab 7). This section contains a Related Links table with Include-page macros pulling in the "Related SWEs" and "Related SM" child pages. In each Topic there is an "Additional Guidance" section in the Resources tab. This section contains a Related Links table with Include-page macros pulling in the "Related SWEs" and "Related SM" child pages.
|
| Div | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
10. 'Excerpt" and "Include" Macro UsageThere are two Confluence Macros that are used extensively in SWEHB. These are the "Excerpt" and "Include-Page" Macros. Some of the usages are described below. 10.1 Excerpt in SWEHB PagesThe excerpt macro is used frequently to mark a selection in a page that can be easily used by other macros. The limitation of Excerpt is that you can have only one Excerpt macro in a page. Excerpt has a single parameter which is a toggle for displaying the Excerpt on the page. In some cases you may not want the Excerpt displayed on it's page, it will be displayed when you use "Excerpt-Include" macro to display the Excerpt on a different page. The "Excerpt-Include" macro takes one parameter - the page from which you get the Excerpt. 10.1.1 Excerpt in a SWE PageThe requirement in a SWE page, tab 1.1, is in an excerpt macro. This facilitates including the requirement in other locations such as:
10.1.2 Excerpt in Other PagesIn non-SWE pages, the excerpt is used to give a thumbnail sketch of the subject matter in a page. The excerpt may then be called up in another macro like a "Children Display" macro with the "Excerpt Display" parameter set to "simple". This will display a list of pages, each with their excerpt displayed in a bullet format. 10.2 Excerpt-Include in PagesEvery topic page has an excerpt. The excerpt is displayed in the D. Topics page next to the page link that is it taken from. This helps users understand what the topic is about. Notice that each topic page link has a short description next to it. This description comes from the Excerpt in the topic page. For example,
The link to 8.30 was created using the "[8.30 - Fli"command and then the correct topic / version was selected. In this case I am using SWEHBVD. Next I initiate an "Excerpt-Include" command starting with "{exc" and select Excerpt Include from the dropdown menu. When it asked me for the page to get the Excerpt from, I paste in the title for topic 8.30. Then I can view the preview the excerpt to be sure that there is one. 10.3 Include Page in Various SWEHB PagesWhen there is a significant amount of content (usually a paragraph or more) that must be placed in multiple pages, the Include-Page macro is the best way to manage this. The content is placed in its own page and then can be "included" in another page using the "Include-Page macro. Open this link in a new page to see all the places where include is used in SWEHB pages. For example, there is an Include-Page macro at the top of every page in the handbook to pull in content from the Page Top Message for the page. |
| Div | ||
|---|---|---|
| ||
9. BlogBlog entries are used in the Handbook as a quick method of announcing changes or new content to the Handbook user community. They appear in:
Each Blog posting has a Title, a short description of the change, and an area that can be expanded for more details on the change. Full documentation on Blog posting in SWEHB can be seen in SWEHBDOC Blogs In SWEHB. |
| Div | ||||
|---|---|---|---|---|
| ||||
| Excerpt Include | SWEHBDOC Sticky Headers | SWEHBDOC Sticky Headers | ||
| nopanel | true | |||
| Div | ||||
| ||||
| Panel | ||||
| ||||
| Related Links | ||||
| Include Page | SWEHBVD:SWE-121 - Related SWEs | SWEHBVD:SWE-121 - Related SWEs | ||
| Include Page | SWEHBVD:SWE-121 - Related SM | SWEHBVD:SWE-121 - Related SM | ||
| Div | ||||
| ||||
12. Include and Excerpt Macro UsageThere are two Confluence Macros that are used extensively in SWEHB. These are the Include-Page and Excerpt Macros. Some of the usages are described below. Excerpt has a single parameter which is a toggle for displaying the Excerpt on the page. In some cases you may not want the Excerpt displayed on it's page, it will be displayed when you use "Excerpt-Include" macro to display the Excerpt on a different page. The "Excerpt-Include" macro takes one parameter - the page from which you get the Excerpt. 12.1 Excerpt in SWEHB PagesThe excerpt macro is used frequently to mark a selection in a page that can be easily used by other macros. The limitation of Excerpt is that you can have only one Excerpt macro in a page. 12.1.1 Excerpt in a SWE PageThe requirement in a SWE page, tab 1.1, is in an excerpt macro. This facilitates including the requirement in other locations such as:
12.1.2 Excerpt in Other PagesIn non-SWE pages, the excerpt is used to give a thumbnail sketch of the subject matter in a page. The excerpt may then be called up in another macro like a "Children Display" macro with the "Excerpt Display" parameter set to "simple". This will display a list of pages, each with their excerpt displayed in a bullet format. 12.2 Include Page in Various SWEHB Pages12.3 Excerpt-Include in Pages |



