From 8a3b476e19c531ec352366bb92fce8c44fbbdb07 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Thu, 4 Aug 2022 00:01:03 +0200 Subject: [PATCH] add: use submodule to provide learn4 theme --- .gitignore | 1 - .gitmodules | 3 +++ README.md | 7 +++++++ themes/learn4 | 1 + 4 files changed, 11 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/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: 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