Skip to main content

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


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.3.0.tar.gz (316.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.3.0-py3-none-any.whl (362.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labbdocs-0.3.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

Hashes for labbdocs-0.3.0.tar.gz
Algorithm Hash digest
SHA256 32adf0a0b720c1d666d8f63c916c5e427de2f07b99f31848891d1f824d6f8056
MD5 f2aa89942a0f90776f9b1287ae976774
BLAKE2b-256 8d10b67e19b552a379fa0b46fb530d4d8a5cff809fda8513e8e5869c7858f351

See more details on using hashes here.

Provenance

The following attestation bundles were made for labbdocs-0.3.0.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.3.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for labbdocs-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4349988de945d7c37e9eb8b361c91d03d05c0bccef94eff810d384cc1762b051
MD5 d660a2e05ff171b15f9dd5415522983d
BLAKE2b-256 2b956d4cb8d784e8407ef8f05ef78ae2b7ca02484ebd372758c9930c57855639

See more details on using hashes here.

Provenance

The following attestation bundles were made for labbdocs-0.3.0-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