Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Margo Management Interface - Initial Construction/Proposal #19

Merged
merged 5 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .devcontainer/.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/vscode/devcontainers/python:3.10-bookworm

RUN pip install mkdocs \
&& pip install mkdocs-markdownextradata-plugin \
&& pip install mkdocs-material

EXPOSE 8000
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "mkdocs",
"service": "mkdocs",
"workspaceFolder": "/home/vscode/docs/",
"dockerComposeFile": [
"../.devcontainer/docker-compose.yaml"
],
"remoteUser": "vscode"
}
17 changes: 17 additions & 0 deletions .devcontainer/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
services:
mkdocs:
build:
context: ../
dockerfile: ./.devcontainer/.dockerfile
container_name: mkdocs
ports:
- 8000:8000
volumes:
- ..:/home/vscode/docs/
tty: true # <- keeps container running
networks:
- mkdocs-network

networks:
mkdocs-network:
driver: bridge
48 changes: 32 additions & 16 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,35 @@ docs_dir: system-design

nav:
- Introduction: index.md
- Envisioned System Design: margo-overview/introduction-system-design.md
- Example System Design: margo-overview/introduction-system-design.md
- Personas: margo-overview/personas.md
- Technical Lexicon: margo-overview/technical-lexicon.md
- App Interoperability:
- Application Package Definition: app-interoperability/application-package-definition.md
- Device Capability Discovery: app-interoperability/device-capability-discovery.md
- Workload Orchestration Software: app-interoperability/workload-orchestration-software.md
- Workload Orchestration to App Registry Interactions: app-interoperability/workload-orch-to-app-reg-interaction.md
- Workload Orchestrator App Configuration and Deployment: app-interoperability/orchestator-app-config-deploy.md
- Workload Orchestration Agent: app-interoperability/workload-orchestration-agent.md
- Application Observability: app-interoperability/observability.md
- Application Distribution:
- Application Package Definition: app-interoperability/application-package-definition.md
- Workload Orchestration to App Registry Interactions: app-interoperability/workload-orch-to-app-reg-interaction.md
- Device Interoperability:
- Device Requirements: device-interoperability/device-requirements.md

markdown_extensions:
- toc:
toc_depth: 2
- Device Requirements: device-interoperability/device-requirements.md
- Observability: app-interoperability/observability.md
- Orchestration:
- Workload:
- Management API: orchestration/workload/workload-management-interface-breakdown.md
- Onboarding: orchestration/workload/workload-orchestration-edge-onboarding.md
- Device Capabilities: orchestration/workload/device-capability-reporting.md
- Workload Deployment: orchestration/workload/workload-deployment.md
## - Device:
## - Appendix:
## - Management API Definition: margo-overview/personas.md
- Management API Reference:
- Overview: margo-api-reference/margo-api-specification.md
- Workload API:
- Desired State API:
- Desired State: margo-api-reference/workload-api/desired-state-api/desired-state.md
- Device API:
- Device Capabilities: margo-api-reference/workload-api/device-api/device-capabilities.md
- Deployment Status: margo-api-reference/workload-api/device-api/deployment-status.md
- Onboarding API:
- Device Onboarding: margo-api-reference/workload-api/onboarding-api/device-onboarding.md
- Certificate Download: margo-api-reference/workload-api/onboarding-api/rootca-download.md

theme:
name: material
Expand All @@ -44,6 +56,10 @@ theme:
palette:
scheme: margo

markdown_extensions:
- toc:
toc_depth: 2

extra_css:
- css/margo.css

Expand All @@ -52,8 +68,8 @@ extra:
generator: true
homepage: https://margo.org
copyright: Copyright &copy; 2024 Margo
reponame: !ENV [GITHUB_REPOSITORY, 'margo/specification']
commit: !ENV [GITHUB_SHA, '<unknown>']
reponame: !ENV [GITHUB_REPOSITORY, "margo/specification"]
commit: !ENV [GITHUB_SHA, "<unknown>"]
social:
- icon: fontawesome/brands/github
link: https://github.com/margo
Expand Down
ajcraig marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The application package has the following folder structure:

## Application Description

The `margo.yaml` file is the application description. The purpose of this file is to present the application on an application catalog or marketplace from where an end user selects the application to hand it over to the Workload Orchestration Software, which configures it and makes it available for installation on the edge device (see Section [Workload Orchestration Agent](./workload-orchestration-agent.md)).
The `margo.yaml` file is the application description. The purpose of this file is to present the application on an application catalog or marketplace from where an end user selects the application to hand it over to the Workload Orchestration Software, which configures it and makes it available for installation on the edge device (see Section [Workload Management Interface](../orchestration/workload/workload-management-interface-breakdown.md)).
ajcraig marked this conversation as resolved.
Show resolved Hide resolved

### Application Description Example

Expand Down

This file was deleted.

This file was deleted.

Loading
Loading