diff --git a/doc/Makefile.am b/doc/Makefile.am
index c1cc5438e..d39d36ddb 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -31,6 +31,7 @@ man_MANS = \
xdg-app-build.1 \
xdg-app-build-finish.1 \
xdg-app-build-export.1 \
+ xdg-app-repo-contents.1 \
$(NULL)
xml_files = $(man_MANS:.1=.xml)
diff --git a/doc/xdg-app-build-export.xml b/doc/xdg-app-build-export.xml
index 10d49061d..0dec659df 100644
--- a/doc/xdg-app-build-export.xml
+++ b/doc/xdg-app-build-export.xml
@@ -66,9 +66,8 @@
in the commit, anything else is ignored.
- After this command, LOCATION can be
- used as the repository location for xdg-app add-repo, either by
- exporting it over http, or directly with a file: url.
+ The repo-update command should be used to update repository
+ metadata whenever application builds are added to a repository.
@@ -150,6 +149,7 @@ Content Bytes Written: 305
xdg-app-build-init1,
xdg-app-build1,
xdg-app-build-finish1
+ xdg-app-repo-update1
diff --git a/doc/xdg-app-repo-update.xml b/doc/xdg-app-repo-update.xml
new file mode 100644
index 000000000..77da7af60
--- /dev/null
+++ b/doc/xdg-app-repo-update.xml
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+ xdg-app repo-update
+ xdg-app
+
+
+
+ Developer
+ Alexander
+ Larsson
+ alexl@redhat.com
+
+
+
+
+
+ xdg-app repo-update
+ 1
+
+
+
+ xdg-app-repo-update
+ Create a repository from a build directory
+
+
+
+
+ xdg-app repo-update
+ OPTION
+ LOCATION
+
+
+
+
+ Description
+
+
+ Updates repository metadata for the repository at
+ LOCATION. This command generates
+ an OSTree summary file that lists the contents of the repository.
+ The summary is used by xdg-app repo-contents and other commands
+ to display the contents of remote repositories.
+
+
+ After this command, LOCATION can be
+ used as the repository location for xdg-app add-repo, either by
+ exporting it over http, or directly with a file: url.
+
+
+
+
+ Options
+
+ The following options are understood:
+
+
+
+
+
+
+
+ Show help options and exit.
+
+
+
+
+
+
+
+
+ Print debug information during command processing.
+
+
+
+
+
+
+
+ Print version information and exit.
+
+
+
+
+
+
+ See also
+
+
+ ostree1,
+ xdg-app1,
+ xdg-app-repo-contents1,
+ xdg-app-build-export1
+
+
+
+
+
diff --git a/doc/xdg-app.xml b/doc/xdg-app.xml
index c9350fd4f..0ac35ae9b 100644
--- a/doc/xdg-app.xml
+++ b/doc/xdg-app.xml
@@ -245,6 +245,13 @@
Create a repository from a build directory.
+
+ xdg-app-repo-contents1
+
+
+ Update repository metadata.
+
+