## 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

View File

@@ -133,7 +133,7 @@
A modular, async MongoDB operations layer for FastAPI microservices.
Simplifies CRUD, transactions, and model management.
</p>
<a href="/mongo-ops/" target="_blank">View Documentation →</a>
<a href="/libs/mongo-ops/" target="_blank">View Documentation →</a>
</div>
<div class="card">
@@ -142,7 +142,7 @@
A modular, async Blog API backend for FastAPI microservices.
Provides streamlined CRUD operations for articles and authors, supports nested author details within article endpoints, and enables simple association management between content and contributors.
</p>
<a href="/api/blog/" target="_blank">View Documentation →</a>
<a href="/apis/blog/" target="_blank">View Documentation →</a>
</div>
<div class="card">

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Some files were not shown because too many files have changed in this diff Show More