Skip to content

Configuration

Course configuration and metadata is stored in the it4kt.yml file in the root of the course.

Example configuration with description of keys

course:
  title: Course name
  acronym: CN         # Used only by Bootstrap theme

folders:              # Folders with pages
  - path: lectures    # Path of the folders
    title: Lectures   # Title to be displayed in the menu
  - path: labs
    title: Labs
    type: scenario    # Type of pages in the folder
  - path: assignments
    title: Assignments

links:                # External links displayed in the end of the menu
  - title: Moodle
    url: https://moodle.fei.tuke.sk

published-weeks: 5    # Weeks that should be visible for students

theme:
  name: light         # Name of the theme
  footnote: Some text # Text to display in the footer of the pages

highlighting:
  extra-languages:    # List of addition languages for syntax highlighting
    - haskell         # Any language supported by highlight.js can be added
    - kotlin          # See https://highlightjs.org/

deploy:
  service: http://it4kt.cnl.sk/uploads/  # Deployment service URL
  code: example-course                   # Code of the course
  lecturer-credentials: 'login:password' # Lecturer login and password

# Analytics HTML code to be included in production page header
analytics-code: '<script defer data-domain="xyz.kurzy.kpi.fei.tuke.sk" src="https://plausible.kpi.fei.tuke.sk/js/script.js"></script>'