Documentation for the labb project
Project description
labbdocs
The documentation is available online at https://labb.io/.
This documentation is installed as a django app in the django project that powers the labb.io website.
Installation
pip install labbdocs
Integration with a django site
1. Add to INSTALLED_APPS
Add labbdocs to your Django project's INSTALLED_APPS:
# settings.py
INSTALLED_APPS = [
# ... other apps
'labbdocs',
]
2. Configure LABB_DOCS
Set up your documentation configuration in your Django settings:
# settings.py
LABB_DOCS = {
"ui": {
"config": "/path/to/your/ui.yaml",
"title": "UI Components",
"name": "ui",
"url_prefix": "/docs/ui",
"template_dir": "labbdocs/docs/ui/",
"build_path": "/path/to/templates/build/docs/ui"
},
"icons": {
"config": "/path/to/your/icons.yaml",
"title": "Icon Library",
"name": "icons",
"url_prefix": "/docs/icons",
"template_dir": "labbdocs/docs/icons/",
"build_path": "/path/to/templates/build/docs/icons"
}
}
3. Include URLs
Add labbdocs URLs to your main URL configuration:
# urls.py
from django.urls import path, include
urlpatterns = [
# ... other patterns
path("", include("labbdocs.urls")),
]
4. Build Documentation
Use the management command to build your documentation:
# Build all documentation
python manage.py build_docs ui
python manage.py build_docs icons
# Or build with quiet output
python manage.py build_docs ui --quiet
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file labbdocs-0.2.0.tar.gz.
File metadata
- Download URL: labbdocs-0.2.0.tar.gz
- Upload date:
- Size: 316.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59149e3a0775919d982812d3da10b234329682c744026c5156a4c7623a9deac4
|
|
| MD5 |
4d7eebdf46323e41330aac24b4a342e7
|
|
| BLAKE2b-256 |
b36ec1533de32df05e668077cb6d32d23d90eb3c32d4489c649b3616dabe5989
|
Provenance
The following attestation bundles were made for labbdocs-0.2.0.tar.gz:
Publisher:
release.yml on labbhq/labb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labbdocs-0.2.0.tar.gz -
Subject digest:
59149e3a0775919d982812d3da10b234329682c744026c5156a4c7623a9deac4 - Sigstore transparency entry: 929755163
- Sigstore integration time:
-
Permalink:
labbhq/labb@93685f0aad82bb4a7ec3a9e83fbdeb32942884b8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/labbhq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93685f0aad82bb4a7ec3a9e83fbdeb32942884b8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file labbdocs-0.2.0-py3-none-any.whl.
File metadata
- Download URL: labbdocs-0.2.0-py3-none-any.whl
- Upload date:
- Size: 352.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87602b43d9e9e1c8c9c38c443df4154e385c064c884ca72793eebc3265b60e33
|
|
| MD5 |
7a6e1167493e260415750e14caa99361
|
|
| BLAKE2b-256 |
558094e469573113163bd19a507df6f02b74b1a6d9cc5d3af4fde9c0db412a6c
|
Provenance
The following attestation bundles were made for labbdocs-0.2.0-py3-none-any.whl:
Publisher:
release.yml on labbhq/labb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labbdocs-0.2.0-py3-none-any.whl -
Subject digest:
87602b43d9e9e1c8c9c38c443df4154e385c064c884ca72793eebc3265b60e33 - Sigstore transparency entry: 929755164
- Sigstore integration time:
-
Permalink:
labbhq/labb@93685f0aad82bb4a7ec3a9e83fbdeb32942884b8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/labbhq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93685f0aad82bb4a7ec3a9e83fbdeb32942884b8 -
Trigger Event:
workflow_dispatch
-
Statement type: