Render Markdown documentation in the Django Admin.
Project description
django-actual-admin-docs
Render Markdown documentation directly in the Django admin /admin/.
- Support for nested subfolders
- Comprehensive Markdown format
- Provides default styles for Markdown rendering
See this screenshot of an example page.
Installation
-
pip install django-actual-admin-docs. -
Add
actual_admin_docsto yourINSTALLED_APPSsetting. -
Add the documentation urlpattern, above your admin urls:
from django.contrib import admin from django.urls import include, path urlpatterns = [ path("admin/docs/", include("actual_admin_docs.urls")), path("admin/", admin.site.urls), ]
-
Add a
DOCS_ROOTsetting which should be apathlib.Pathpointing to the docs directory:DOCS_ROOT = BASE_DIR / "docs"
Documentation folder structure
You can use regular folders, subfolders, images, files, etc. You can use regular Markdown files and markup to write your documentation and link between documents.
๐ docs/
โ
โโโ ๐ subfolder
โ โโโ ๐ subfolder_in_a_subfolder
โ โ โโโ ๐ฆ download.zip
โ โ โโโ ๐ index.md
โ โ
โ โโโ ๐ another_file.md
โ โโโ ๐ index.md
โ
โโโ ๐ assets
โ โโโ ๐ image.jpg
โ โโโ ๐ other-image.jpg
โ
โโโ ๐ index.md
Markup
A link to another document [is a regular link](markdown-sample.md).
Documents in subdirectories [are supported too](./subdirectory/index.md).
For images, downloads etc. use regular markdown markup too:

[Click to download](./subfolder/subfolder_in_a_subfolder/download.zip)
Custom CSS
Overwrite the actual-admin-docs.css file to set your custom styles.
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
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 django_actual_admin_docs-0.1.tar.gz.
File metadata
- Download URL: django_actual_admin_docs-0.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248a138759711e00f0c14b3cc6a2995f076319b2b0954c68ef40af5eebf26b9b
|
|
| MD5 |
8c8a5adaed5d38d277760486d94410eb
|
|
| BLAKE2b-256 |
be165fc8071aa74c247da1065fd1e45038902ccf3be4d78b6f7f2b765e0f79c3
|
File details
Details for the file django_actual_admin_docs-0.1-py3-none-any.whl.
File metadata
- Download URL: django_actual_admin_docs-0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9973576baf2c17ee7c08dc15594436e566a6263b38a5c920d93eeff40fecd950
|
|
| MD5 |
b180647e8ae69e3b9b67c83c25234255
|
|
| BLAKE2b-256 |
34814a13aad00f24729606d0f94359c8083b2a946cd03c0d8b7fcb571cb71920
|