summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml7
-rw-r--r--filters/strip-solutions.lua2
-rw-r--r--flake.nix2
-rw-r--r--index.md12
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 @@
1# GitLab Continuous Integration and Deployment configuration for the Markdown
2# course website example, using Nix for the build and publishing through GitLab
3# Pages.
4#
5# Author: Pacien TRAN-GIRARD
6# Licence: CC BY-NC 4.0
7
1stages: 8stages:
2 - build 9 - build
3 - publish 10 - 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 @@
3-- Useful to generate public and private handouts from the same source. 3-- Useful to generate public and private handouts from the same source.
4-- 4--
5-- Author: Pacien TRAN-GIRARD 5-- Author: Pacien TRAN-GIRARD
6-- Licence: EUPL-1.2 6-- Licence: CC BY-NC 4.0
7 7
8strip_solutions = os.getenv('STRIP_SOLUTIONS') 8strip_solutions = os.getenv('STRIP_SOLUTIONS')
9 9
diff --git a/flake.nix b/flake.nix
index 034d857..fb63880 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,7 +1,7 @@
1# Build environment and recipe for the Markdown course website example. 1# Build environment and recipe for the Markdown course website example.
2# 2#
3# Author: Pacien TRAN-GIRARD 3# Author: Pacien TRAN-GIRARD
4# Licence: EUPL-1.2 4# Licence: CC BY-NC 4.0
5 5
6{ 6{
7 inputs = { 7 inputs = {
diff --git a/index.md b/index.md
index 14a5633..83ccdbd 100644
--- a/index.md
+++ b/index.md
@@ -68,3 +68,15 @@ Pages.
68- [Quarto (reference)](https://quarto.org/docs/reference/index.html) 68- [Quarto (reference)](https://quarto.org/docs/reference/index.html)
69- [Nix guides](https://nixos.org/learn.html) 69- [Nix guides](https://nixos.org/learn.html)
70- [GitLab CI configuration reference](https://docs.gitlab.com/ee/ci/yaml/) 70- [GitLab CI configuration reference](https://docs.gitlab.com/ee/ci/yaml/)
71
72
73## Licence
74
75The code of this example is licensed under the [CC BY-NC 4.0].
76
77It can be used as a template for course websites, without requiring the
78publication of the added original content (which can may contain exercise
79solutions not meant to be shared publicly).
80
81[CC BY-NC 4.0]: https://creativecommons.org/licenses/by-nc/4.0/
82