## 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:
13
Dockerfile
13
Dockerfile
@@ -8,11 +8,16 @@ LABEL description="Static documentation host for Aetoskia projects"
|
|||||||
# Copy custom Nginx configuration
|
# Copy custom Nginx configuration
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# Copy all project docs
|
# Copy Index
|
||||||
# Expected folder layout (on build context):
|
|
||||||
COPY ./_index /usr/share/nginx/html/
|
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/
|
COPY ./tutorials/media-manager/site /usr/share/nginx/html/tutorials/media-manager/
|
||||||
|
|
||||||
# Expose HTTP port
|
# Expose HTTP port
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
A modular, async MongoDB operations layer for FastAPI microservices.
|
A modular, async MongoDB operations layer for FastAPI microservices.
|
||||||
Simplifies CRUD, transactions, and model management.
|
Simplifies CRUD, transactions, and model management.
|
||||||
</p>
|
</p>
|
||||||
<a href="/mongo-ops/" target="_blank">View Documentation →</a>
|
<a href="/libs/mongo-ops/" target="_blank">View Documentation →</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
A modular, async Blog API backend for FastAPI microservices.
|
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.
|
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>
|
</p>
|
||||||
<a href="/api/blog/" target="_blank">View Documentation →</a>
|
<a href="/apis/blog/" target="_blank">View Documentation →</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
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
Reference in New Issue
Block a user