Skip to content

Getting Started

To setup development environment for contributing to IT4KT Builder you need to perform these steps (commands may be different depending on your operating system):

  1. Create virtual environment, activate it and install dependencies of the it4kt-builder:

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
    
  2. Build themes using make themes or directly executing commands specified by the Makefile for target themes.

To run tests, just use pytest command in the root of the project.

Architecture decisions

Important decisions and concepts of the IT4KT Builder are documented using Architecture Decision Records (ADR). The concept of ADR is described in the article Documenting Architecture Decisions by Michael Nygard.

Accepted ADRs

Deprecated and superseded ADRs

Themes

Structure of the generated HTML

Generated HTML uses the BEM naming convention with two dashes for modifiers. The main blocks are the following:

  • section — main element of the page structure,
  • step — step of the scenario
  • special blocks inside the content
    • task
    • lecturer — note visible only by lecturer
    • admonition — notes and warnings for students

Structure of the blocks and examples are in the reference HTML page.