72 | | == Life-cycle of the default wiki pages |
| 72 | == Life-cycle of the default wiki pages #lifecycle |
| 73 | |
| 74 | In the following, we call "0.X" the current stable version. |
| 75 | |
| 76 | === Status quo |
| 77 | |
| 78 | The TracGuide pages present at the toplevel of the project correspond to the current stable version 0.X. |
| 79 | |
| 80 | Their content is usually matching the one which has been shipped in the corresponding release, except for: |
| 81 | - a banner mentioning the current version and linking to the page corresponding to the //previous// release (e.g. for TracWiki: **Note: this page documents the 0.12 version of Trac, see [[0.11/TracWiki]] if you need the previous version**) |
| 82 | - the edits users have made in the meantime, which will be reviewed and integrated in the next minor and major releases (see [#sync] below) |
| 83 | |
| 84 | So a "backup" of the toplevel pages for the previous major release is present in the wiki page hierarchy below `0.(X-1)/`. |
| 85 | |
| 86 | Likewise, upcoming changes are prepared below the `0.(X+1)/` page hierarchy (dev pages). Pages are created there as needed, when a new feature or change in behavior needs to be documented. |
| 87 | |
| 88 | |
75 | | - Prepare documentation below !wiki:0.X/<page> by copying current TracGuide pages wiki:<page> |
76 | | - When the beta testing period begins: |
77 | | - rename the default pages to !wiki:0.X-1/<page>, taking care of replacing dynamic content in TracAdmin, TracIni, TracSyntaxColoring (starting with 0.12) and WikiMacros by the output generated by Trac 0.X-1 |
78 | | - rename the !wiki:0.X/<page> pages to wiki:<page> |
| 91 | When the time of a new major `0.(X+1)` release is getting near (usually at the time of the beta), the toplevel pages are copied to X/... as a backup. |
| 92 | Some care should be taken about replacing the dynamic content found in TracAdmin, TracIni, TracSyntaxColoring (starting with 0.12) and WikiMacros by the output generated by Trac `0.X`. |