From 8f5ef823beff812889af4cb6bd79242581eb6c38 Mon Sep 17 00:00:00 2001 From: Matthew Setter Date: Fri, 28 Sep 2018 15:09:35 +0200 Subject: [PATCH] Add an Antora playbook file It's come up discussion around the migration to Antora, that the client docs should be able to be built standalone, and not just as a part of the larger documentation set. By adding an Antora Playbook file (site.yml), the client docs can be built both standalone and as part of the larger ownCloud documentation site. See https://github.com/owncloud/client/pull/6785#issuecomment-425391756 --- docs/antora.yml | 2 +- site.yml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 site.yml diff --git a/docs/antora.yml b/docs/antora.yml index 488971c3c0..5fadcdc5ab 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,6 +1,6 @@ name: client title: Desktop Client version: master - +start_page: ROOT:introduction.adoc nav: - modules/ROOT/nav.adoc diff --git a/site.yml b/site.yml new file mode 100644 index 0000000000..d967a3b403 --- /dev/null +++ b/site.yml @@ -0,0 +1,17 @@ +site: + title: ownCloud Client Documentation + +content: + sources: + - url: . + branches: [master-antora] + start_path: docs/ + +ui: + bundle: + url: https://github.com/owncloud/docs-ui/releases/download/1.0.0/ui-bundle.zip + output_dir: assets + +output: + clean: true + dir: public