Readur/docs
perf3ct ab962bfd04
feat(docs): add mkdocs requirements
feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again

feat(mkdocs): try mkdocs again
2025-08-16 17:07:29 +00:00
..
administration fix(tests): resolve issue in tests due to new s3 config 2025-08-01 19:17:22 +00:00
dev feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
getting-started feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
guide feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
images feat(docs): add additional gallery images, and create per use watch directory docs 2025-08-15 18:09:54 +00:00
javascripts feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
stylesheets feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
README.md feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
REVERSE_PROXY.md fix(dev): lol readur2 -> readur 2025-07-13 18:06:53 +00:00
WATCH_FOLDER.md feat(docs): add more user facing docs, update README, and move dev docs to correct folder 2025-06-25 18:35:06 +00:00
advanced-search.md feat(docs): update documentation for quite a few things 2025-07-11 19:55:18 +00:00
analytics-dashboard-guide.md feat(docs): add docs and update readme 2025-07-22 19:30:40 +00:00
api-reference.md fix(tests): also fix the docs for the retry ocr processing 2025-07-18 21:08:30 +00:00
configuration-reference.md feat(docs): update docs for S3 backend implemenation 2025-08-13 20:24:59 +00:00
configuration.md feat(docs): update docs for S3 backend implemenation 2025-08-13 20:24:59 +00:00
deployment.md feat(docker): fix healthcheck requiring `curl`, and updating healthcheck port 2025-08-14 19:02:40 +00:00
file-upload-guide.md feat(docs): update docs for S3 backend implemenation 2025-08-13 20:24:59 +00:00
health-monitoring-guide.md feat(docs): add docs and update readme 2025-07-22 19:30:40 +00:00
index.md feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
installation.md feat(docs): add more user facing docs, update README, and move dev docs to correct folder 2025-06-25 18:35:06 +00:00
labels-and-organization.md feat(docs): update documentation for quite a few things 2025-07-11 19:55:18 +00:00
migration-guide.md feat(docs): update docs for S3 backend implemenation 2025-08-13 20:24:59 +00:00
multi-language-ocr-guide.md feat(docs): add docs about multiple ocr languages 2025-07-21 23:34:57 +00:00
notifications-guide.md feat(docs): add docs and update readme 2025-07-22 19:30:40 +00:00
oidc-setup.md feat(docs): add documentation around oidc 2025-06-27 17:45:42 +00:00
per-user-watch-directories.md feat(docs): add additional gallery images, and create per use watch directory docs 2025-08-15 18:09:13 +00:00
s3-storage-guide.md feat(docs): update docs for S3 backend implemenation 2025-08-13 20:24:59 +00:00
s3-troubleshooting.md feat(docs): update docs for S3 backend implemenation 2025-08-13 20:24:59 +00:00
sources-guide.md feat(docs): add mkdocs requirements 2025-08-16 17:07:29 +00:00
swagger-ui-guide.md feat(docs): add docs and update readme 2025-07-22 19:30:40 +00:00
user-guide.md feat(docs): update documentation for quite a few things 2025-07-11 19:55:18 +00:00
user-management-guide.md feat(docs): update documentation for quite a few things 2025-07-11 19:55:18 +00:00

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

  1. Install dependencies:
pip install -r ../requirements.txt
  1. 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:

  1. Build the site:
mkdocs build
  1. 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

  1. Create a new .md file in the appropriate directory
  2. Add the page to the navigation in mkdocs.yml
  3. 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:

  1. Use clear, concise language
  2. Include code examples where appropriate
  3. Test all links and code samples
  4. Run mkdocs build --strict before submitting
  5. Update the navigation in mkdocs.yml for new pages

Resources