## Commit Message

**Restructure documentation layout, update entrypoint links, and migrate folders**

This commit introduces a consistent and modular documentation structure by
grouping related documentation under `libs`, `apis`, and `tutorials`. The
Dockerfile now reflects the new paths, and the index page links have been
adjusted accordingly.

### Folder Migrations
The following documentation directories were moved:

- `./mongo-ops/site` → `./libs/mongo-ops/site`
- `./blog-api/site` → `./apis/blog/site`
- `./tutorials/media-manager/site` (unchanged, retained under tutorials)

These changes improve namespace clarity and reflect the logical separation
between libraries, APIs, and tutorials.

### Additional Changes
- Updated URLs in `_index/index.html` to point to `/libs/mongo-ops/` and `/apis/blog/`.
- Removed outdated root-level documentation folders.
This commit is contained in:
2025-12-10 16:17:29 +05:30
parent 09fe7cb557
commit 03de5cd2b4
121 changed files with 11 additions and 6 deletions

View File

@@ -8,11 +8,16 @@ LABEL description="Static documentation host for Aetoskia projects"
# Copy custom Nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy all project docs
# Expected folder layout (on build context):
# Copy Index
COPY ./_index /usr/share/nginx/html/
COPY ./mongo-ops/site /usr/share/nginx/html/mongo-ops/
COPY ./blog-api/site /usr/share/nginx/html/api/blog/
# Copy Libs
COPY ./libs/mongo-ops/site /usr/share/nginx/html/libs/mongo-ops/
# Copy Apis
COPY ./apis/blog/site /usr/share/nginx/html/apis/blog/
# Copy Tutorials
COPY ./tutorials/media-manager/site /usr/share/nginx/html/tutorials/media-manager/
# Expose HTTP port