diff options
author | Tim Jenssen <tim.jenssen@digia.com> | 2013-09-11 10:05:00 +0200 |
---|---|---|
committer | Niels Weber <niels.weber@digia.com> | 2013-09-11 10:41:10 +0200 |
commit | 36d89808691904fa46ad06e082cb18fe8aa196bd (patch) | |
tree | bb97f3e1a8da1b1a38c56940091ade5c3525a6a6 /doc/installerfw.qdoc | |
parent | d48ffdd2982999873d9a2bdbe0adbd005659d10b (diff) |
improve RepositoryUpdate doc
- make clear that there is only one RepositoryUpdate section
Change-Id: Ia2c2ea8d97f706c6318747745a327e4c07c9bbeb
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'doc/installerfw.qdoc')
-rw-r--r-- | doc/installerfw.qdoc | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc index baf6f1261..14aadc19c 100644 --- a/doc/installerfw.qdoc +++ b/doc/installerfw.qdoc @@ -1007,34 +1007,35 @@ Updates.xml file in the current repository. You can add, replace, or remove repositories. + \code + <RepositoryUpdate> + <Repository action="..." OPTIONS /> + <Repository action="..." OPTIONS /> + </RepositoryUpdate> + \endcode + \section2 Adding Repositories - To update a repository, add the following code to Updates.xml: + To update a repository, add the following code to the RepositoryUpdate section: \code - <RepositoryUpdate> - <Repository action="add" url="http://www.example.com/repository" name="user" password="password" + <Repository action="add" url="http://www.example.com/repository" name="user" password="password" displayname="Example Repository" /> - </RepositoryUpdate> \endcode \section2 Removing Repositories - To remove a repository, add the following code to Updates.xml: + To remove a repository, add the following code to the RepositoryUpdate section: \code - <RepositoryUpdate> - <Repository action="remove" url="http://www.example.com/repository" /> - </RepositoryUpdate> + <Repository action="remove" url="http://www.example.com/repository" /> \endcode \section2 Replacing repositories - To replace one repository with another, add the following code to Updates.xml: + To replace one repository with another, add the following code to the RepositoryUpdate section: \code - <RepositoryUpdate> - <Repository action="replace" oldurl="http://www.example.com/repository" - newurl="http://www.example.com/newrepository" name="user" password="password" - displayname="New Example Repository" /> - </RepositoryUpdate> + <Repository action="replace" oldurl="http://www.example.com/repository" + newurl="http://www.example.com/newrepository" name="user" password="password" + displayname="New Example Repository" /> \endcode */ |