Skip to content

Commit

Permalink
Docs Refactor (#25)
Browse files Browse the repository at this point in the history
* complete refactor of the whole doc setup
---------

Co-authored-by: PrashantR30 <[email protected]>
Co-authored-by: Prashant Ramhit <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent b27986a commit 5eb750e
Show file tree
Hide file tree
Showing 32 changed files with 1,222 additions and 985 deletions.
53 changes: 48 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,56 @@
# Project 0x2A Documentation
# Project 2A Documentation

The home of the consolidated documentation for Project 0x2A sponsored by Mirantis.
The home of the consolidated documentation for Project 2A sponsored by Mirantis.

[Project 0x2A Docs](https://mirantis.github.io/project-2a-docs/)
[Project 2A Docs](https://mirantis.github.io/project-2a-docs/)

This project utilises Mkdocs with the Material theme and Mermaid for diagrams. Currently
the docs are published using github actions on github pages from the branch gh-pages.

Development is tracked under [Project 0x2A](https://github.com/orgs/Mirantis/projects/8) on github.
Development is tracked under [Project 2A](https://github.com/orgs/Mirantis/projects/8) on github.

The related Project 0x2A repositories can be found as follows:
The related Project 2A repositories can be found as follows:
* [HMC](https://github.com/Mirantis/hmc)


## Project layout

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
stylesheets # CSS stylesheets to control look and feel
assets # Images and other served material
... # Other markdown pages, images and other files.


## Setting up MKdocs and dependancies

1. Setup python Virtual Environment

`python3 -m venv ./mkdocs`
`source ./mkdocs/bin/activate`

2. Install MkDocs

`pip install mkdocs`

3. Install plugins

`pip install mkdocs-mermaid2-plugin`

`pip install mkdocs-material`

`pip install markdown-callouts`

## Run MKdocs for dev

* `mkdocs serve` - Start the live-reloading docs server.

For full documentation visit [mkdocs.org](https://www.mkdocs.org).

## MKdocs Commands

* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.
5 changes: 1 addition & 4 deletions docs/introduction.md → docs/architecture.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Project Overview
# Architecture

Below is a diagram that provides an overview of how Project 0x2A works.

## Architectural Overview

```mermaid
---
Expand Down
23 changes: 0 additions & 23 deletions docs/aws/cloudformation.md

This file was deleted.

180 changes: 0 additions & 180 deletions docs/aws/cluster-parameters.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/aws/main.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/aws/nuke.md

This file was deleted.

83 changes: 0 additions & 83 deletions docs/azure/cluster-parameters.md

This file was deleted.

Loading

0 comments on commit 5eb750e

Please sign in to comment.