Configuration File
This page covers the basic configuration of a course using the course-pages.yml file.
For a complete description, see the documentation on GitLab: course-pages.yml(5).
Configuration Options
Course Code
The main course code. This code is displayed in the page header and is used in the website URL (e.g., https://courses.fit.cvut.cz/BI-MLO/).
course:
code: BI-MLOCourse Name
The full name of the course in the language specified in the configuration option language. This name appears in the page header.
course:
name: Mathematical LogicLanguage
Specifies the language of the pages and should match the language in which the content is written.
You can choose: cs (default) or en.
language: csGitLab Repository
The path to the course repository at https://gitlab.fit.cvut.cz/, where the source files for the generated website are located. For the course BI-MLO, which has its source files stored at https://gitlab.fit.cvut.cz/BI-MLO/bi-mlo, the path would look like this:
repository:
gitlabPath: /BI-MLO/bi-mloHiding Items in Navigation
Pages can be hidden by defining the navigation.hiddenFiles attribute.
navigation:
hiddenFiles:
- images/ 1
- others/*.txt 2
- "*.jpg" 3- Hides the entire
imagesdirectory. - Hides all
.txtfiles in theothersdirectory. - Hides all
.jpgfiles.
Required parameters
The following parameters in course-pages.yml are required:
course.codecourse.namerepository.gitlabPathorrepository.webUrl(described in the documentation)
Example of the course-pages.yml file:
course:
code: BI-MLO
name: Mathematical Logic
language: cs
repository:
gitlabPath: /BI-MLO/bi-mlo