diff options
author | pacien | 2022-12-01 15:56:01 +0100 |
---|---|---|
committer | pacien | 2022-12-01 15:56:01 +0100 |
commit | 8e67a740fc8346acd2b0e0d6b483698e5300281d (patch) | |
tree | 965a68a217dca3d6615909e85f6e28171c882a3d | |
parent | b7b67a6ec52a31ac75a2b49b63e00c9bbb48e323 (diff) | |
download | markdown-course-website-8e67a740fc8346acd2b0e0d6b483698e5300281d.tar.gz |
update readme
-rw-r--r-- | index.md | 57 |
1 files changed, 48 insertions, 9 deletions
@@ -4,21 +4,60 @@ title: "About" | |||
4 | 4 | ||
5 | # Markdown course website example / template | 5 | # Markdown course website example / template |
6 | 6 | ||
7 | This is an example of course website, divided into two parts: lectures and | 7 | This is an example of course website written in Markdown. |
8 | exercises sheets. | ||
9 | 8 | ||
10 | Everything is generated from Markdown source files into static files which can | 9 | Inputs: |
11 | then be served through by any web server. | ||
12 | 10 | ||
13 | For convenience, the compilation and deployment can be automated through GitLab | 11 | * Markdown files for both the slides and exercises sheets, all pushed in a |
14 | CI or equivalent, which allows automatic publication of the latest version | 12 | private git repository. |
15 | after pushing the sources to a version-controlled repository for example. | ||
16 | 13 | ||
14 | Outputs: | ||
17 | 15 | ||
18 | ## Resources and references | 16 | * A public website with flattened slides and exercises sheets without the |
17 | solutions, for the students. | ||
18 | |||
19 | * A private website with the solutions to the exercises, for the teaching | ||
20 | staff. | ||
21 | |||
22 | * PDF Beamer presentations for the lectures. | ||
23 | |||
24 | * PDF exercise sheets, with and without solutions, for printing for work | ||
25 | sessions without a computer. | ||
26 | |||
27 | |||
28 | ## Links | ||
29 | |||
30 | - Deployed site: | ||
31 | <https://pacien.gitpages.univ-eiffel.fr/markdown-course-website> | ||
32 | |||
33 | - Source repository: | ||
34 | <https://gitlab.univ-eiffel.fr/pacien/markdown-course-website> | ||
35 | |||
36 | |||
37 | ## Behind the scene | ||
38 | |||
39 | Pandoc is the engine used to process and compile the Markdown source files into | ||
40 | HTML and PDF through LaTeX. This engine allows easy transformation of the | ||
41 | Abstract Syntax Tree of the processed documents, which is used to strip the | ||
42 | solutions from the public exercises sheets for example. | ||
43 | |||
44 | Quarto is used to generate the website with page navigation and search. Its | ||
45 | more advanced features such as code execution aren't used here. | ||
46 | |||
47 | Nix is used to manage the build process and its dependencies. Everything is run | ||
48 | within a controlled sandbox, which can be run locally or remotely in a | ||
49 | reproducible manner. | ||
50 | |||
51 | The GitLab platform is used to host the git source repository. The website and | ||
52 | PDFs are automatically built for each push through GitLab CI. The website in | ||
53 | particular is hosted and published, and updated automatically using GitLab | ||
54 | Pages. | ||
55 | |||
56 | |||
57 | ## References | ||
19 | 58 | ||
20 | - [Markdown syntax](https://daringfireball.net/projects/markdown/syntax) | 59 | - [Markdown syntax](https://daringfireball.net/projects/markdown/syntax) |
21 | - [Quarto (reference)](https://quarto.org/docs/reference/index.html) | ||
22 | - [Pandoc (manual)](https://pandoc.org/MANUAL.html) | 60 | - [Pandoc (manual)](https://pandoc.org/MANUAL.html) |
61 | - [Quarto (reference)](https://quarto.org/docs/reference/index.html) | ||
23 | - [Nix guides](https://nixos.org/learn.html) | 62 | - [Nix guides](https://nixos.org/learn.html) |
24 | - [GitLab CI configuration reference](https://docs.gitlab.com/ee/ci/yaml/) | 63 | - [GitLab CI configuration reference](https://docs.gitlab.com/ee/ci/yaml/) |