Soveren documentation describes Soveren for its target audience, that is DevOps, Devs, and CTOs. It explains what Soveren is, how it works, how to install, use, administrate, troubleshoot it, and answers various other usage-related questions.
To start with Soveren documentation, follow the steps below.
- Python 3.*
- Account on Read the Docs, a paid one.
- Brief acquaintance with MkDocs and the Material theme.
-
Install the Material theme for MkDocs:
pip3 install mkdocs-material
MkDocs and other required packages are installed automatically as dependencies.
-
Clone the repo:
git clone https://github.com/soverenio/docs.git
-
Learn the structure:
. ├─ customize/ # Customized templates to override the Material theme templates ├─ docs/ │ ├─ administration/ # Group of doc pages related to Soveren administration │ ├─ dashboards/ # Group of doc pages related Soveren cloud dashboards │ ├─ getting-started/ # Group of doc pages related getting started with Soveren │ ├─ img/ # Images, logos, favicons │ ├─ js/ # Custom JS scripts applied on each doc page │ ├─ miscellaneous/ # Doc pages not fitting any specific group │ ├─ stylesheets/ # Custom stylesheets that either add new styles or override some theme styles. │ ├─ troubleshooting/ # Group of doc pages related troubleshooting Soveren │ ├─ index.html # Main doc page │ └─ requirements.txt # Dependencies to install when building the project via a CI/CD tool ├─ .readthedocs.yaml # Read the Docs configuration file — the CI/CD tool ├─ mkdocs.yml # MkDocs configuration file └─ README.md # Project readme
Also, check:
-
Create and edit doc source files:
- Create new
.md
files inside thedocs
folder. - Create new subfolders to group the files if needed. Apply common sense.
- The files content is written in Markdown.
- Create new
-
Build and deploy.
As the repo is integrated with the CI/CD tool and the hosting provider, the pipeline is simple:
- Push you commit to the branch of your choice.
- Visit Read the Docs to check the building process if needed.
- Once the process is finished, that is usually ~1 min, open the respective doc version on https://docs.soveren.io to see the result.
Test your artifacts locally before making a commit!
-
Follow a Gitflow of your choice.
Current Gitflow:
- Develop and refactor in the
dev
branch. - Ask the subject matter experts to review — content, grammar, and style.
- When approved, merge the
dev
into thev1
branch. Thev1
branch is set to thestable
docs version — the default version you see on https://docs.soveren.io.
- Develop and refactor in the