From 1769ded4aae7d75ad4f9ca48bc8380ba4d1f8517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20HANNEBERT?= Date: Sat, 23 Apr 2022 12:00:41 +0200 Subject: [PATCH 1/2] add: use submodule to provide learn4 theme --- .gitignore | 1 - .gitmodules | 3 +++ themes/learn4 | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 .gitignore create mode 100644 .gitmodules create mode 160000 themes/learn4 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 82bff889..b4839ace --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ !/Dockerfile !/docker-compose.yml !/dev/plugins -/themes/learn4 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..7f2f3d7d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/learn4"] + path = themes/learn4 + url = https://github.com/getgrav/grav-theme-learn4.git diff --git a/themes/learn4 b/themes/learn4 new file mode 160000 index 00000000..704a233b --- /dev/null +++ b/themes/learn4 @@ -0,0 +1 @@ +Subproject commit 704a233bdba73dcfb197f3d3fcdd9e89778445c3 From 6dc704c6f2f55479b4cba968c24367aaf3cfc4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20HANNEBERT?= Date: Sat, 23 Apr 2022 12:05:04 +0200 Subject: [PATCH 2/2] chg: README add how to clone also the submodule --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 23d454b6..d6a6731f 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,13 @@ Please report [issues on YunoHost bugtracker](https://github.com/YunoHost/issues # Contributing +This repo use a **submodule** to provide the theme. So when you clone use: + +```shell +git clone --recursive https://github.com/YunoHost/doc.git +``` + + You can refer to the page on [writing documentation](https://yunohost.org/write_documentation). If you know docker, you can run: