Документация: разделы и статьи в docs.html

- Добавлены 12 разделов документации: Журнал, Отчёты о занятиях,
  Ученики, Группы, Обратная связь, Короткие сообщения, Чаты, Фото,
  Файлы, Ссылки, Закладки, Заметки (каждый со вступительной статьёй)
- Сид разделов в lib/docs.js (ensureDocsTables) и db/migration.sql
-doc_images добавлен в sweepOrphanedUploads и BROKEN_IMAGE_SOURCES
- Исправлен дубль docSectionIds в backup-restore.js
- Роуты /api/docs/* в server.js
- Страницы public/docs.html, public/docs-public.html, скрипты
  public/js/docs.js, public/js/docs-public.js, public/js/md.js
This commit is contained in:
dev
2026-10-23 21:33:48 +03:00
parent 4ba0f810b2
commit 97426c70af
11 changed files with 2565 additions and 6 deletions
+1
View File
@@ -63,6 +63,7 @@ function buildSidebar(active) {
{ page: 'files', label: 'Файлы', icon: 'folder' },
{ page: 'links', label: 'Ссылки', icon: 'link' },
{ page: 'bookmarks', label: 'Закладки', icon: 'bookmark' },
{ page: 'docs', label: 'Документация', icon: 'book-open-text' },
{ page: 'trash', label: 'Корзина', icon: 'trash-2' },
{ page: 'notes', label: 'Заметки', icon: 'sticky-note' },
];