Skip to content

Commit

Permalink
Merge pull request #1 from rodneyosodo/setup-mkdocs
Browse files Browse the repository at this point in the history
NOISSUE - Setup documentation page using mkdocs
  • Loading branch information
drasko authored Dec 11, 2024
2 parents ecce445 + 0e839d7 commit 6e8a044
Show file tree
Hide file tree
Showing 12 changed files with 165 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linter

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: latest

- name: Install markdownlint-cli
run: npm install -g markdownlint-cli

- name: run markdownlint
run: markdownlint --disable MD013 -- docs/
23 changes: 23 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish docs via GitHub Pages

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
54 changes: 53 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
# propeller-docs
# Propeller Documentation

This repo collects the collaborative work on Propeller documentation.

Documentation is auto-generated from Markdown files in this repo.

[MkDocs](https://www.mkdocs.org/) is used to serve the docs locally with different theming.

## Install

Doc repo can be fetched from GitHub:

```bash
git clone https://github.com/absmach/propeller-docs.git
```

## Prerequisites

[Python](https://www.python.org/downloads/) 3.7 or higher is required to run MkDocs.

1. Create a virtual environment:

```bash
python -m venv venv
```

2. Activate the virtual environment:

```bash
source venv/bin/activate
```

3. Install [MkDocs](https://www.mkdocs.org/#installation)

```bash
pip install mkdocs
```

4. Additionally, install [Material theme](https://squidfunk.github.io/mkdocs-material/):

```bash
pip install mkdocs-material
```

## Usage

Use MkDocs to serve documentation:

```bash
mkdocs serve
```

Then just point the browser to [http://127.0.0.1:8000](http://127.0.0.1:8000).
1 change: 1 addition & 0 deletions docs/architecture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Architecture
1 change: 1 addition & 0 deletions docs/developer-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Developer's Guide
1 change: 1 addition & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Getting Started
22 changes: 22 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Propeller

**Propeller** is a cutting-edge orchestrator for **WebAssembly (Wasm)** workloads across the **Cloud-Edge continuum**. It enables seamless deployment of Wasm applications from powerful cloud servers to constrained microcontrollers, combining flexibility, security, and performance.

## 🌟 Features

- 🌐 **Cloud-Edge Orchestration**: Deploy Wasm workloads effortlessly across diverse environments, from robust cloud servers to lightweight microcontrollers.
-**Fast Boot Times**: Take advantage of Wasm's near-instant startup for efficient workload execution.
- 📦 **FaaS Deployment**: Enable Function-as-a-Service (FaaS) capabilities for scalable and event-driven applications.
- 🖥️ **OCI Registry Support**: Push and pull Wasm workloads from OCI-compliant registries for streamlined workflow integration.
- 🔧 **WAMR on Zephyr RTOS**: Deploy lightweight Wasm workloads on constrained devices running Zephyr RTOS via the WebAssembly Micro Runtime (WAMR).
- 🛠️ **Powerful Service Mesh**: Integrates with **[SuperMQ](https://github.com/absmach)** for secure, efficient IoT device communication.
- 🔒 **Security at the Core**: Propeller ensures secure workload execution and communication for IoT environments.

---

## 🛠️ How It Works

1. **Develop in WebAssembly**: Write portable, lightweight Wasm workloads for your application.
2. **Register Workloads**: Push your workloads to an OCI-compliant registry for easy deployment.
3. **Deploy Anywhere**: Use Propeller to orchestrate and manage workload deployment across the cloud, edge, and IoT devices.
4. **Monitor & Scale**: Leverage real-time monitoring and dynamic scaling to optimize your system's performance.
1 change: 1 addition & 0 deletions docs/manager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Manager
1 change: 1 addition & 0 deletions docs/proplet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Proplet
25 changes: 25 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
copyright: Copyright (c) Abstract Machines
repo_url: https://github.com/absmach/propeller-docs.git
site_description: Propeller Documentation
site_name: Propeller
site_url: ""
edit_uri: ""

theme:
name: material
icon:
repo: fontawesome/brands/github

markdown_extensions:
- admonition
- attr_list
- toc:
permalink: "#"

nav:
- Overview: index.md
- Getting Started: getting-started.md
- Architecture: architecture.md
- Manager: manager.md
- Proplet: proplet.md
- Developer's Guide: developer-guide.md

0 comments on commit 6e8a044

Please sign in to comment.