Every page, grouped by feature.
Getting started
- Tutorial Get started with KB4IT
Install KB4IT, create a knowledge base, write a document and open your first website. - Explanation How KB4IT works
Files in, website out. What KB4IT does with your documents and why rebuilds are fast. - Reference Frequently asked questions
Short answers to the questions people ask most about KB4IT.
Installation
- How-to guide Install KB4IT
Install KB4IT on Linux, macOS or Windows with uv, pipx, pip, a Linux package or a container, upgrade it, remove it, or run it from a clone.
Writing
- Explanation How properties become navigation
Every property you use becomes a page, and every value becomes a list of the documents that share it. - How-to guide Write a document
Write a document with properties, a title, sections, links to other documents, notes, code, diagrams, formulas, tables and images. - How-to guide Write a document in the editor
Turn on the Add page, write a new document or edit an existing one in its editor, use your own skeletons and save the file into the source folder. - How-to guide Write with an AI assistant
Give an AI assistant the kb4itdoc skill so the techdoc documents it writes have the right properties, sections and quality. - How-to guide Describe a person with a profile
Write a profile so the name in Author leads readers to the person's role, team and contact details. - How-to guide Make code, tables and notes easier to read
Copy code, fold long blocks, search, sort and scroll tables, write author tabs and collapsible notes. - Reference Document format
The rules a source document must follow, the date formats KB4IT reads and the reasons a document is rejected. - Reference Diagram and formula gallery
Examples of diagrams and formulas, each with the Markdown you write and the result readers see. - How-to guide Troubleshooting
What to do when a document is missing, a link is broken, a theme is refused or the build stops. - Reference Frequently asked questions
Short answers to the questions people ask most about KB4IT. - How-to guide Tips
Small things that make writing and building with KB4IT easier.
Building
- Explanation How KB4IT works
Files in, website out. What KB4IT does with your documents and why rebuilds are fast. - How-to guide Build and rebuild a website
Build a website, rebuild only what changed, force a full rebuild, check documents and read the build log. - How-to guide Preview while you write
See your changes in the browser while you write, with kb4it serve. - How-to guide Work with your knowledge bases from the terminal
Build, search and explore your knowledge bases from the shell, with short project ids. - How-to guide Run your own code during a build
Run your own Python code at fixed points of a build, without writing a theme. - Reference Command line
Every kb4it command and option, and what the exit status means. - Reference Log codes
Every error and warning code KB4IT writes to its log, what it means and what to do. - How-to guide Troubleshooting
What to do when a document is missing, a link is broken, a theme is refused or the build stops. - How-to guide Tips
Small things that make writing and building with KB4IT easier.
Publishing
- How-to guide Publish on GitHub Pages
Keep the knowledge base in a GitHub repository and publish it on GitHub Pages on every push. - How-to guide Publish on any web server
Share the website by copying one folder to a web server, a file share or a laptop. - Reference GitHub Action
The inputs and outputs of the KB4IT GitHub Action, which builds a site in a GitHub workflow. - Reference Frequently asked questions
Short answers to the questions people ask most about KB4IT.
Themes
- Explanation Themes
What a theme is, the four themes that come with KB4IT and how to pick one. - Reference Screenshots
Screenshots of the four themes and the terminal interface, taken from the sample apps of this release. - Explanation Theme internals
How KB4IT runs a theme, what stays internal, and how to move a theme from Builder or DocumentTheme to kb4it.theme. - How-to guide Change one template of a theme
Change one template of a theme, or add your own CSS and scripts, without copying the whole theme. - How-to guide Write a theme
Write your own theme with kb4it.theme: start from a starter, switch on features, fill a few hooks and write your pages. - Reference techdoc
The techdoc theme for team knowledge bases, the properties it reacts to and its settings. - Reference blog
The blog theme, how to write a post with an excerpt and the settings it reads. - Reference bookshelf
The bookshelf theme for study notes organised as books, parts and chapters, with reading progress. - Reference apphelp
The apphelp theme for application help sites, its page properties, help ids and settings. - Reference Log codes
Every error and warning code KB4IT writes to its log, what it means and what to do. - Reference Theme API reference
Every hook, option and feature of kb4it.theme, the public theme API, generated from the KB4IT code. - Reference Theme hooks of the legacy API
The theme API before kb4it.theme (Builder, DocumentTheme and the kits), deprecated, generated from the KB4IT code. - How-to guide Troubleshooting
What to do when a document is missing, a link is broken, a theme is refused or the build stops.
Terminal interface
- How-to guide Use the terminal interface
Create, build, explore and preview your knowledge bases from a full-screen terminal interface. - How-to guide Tips
Small things that make writing and building with KB4IT easier.
Configuration
- Explanation How properties become navigation
Every property you use becomes a page, and every value becomes a list of the documents that share it. - Reference techdoc
The techdoc theme for team knowledge bases, the properties it reacts to and its settings. - Reference blog
The blog theme, how to write a post with an excerpt and the settings it reads. - Reference bookshelf
The bookshelf theme for study notes organised as books, parts and chapters, with reading progress. - Reference apphelp
The apphelp theme for application help sites, its page properties, help ids and settings. - Reference Command line
Every kb4it command and option, and what the exit status means. - Reference Repository settings
Every setting of config/repo.json shared by all themes, with its default. - Reference Log codes
Every error and warning code KB4IT writes to its log, what it means and what to do.
Development
- Explanation How KB4IT is built
How KB4IT is put together, from the command line to the files in target/, and how incremental builds work. - Explanation Theme internals
How KB4IT runs a theme, what stays internal, and how to move a theme from Builder or DocumentTheme to kb4it.theme. - How-to guide Write a theme
Write your own theme with kb4it.theme: start from a starter, switch on features, fill a few hooks and write your pages. - Reference Theme API reference
Every hook, option and feature of kb4it.theme, the public theme API, generated from the KB4IT code. - Reference Theme hooks of the legacy API
The theme API before kb4it.theme (Builder, DocumentTheme and the kits), deprecated, generated from the KB4IT code. - How-to guide Run and test from source
Get the source, run KB4IT from it, run the tests and the theme check, find what makes a build slow, and send a change. - How-to guide Release a version
Cut a KB4IT release, from the changelog to PyPI, the container image and the GitHub release. - How-to guide Write these pages
Add or change a page of this help, check it locally and get it published.