A static website generator based on Asciidoctor sources.
Project description
Introduction
KB4IT is a static website generator based on Asciidoctor sources mainly for technical documentation purposes.
You can see some demos here: https://github.com/t00m/kb4it-adocs
Motivations
The main aim is to provide an easy way to write my technical documentation.
Don’t care about the formatting and focus on the contents.
To allow teams to manage their knowledge database easily.
Do not depend on third software products like word processors or complex web applications.
Features
Pros
Writing documentation: Documents must be in Asciidoctor format which is easy to learn.
Finding documents: Once a document is converted to html, properties can be browsed. Moreover, property pages have filters and a search entry to filter by title.
Publishing your repository: all necessary files are inside a directory. Browse it or copy it to your web server.
Serverless: There is no need for a web server. Of course, you can use one if you please.
Smart compiling: Only those documents added or modified are compiled.
Use the default themes or build your own custom theme
By modifying templates, it might be integrated with Github or Gitlab.
Cons
Not to much documentation at this moment
No online editor: At this moment, KB4IT doesn’t include any online editor. You must create or edit your documents with your preferred editor.
No dynamic search: KB4IT was developed to be as simple as possible.
No dependencies at all excepting Asciidoctor (as text processor and publishing toolchain) and Python (the programming language used).
API is not stable
Most of the requirements are tailored to my own necessities which might not be the same as yours.
Installation
From source
If you have used this app before, it might be necessary to uninstall it before:
pip3 uninstall kb4it -qy
Then, install it:
python3 setup.py install --user
Pypi package
pip3 install kb4it --user -U
Execution
The most typical usage would be:
$HOME/.local/bin/kb4it -source /path/to/asciidoctor/sources -target /path/to/target/directory -log DEBUG
If templates remain the same, force a new compilation:
$HOME/.local/bin/kb4it -source /path/to/asciidoctor/sources -target /path/to/target/directory --log DEBUG -force
If the directory containing the asciidoctor sources have a theme, it will be used. However, you can specify one:
$HOME/.local/bin/kb4it -source /path/to/asciidoctor/sources -target /path/to/target/directory -theme mytheme -log DEBUG
You can also specify any_datetime_attribute to sort your documents:
$HOME/.local/bin/kb4it -source /path/to/asciidoctor/sources -target /path/to/target/directory -sort Published -log DEBUG
Download
Get the code from Github: https://github.com/t00m/KB4IT
git clone https://github.com/t00m/KB4IT
Credits
Python Programming language that lets you work more quickly and integrate your systems more effectively.
Asciidoctor A fast text processor & publishing toolchain for converting AsciiDoc to HTML5, DocBook & more.
UIKit A lightweight and modular front-end framework for developing fast and powerful web interfaces.
Geany Powerful, stable and lightweight programmer’s text editor that provides tons of useful features without bogging down your workflow. It runs on Linux, Windows and MacOS is translated into over 40 languages, and has built-in support for more than 50 programming languages.
Contact
Tomás Vírseda (aka t00m): tomasvirseda@gmail.com
I would appreciate to hear from your comments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file KB4IT-0.7.8.tar.gz
.
File metadata
- Download URL: KB4IT-0.7.8.tar.gz
- Upload date:
- Size: 670.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c1e6791d96c1dce8fde0d7fab7f75e2366de9f3c6dc278b159f0def9d3934bc |
|
MD5 | fd49c2157bd9684c0fd2be8ce738a7ef |
|
BLAKE2b-256 | 6f4d8a1ab9bd2f3cc69d9051f25ffd23a0725bdc93a58e6b684d7230f34dd871 |
File details
Details for the file KB4IT-0.7.8-py3-none-any.whl
.
File metadata
- Download URL: KB4IT-0.7.8-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0f20a6b285723d0b76d8a6ca870ac836b3eeddca085216ddc36a0cfa43e1ef |
|
MD5 | 3c0db281e0bc9b14127bab1a36955b29 |
|
BLAKE2b-256 | a2ff4277abd54a98ac5e725680e5c4dd680881e2f96b6c442d2ed27c12727c8a |