A modular, fast, simple, static website and blog generator written in Python. Current version: 8.3.3 (requires Python >=3.8). It supports reStructuredText, Markdown, and other markup formats, with theming and plugin support. Release cadence is irregular, typically a few releases per year.
pip install nikolaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Verify Nikola is installed and can be imported. Note that the CLI is the primary interface; programmatic usage is possible but not common.
Add 'TEMPLATE_ENGINE = "mako"' to your conf.py file or update your themes to Jinja2.
Use 'nikola new' instead of 'nikola new_post'.
Use 'nikola init --demo mysite' to create a site with sample content.
Ensure PATH is always a list, e.g., PATH = ['posts'].
Use 'from nikola import Nikola' or 'from nikola.__main__ import main' as appropriate.
Run 'pip install nikola' and ensure the scripts directory is in your PATH (e.g., on Windows, use 'python -m nikola' instead).
Set 'TEMPLATE_ENGINE' in your conf.py file instead of passing it to the constructor.