From 459629ddaf6752a0e5027c58f0c7075e4df6cd58 Mon Sep 17 00:00:00 2001 From: timurgordon Date: Wed, 3 Apr 2024 10:16:06 -0400 Subject: [PATCH] add pull param to script --- playbook/1_define.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/playbook/1_define.md b/playbook/1_define.md index e25e4c206..0629a51d0 100644 --- a/playbook/1_define.md +++ b/playbook/1_define.md @@ -8,7 +8,9 @@ We first define our website and add our zola template to it. title:'Threefold Development' description: "ThreeFold is the world’s first system enabling anyone to become a cloud and internet service provider." -!!website.template_add url:'https://github.com/freeflowuniverse/webcomponents/tree/main/zola' +!!website.template_add + url:'https://github.com/freeflowuniverse/webcomponents/tree/main/zola' + pull: true ``` Then we add the [doctrees]() we will use for the website. When we add a doctree, all [collections]() from the doctree are imported and available to be used in building our website. @@ -18,9 +20,15 @@ We use the following doctrees in our website: - `threefoldfoundation/www_threefold_io` for site content for pages. ```js // add collections to the website using their github url -!!website.doctree_add url:'https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/content' +!!website.doctree_add + url:'https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/content' + branch: development_zola + pull: true -!!website.doctree_add url:'https://github.com/threefoldfoundation/threefold_data/tree/development_zola/content' + +!!website.doctree_add + url:'https://github.com/threefoldfoundation/threefold_data/tree/development_zola/content' + pull: true ``` _Note that you can also use a specific branch for your doctrees_ \ No newline at end of file