|
|
||
|---|---|---|
| .. | ||
| administration | ||
| dev | ||
| getting-started | ||
| guide | ||
| images | ||
| javascripts | ||
| quickstart | ||
| self-hosting | ||
| stylesheets | ||
| README.md | ||
| REVERSE_PROXY.md | ||
| WATCH_FOLDER.md | ||
| advanced-search.md | ||
| analytics-dashboard-guide.md | ||
| api-reference.md | ||
| architecture.md | ||
| backup-recovery.md | ||
| configuration-reference.md | ||
| configuration.md | ||
| deployment.md | ||
| file-upload-guide.md | ||
| gallery.md | ||
| health-monitoring-guide.md | ||
| index.md | ||
| installation.md | ||
| integrations.md | ||
| labels-and-organization.md | ||
| migration-guide.md | ||
| multi-language-ocr-guide.md | ||
| notifications-guide.md | ||
| oidc-setup.md | ||
| per-user-watch-directories.md | ||
| performance-tuning.md | ||
| s3-storage-guide.md | ||
| s3-troubleshooting.md | ||
| security-guide.md | ||
| sources-guide.md | ||
| swagger-ui-guide.md | ||
| troubleshooting.md | ||
| user-guide.md | ||
| user-management-guide.md | ||
README.md
Readur Documentation
This directory contains the source files for the Readur documentation site, built with MkDocs and Material for MkDocs.
Local Development
Prerequisites
- Python 3.8+
- pip
Setup
- Install dependencies:
pip install -r ../requirements.txt
- Start the development server:
mkdocs serve
The documentation will be available at http://localhost:8000.
Building
To build the static site:
mkdocs build
The built site will be in the site/ directory.
Deployment
The documentation is automatically deployed to readur.app via GitHub Actions when changes are pushed to the main branch.
Manual Deployment
If you need to deploy manually:
- Build the site:
mkdocs build
- Deploy to Cloudflare Pages:
wrangler pages deploy site --project-name=readur-docs
Structure
-
docs/
Documentation source files (Markdown) -
mkdocs.yml
MkDocs configuration -
requirements.txt
Python dependencies -
overrides/
Theme customizations -
stylesheets/
Custom CSS -
javascripts/
Custom JavaScript
Writing Documentation
Adding New Pages
- Create a new
.mdfile in the appropriate directory - Add the page to the navigation in
mkdocs.yml - Use Material for MkDocs features for rich content
Markdown Extensions
We use several markdown extensions for enhanced functionality:
-
Admonitions
For notes, warnings, tips -
Code blocks
With syntax highlighting -
Tabs
For grouped content -
Tables
For structured data -
Emoji
For visual elements
Example:
!!! note "Important"
This is an important note.
=== "Tab 1"
Content for tab 1
=== "Tab 2"
Content for tab 2
Contributing
Please follow these guidelines when contributing to the documentation:
- Use clear, concise language
- Include code examples where appropriate
- Test all links and code samples
- Run
mkdocs build --strictbefore submitting - Update the navigation in
mkdocs.ymlfor new pages