Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:migrate-documentation [2010/11/12 20:08] – s/Migrate/Set up documentation mike | documentation:migrate-documentation [2026/10/07 22:30] (current) – Delete obsolete page kevinbowen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTRANS~~ | ||
| - | ====== Set up documentation ====== | ||
| - | |||
| - | You can follow instructions bellow either to migrate existing documentation from your project, or to create a new documentation. In both cases you need to create a branch for your documentation inside the // | ||
| - | |||
| - | ===== Xfce4-docs branch ===== | ||
| - | |||
| - | - Clone the repository with write access. | ||
| - | * ''< | ||
| - | * ''< | ||
| - | - Create a branch for your project. | ||
| - | * ''< | ||
| - | - Copy your documentation inside this new branch. | ||
| - | * ''< | ||
| - | - Push the new branch. | ||
| - | * ''< | ||
| - | * ''< | ||
| - | * ''< | ||
| - | |||
| - | ===== Update your project ===== | ||
| - | |||
| - | - Remove entirely the documentation from your project (e.g. '' | ||
| - | - Add a submodule from the xfce4-docs read-only repository. | ||
| - | * ''< | ||
| - | - Update the '' | ||
| - | * Snippet: \\ '' | ||
| - | - Push the changes. | ||
| - | * ''< | ||
| - | * ''< | ||
| - | * ''< | ||
| - | |||
| - | By now when a user clones the repository, the content of the submodule will automatically be initialized by running the '' | ||
| - | |||
| - | ===== Keep documentation in sync ===== | ||
| - | |||
| - | By including a git submodule inside a project, it is pointing to a specific reference, and you need to keep this reference up to date to point to the latest documentation. You should remember doing at least before a new release. | ||
| - | |||
| - | - Get inside your project and make sure the submodule is initialized. | ||
| - | * '' | ||
| - | * ''< | ||
| - | - Get inside the submodule and pull the latest revision. | ||
| - | * '' | ||
| - | * '' | ||
| - | - You can check that the reference changed now. | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | - Commit the new reference. | ||
| - | * '' | ||
| - | * ''< | ||
| - | * '' | ||
| - | |||
| - | For more information about git submodule you can check the [[http:// | ||