Skip to main content

A markdown converter for Django's admin docs to make it LLM friendly.

Project description

django-admin-docs-llm

A Django pluggable app for Administrative LLM Documentation.

Installation

# Using uv
uv add django-admin-docs-llm

# Or using pip
pip install django-admin-docs-llm

Configuration

Add admindocs_llm to your INSTALLED_APPS in Django settings:

INSTALLED_APPS = [
    ...
    'admindocs_llm',
    ...
]

Include the app URLs in your project's urls.py:

from django.urls import path, include

urlpatterns = [
    ...
    path('admindocs/', include('admindocs_llm.urls')),
    ...
]

Development

Setup

# Clone the repository
git clone <repository-url>
cd django-admin-docs-llm

# Install dependencies with test extras
uv sync --extra test

Running Tests

# Run all tests
./runtests.sh

# Run with coverage
./runtests.sh --cov=admindocs_llm

# Run specific test file
./runtests.sh tests/test_app.py

Test Django Server

# Run migrations
./manage.sh migrate

# Create superuser
./manage.sh createsuperuser

# Run development server
./manage.sh runserver

Then visit http://localhost:8000/admin/ and http://localhost:8000/admindocs/

See tests/README.md for more details about the test project.

Requirements

  • Python >= 3.10
  • Django >= 4.2
  • markitdown >= 0.1.4

License

MIT

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

django_admin_docs_llm-0.1.0.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

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

django_admin_docs_llm-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file django_admin_docs_llm-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django_admin_docs_llm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01d2eba34de4802cba81f10acad86566142bfea67bb0107cfdc8760d348af89c
MD5 e57eaa5a8c075b3b01dcb6fe03e1e5c2
BLAKE2b-256 1797af1a3edd816200f53a738bfc4d8b71e612c199f0c4764108b70dac5b96c2

See more details on using hashes here.

File details

Details for the file django_admin_docs_llm-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_docs_llm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e74f299a61ff24653b07d1263ddb0d1fab7190826067ba951911f20f384a932
MD5 b1697eb71a9e46ed30eeb8ab8fe852ca
BLAKE2b-256 7d25f69acaa0409907e10e159b6627b134cbc1c51d60d5772cc72c689de72b57

See more details on using hashes here.

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