Wikin
A simple, beautiful documentation generator for Python. It extracts docstrings from functions and special comments from variables.
Features
- Function Docstrings: Standard Python triple-quoted docstrings.
- Variable Documentation:
#: comment before variablevariable = value #: comment after variable
- Global Search: Instantly find functions, classes, and variables across all modules.
- Multipage Mode: Generate a clean landing page and separate files for each module.
- Modern UI: Clean, responsive HTML output with a premium glassmorphic look.
- Markdown Support: Use Markdown in your docstrings and comments.
- Docstring Tables: Automatically formats Google-style and NumPy-style parameters, attributes, and returns into elegant Markdown tables.
- Addons (Themes & Plugins): Customize the look and feel with
.wikinpackaged CSS themes and JS plugins! - Custom Pages: Easily inject
READMEor dynamically parsedLICENSEfiles right into the sidebar. - Module Metadata: Customize how modules appear in the documentation using a
Wikin:block.
Installation
pip install craftllc-wikin
Usage
python -m wikin gen <path_to_code> <project_name> <version> [docs_folder]
Example:
python -m wikin gen ./ "My Project" 1.0.0
This will automatically parse the working directory and output standard HTML files to the customized docs/ folder.
If you have argcomplete installed, Wikin offers full Tab autocomplete for CLI options! Need help? Just run:
python -m wikin help
Variable Documentation Example
#: Number of requests per second
rpm = 10
timeout = 30 #: Connection timeout in seconds
Wikin will pick these up and include them in the generated documentation.
Ignoring Files
To exclude specific files or directories from being processed, create a .wikinignore file in your docs/ folder. It supports standard .gitignore (gitwildmatch) patterns.
Example docs/.wikinignore:
# Ignore a specific file
secret_module.py
# Ignore an entire directory
internal_tools/
# Ignore all files with a certain extension
*.deprecated.py
Configuration
You can fully orchestrate your generated suite by placing a docs/.wikinconfig (TOML format) directly inside your docs directory.
Multipage & Custom Branding
For larger projects, switch into multipage mode to split generated pages. You can also hide the Wikin branded watermark!
[main]
multipage = true
show_generated_by = false
Adding Project Links
To add helpful links (like GitHub, PyPI, or your website) to the sidebar, use the [links] section:
[links]
PyPI = "https://pypi.org/project/craftllc-wikin"
GitHub = "https://github.com/CraftLLC/Wikin"
Custom Markdown Pages & Intelligent Licensing
Wikin allows you to seamlessly inject generic Markdown files right into your sidebar!
[pages]
readme = "README.md"
license = "LICENSE"
license-parse = true
If license-parse = true is enabled, Wikin employs a versatile Regex parsing backend capable of correctly detecting MIT, Apache 2.0, GNU GPL (v2/v3), BSD (2/3-Clause), MPL 2.0, WTFPL, and more! It dynamically structures the Year, Type, and Author neatly above your license file.
Themes & Plugins (Addons API)
Wikin supports community-provided ZIP addons formatted with .wikin extensions! Place these archives into docs/addons/.
[addons]
themes = ["OLED"]
plugins = ["search_optimizer"]
These archives must contain a standard manifest.json mapped to their core main_css or main_js files.
Try our included OLED.wikin theme to transform the standard glassmorphic array into a completely flat, pure-black experience designed exclusively for organic LED developers.
Module Metadata Example
You can set a custom display name for your modules by adding a Wikin: block at the top of your module's docstring:
"""
Wikin:
name: Core Parser
This module handles all the parsing logic for Wikin.
"""
In the documentation, this module will be titled as Core Parser (your_package.parser). The metadata block itself will be dynamically filtered from the description rendering.
Metadata
Release files for craftllc-wikin 26.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| craftllc_wikin-26.3.1.tar.gz | 65.1 kB | Without provenance | Details for craftllc_wikin-26.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| craftllc_wikin-26.3.1-py3-none-any.whl | Python 3 | none | any | Details for craftllc_wikin-26.3.1-py3-none-any.whl |
Total release size: 88.4 kB
Release files / craftllc_wikin-26.3.1.tar.gz
| Download URL | craftllc_wikin-26.3.1.tar.gz |
|---|---|
| Size | 65.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5624d40ad5dbd71928b32fff287f463f078ae82fb46a0da677b59c6b73b753dc
|
|
BLAKE2b-256 checksum How to use checksums |
5262cd077722fe1b10515860feb2f4271dc4b2579888f9d8dd5ac0d82b3c249d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / craftllc_wikin-26.3.1-py3-none-any.whl
| Download URL | craftllc_wikin-26.3.1-py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f50175e657ff57ec44c1f2e95966cedb9e6f02a80bae726d2d74a892dc88e061
|
|
BLAKE2b-256 checksum How to use checksums |
1eb97968cbd47143fa158411b9cbcb5d32c27b865bfbc45dad8cb860ec0f9e36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for craftllc-wikin 26.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.