alnoda-workspaces/workspaces/mkdocs-magicspace/README.md

101 lines
5.9 KiB
Markdown
Raw Normal View History

2022-02-02 05:20:55 +13:00
<p align="center">
2022-05-23 21:36:06 +12:00
<img src="../../img/Alnoda-white.svg" alt="Alnoda logo" width="150">
</p>
2022-02-02 05:20:55 +13:00
2021-07-31 00:18:29 +12:00
# MkDocs-MagicSpace
2021-09-13 22:30:50 +12:00
MkDocs-MagicSpace is an all-in-one tool, carefully crafted to make the development of gorgeous documentation
2021-09-18 03:34:55 +12:00
websites like [**this one**](https://mkdocs-magicspace.alnoda.org/) as easy as possible.
2021-09-13 22:30:50 +12:00
2022-05-30 19:24:06 +12:00
> Known Mermaid problem after major update (fix pending)
2021-09-18 04:57:26 +12:00
<p align="center">
<img src="https://raw.githubusercontent.com/bluxmit/alnoda-workspaces/main/workspaces/mkdocs-magicspace/img/mkdocs-collage.png" alt="Collage" width="750">
2021-09-18 04:57:26 +12:00
</p>
## Why this images
2021-09-18 04:57:26 +12:00
If want a ready tool to develop and build beautiful doccumentation websites with only Markdown.
2021-07-31 00:18:29 +12:00
2021-09-18 04:57:26 +12:00
## Why documentation websites with MkDocs
2021-07-31 00:18:29 +12:00
2021-09-18 04:57:26 +12:00
*Why create separate documentation websites? And if so, why MkDocs?*
2021-07-31 00:18:29 +12:00
- MkDocs website with beautiful themes looks much better than any readme file. The resulting documentation website looks professional and awesome.
- MkDocs adds text search to your documentation website.
- In the case of closed-source software, sharing readme files from the git repository with external users is not an option.
- Github does not render beautiful extended markdown features like admonitions, tabs, etc. Neither renders diagrams, formulas, swagger docs, or notebooks.
2021-07-31 00:18:29 +12:00
- Using MkDocs-MagicSpace you create documentation from the same markdown readme files you have in your repo together with the code. And you
can create a unified documentation website from multiple repositories in Github, GitLab, Bitbucket.
2021-07-31 00:18:29 +12:00
- You can add such features as Google Analytics, multi-language localization.
## Start
```
2022-05-24 04:13:15 +12:00
docker run --name space-1 -d -p 8020-8040:8020-8040 alnoda/mkdocs-magicspace
```
2021-07-31 00:18:29 +12:00
and open [localhost:8020](http://localhost:8020) in browser.
2021-07-31 00:18:29 +12:00
## Features
2021-09-18 04:57:26 +12:00
**MkDocs:**
2021-07-31 00:18:29 +12:00
- [**MkDocs**](https://www.mkdocs.org/) - a fast, simple and downright gorgeous static site generator that's geared towards
2021-07-31 00:18:29 +12:00
building project documentation.
- [**Material for MkDocs**](https://squidfunk.github.io/mkdocs-material/) - gorgeous theme for MkDocs.
2021-07-31 00:18:29 +12:00
- [PyMdown Extensions](https://facelessuser.github.io/pymdown-extensions/) - add even more cool features of the extended markdown: sub- and superscripts, keys, magic links, sane headers etc.
- [Mkdocs-macro plugin](https://mkdocs-macros-plugin.readthedocs.io/en/latest/) - add variables and macros written in Python!
- [Mkdocs-multirepo-plugin](https://github.com/jdoiro3/mkdocs-multirepo-plugin) - import docs directly from git repositories.
2021-07-31 00:18:29 +12:00
- [Mkdocs-monorepo plugin](https://backstage.github.io/mkdocs-monorepo-plugin/) - build multiple documentation folders in a single Mkdocs. Designed for large codebases.
- [MkDocs Newsletter](https://lyz-code.github.io/mkdocs-newsletter/) - show the changes of documentation repositories in a user friendly format, at the same time that it's easy for the authors to maintain.
- [Mkdocs-mermaid2-plugin](https://github.com/fralau/mkdocs-mermaid2-plugin) - renders textual graph descriptions into Mermaid graphs (flow charts, sequence diagrams, pie charts, etc.).
- [Pygments](https://pygments.org/) - a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code, with over 500 languages and other text formats.
- [Mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin) - include Markdown files completely or partially, and include files of any type.
- [Mkdocs-table-reader-plugin](https://pypi.org/project/mkdocs-table-reader-plugin/) - directly insert CSV files as tables in your website.
2021-09-18 04:57:26 +12:00
**Dev tools:**
2021-07-31 00:18:29 +12:00
- [**Eclipse Theia**](https://theia-ide.org/docs/) - open source version of popular Visual Studio Code IDE. Theia is trully open-source, has
VS-Code extensions and works in browser. This means it can run inside a docker container on local machine or in cloud. A lot of beautiful color themes and many common plugins are already installed to save time.
- [**Terminal**](https://github.com/tsl0922/ttyd) - secure browser-based terminal.
- [**FileBrowser**](https://github.com/filebrowser/filebrowser) - manage files and folders inside the workspace, and exchange data between local environment and the workspace
- [**Cronicle**](https://github.com/jhuckaby/Cronicle) - task scheduler and runner, with a web based front-end UI. It handles both scheduled, repeating and on-demand jobs, targeting any number of worker servers, with real-time stats and live log viewer.
- [**Static File Server**](https://github.com/vercel/serve) - view any static html sites as easy as if you do it on your local machine. Serve static websites easily.
- [**Ungit**](https://github.com/FredrikNoren/ungit) - rings user friendliness to git without sacrificing the versatility of it.
- [**MkDocs**](https://squidfunk.github.io/mkdocs-material/) - create awesome documentation for your project with only markdown.
- [**Midnight Commander**](https://midnight-commander.org/) - Feature rich visual file manager with internal text viewer and editor.
- [**Process Monitor**](https://htop.dev/) - Monitor running process and resource utilization.
- Quicklaunch UI with getting started tutorial
2021-07-31 00:18:29 +12:00
Image is built from **Ubuntu 20.4** with the additional CLI apps
2021-07-31 00:18:29 +12:00
- [Zsh](https://www.zsh.org/), [Oh my Zsh](https://ohmyz.sh/)
- Python 3, Pip
- Node/nodeenv
- curl, wget, telnet, jq
- **Git:** git, git-flow, lazygit
- **File browsers:** mc, xplr
- **Text editors:** nano, vim, mcedit
- **System monitors:** ncdu, htop, glances, vizex
- **Process Control:** supervisord
- **Job scheduler:** cron
## Docs
2022-05-24 04:13:15 +12:00
See our guides on
- [**getting started**](https://mkdocs-magicspace.alnoda.org/tutorials/get-started/)
- [**extended Markdown tutorials**](https://mkdocs-magicspace.alnoda.org/tutorials/markdown/intro/)
- [**project docs**](https://docs.alnoda.org/)
## Demo
<div align="center" style="font-style: italic;">
Demo: MkDocs MagicSpace
</div>
<p align="center">
<img src="img/mkdocs-magicspace-demo.gif" alt="WID demo" width="900">
</p>