From 354f741e767e8b5845ccfe78b16588adde887c6d Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 1 Dec 2022 16:48:25 +0100 Subject: use less restrictive licence This is necessary to allow the solutions to be kept private. --- .gitlab-ci.yml | 7 +++++++ filters/strip-solutions.lua | 2 +- flake.nix | 2 +- index.md | 12 ++++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 639a128..485f445 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,10 @@ +# GitLab Continuous Integration and Deployment configuration for the Markdown +# course website example, using Nix for the build and publishing through GitLab +# Pages. +# +# Author: Pacien TRAN-GIRARD +# Licence: CC BY-NC 4.0 + stages: - build - publish diff --git a/filters/strip-solutions.lua b/filters/strip-solutions.lua index 2bba42f..24221d4 100644 --- a/filters/strip-solutions.lua +++ b/filters/strip-solutions.lua @@ -3,7 +3,7 @@ -- Useful to generate public and private handouts from the same source. -- -- Author: Pacien TRAN-GIRARD --- Licence: EUPL-1.2 +-- Licence: CC BY-NC 4.0 strip_solutions = os.getenv('STRIP_SOLUTIONS') diff --git a/flake.nix b/flake.nix index 034d857..fb63880 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ # Build environment and recipe for the Markdown course website example. # # Author: Pacien TRAN-GIRARD -# Licence: EUPL-1.2 +# Licence: CC BY-NC 4.0 { inputs = { diff --git a/index.md b/index.md index 14a5633..83ccdbd 100644 --- a/index.md +++ b/index.md @@ -68,3 +68,15 @@ Pages. - [Quarto (reference)](https://quarto.org/docs/reference/index.html) - [Nix guides](https://nixos.org/learn.html) - [GitLab CI configuration reference](https://docs.gitlab.com/ee/ci/yaml/) + + +## Licence + +The code of this example is licensed under the [CC BY-NC 4.0]. + +It can be used as a template for course websites, without requiring the +publication of the added original content (which can may contain exercise +solutions not meant to be shared publicly). + +[CC BY-NC 4.0]: https://creativecommons.org/licenses/by-nc/4.0/ + -- cgit v1.2.3