-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from Musilah/renameSuperMQ
* rename magistrala to supermq Signed-off-by: Musilah <[email protected]> * add deployment changes Signed-off-by: Musilah <[email protected]> * fix CI Signed-off-by: Musilah <[email protected]> * adjust primary blue shade and metadata Signed-off-by: Musilah <[email protected]> * add new light mode logo Signed-off-by: Musilah <[email protected]> * Fix SemVer and delete docusaurus social card Signed-off-by: Musilah <[email protected]> * fix prefixes and add smq contrib file Signed-off-by: Musilah <[email protected]> * fix broken anchors Signed-off-by: Musilah <[email protected]> * change navbar Signed-off-by: Musilah <[email protected]> * reword homepage Signed-off-by: Musilah <[email protected]> * update sidebar Signed-off-by: Musilah <[email protected]> * revert to default green theme Signed-off-by: Musilah <[email protected]> --------- Signed-off-by: Musilah <[email protected]>
- Loading branch information
Showing
85 changed files
with
31,465 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Deploy Docusaurus to GitHub Pages | ||
|
||
# Controls when the action will run | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
name: Build Docusaurus | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout main | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build the website | ||
run: yarn build | ||
|
||
- name: Upload Build Artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: build | ||
|
||
|
||
deploy: | ||
name: Deploy to GitHub Pages | ||
needs: build | ||
|
||
permissions: | ||
pages: write | ||
id-token: write | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 | ||
env: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test deployment | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test-deploy: | ||
name: Test deployment | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Test Build the website | ||
run: yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
/site | ||
|
||
# Dependencies | ||
node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,35 +8,41 @@ This repo collects the collaborative work on SuperMQ documentation. | |
The official documentation is hosted at [SuperMQ Docs page][docs]. | ||
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. | ||
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. | ||
|
||
> Additional practical information about SuperMQ system, news and tutorials can be found on the [SuperMQ blog][blog]. | ||
## Prerequisites | ||
|
||
Install [MkDocs](https://www.mkdocs.org/#installation) | ||
Install [Docusaurus](https://docusaurus.io/docs/installation) | ||
|
||
```bash | ||
pip install mkdocs | ||
``` | ||
### Installation | ||
|
||
## Install | ||
``` | ||
$ yarn | ||
``` | ||
|
||
Doc repo can be fetched from GitHub: | ||
|
||
```bash | ||
git clone [email protected]:/absmach/supermq-docs.git | ||
``` | ||
|
||
## Usage | ||
### Local Development | ||
Use Docusaurus to serve documentation. | ||
|
||
``` | ||
$ yarn start | ||
``` | ||
|
||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. | ||
|
||
Use MkDocs to serve documentation: | ||
### Build | ||
|
||
```bash | ||
mkdocs serve | ||
``` | ||
$ yarn build | ||
``` | ||
|
||
Then just point the browser to `http://127.0.0.1:8000`. | ||
|
||
## Contributing | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
borovcanin: | ||
name: 'Dusan borovcanin' | ||
title: 'Software Engineer' | ||
url: 'https://github.com/dborovcanin' | ||
|
||
draskovic: | ||
name: 'Drasko Draskovic' | ||
title: 'Software Engineer' | ||
url: 'https://github.com/drasko' | ||
email: '[email protected]' | ||
|
||
osodo: | ||
name: 'Rodney Osodo' | ||
title: 'Software Engineer' | ||
url: 'http://rodneyosodo.com/' | ||
socials: | ||
twitter: 'https://twitter.com/b1ackd0t' | ||
|
||
musilah: | ||
name: 'Nataly Musilah' | ||
title: 'Software Engineer' | ||
url: 'https://github.com/Musilah' | ||
email: '[email protected]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: Welcome to the SuperMQ Blog | ||
slug: / | ||
authors: osodo | ||
--- | ||
|
||
|
||
# Welcome to the SuperMQ Blog | ||
|
||
This section contains a list of blogs that are related to SuperMQ. They have been published to the [Official Abstract Machines blog in Medium](https://medium.com/abstract-machines-blog). | ||
|
||
<!-- truncate --> | ||
|
||
## Featured Blogs | ||
|
||
- [What's New in SuperMQ v0.14.0](./v0-14-0-release/v0-14-0-release.md) | ||
- [Extending SuperMQ Users Repository](./kratos/kratos.md) | ||
- [Integrating OAuth2.0 with SuperMQ](./oauth/oauth.md) | ||
- [Guide on using SuperMQ](./user-guide.md) |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.