Skip to main content

Documentation for the labb project

Project description

labbdocs

labbdocs packages the labb.io documentation as a Django app: UI component reference, guides, icons, and blog — all powered by labb, django-cotton, Tailwind CSS, and daisyUI 5.

The public site at https://labb.io/ runs this app alongside the labb marketing pages. Install labbdocs in your own Django project if you want to embed or mirror that docs experience.

Install the labbdocs package

pip install labbdocs

Integrate labbdocs into Django

1. Add labbdocs to INSTALLED_APPS

Add labbdocs to your Django project's INSTALLED_APPS:

# settings.py
INSTALLED_APPS = [
    # ... other apps
    'labbdocs',
]

2. Configure LABB_DOCS in settings

Set up your documentation configuration in 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 labbdocs 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labbdocs-0.4.3.tar.gz (389.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

labbdocs-0.4.3-py3-none-any.whl (449.6 kB view details)

Uploaded Python 3

File details

Details for the file labbdocs-0.4.3.tar.gz.

File metadata

  • Download URL: labbdocs-0.4.3.tar.gz
  • Upload date:
  • Size: 389.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for labbdocs-0.4.3.tar.gz
Algorithm Hash digest
SHA256 afe73dd494ccca866730060899169d3b60af0d36567763915d884d736d7029c8
MD5 5e6ddb94805faa992963113a1e7a0323
BLAKE2b-256 f00a9024b69eaa38ab658710af20654cf1b5a226959b3d92703281d689174cb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for labbdocs-0.4.3.tar.gz:

Publisher: release.yml on labbhq/labb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file labbdocs-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: labbdocs-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 449.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for labbdocs-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7cec592079f2851b042c75e3b8f0d475d74426892b619424511aa97b2335f5ec
MD5 28321bc43851791bfc9c79b269f7ba96
BLAKE2b-256 ba561ed68e9733d7c6143217eea0c853585a18b1b390d62819e4dccdde8ecb2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for labbdocs-0.4.3-py3-none-any.whl:

Publisher: release.yml on labbhq/labb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page