Flipper Zero 文档仓库
To fix a bug or add something new to this repository, you need to open a pull-request. Also, on every page of the site, there is an edit icon (pencil) to the right of the header.
shared foldershared until they're language-specificAfter creating a new document, add it to the nav: block in the language-specific mkdocs.yml.
Documents are written in Markdown. Material for Mkdocs and Mkdocs docs might help you showing what blocks are supported.
All images, videos, and other assets must be uploaded to the assets folder.
We have some custom macros to embed "gifs" and videos.
To embed a "gif" (autoplayable silent MP4 video), use:
{{ gif("/assets/example-gif-file-name.mp4") }}To embed a video, use:
{{ video("/assets/example-video-file-name.mp4") }}To embed a Flipper Zero screenshot, use:
{{ screenshot("/assets/example-screenshot.png") }}The screenshot should be 128*64 PNG with transparent background.
You can run mkdocs server locally and render changes on the fly while editing.
brew install yq rsync
Install mkdocs insiders version if you have a token:
pip3 install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
pip3 install mkdocs-macros-plugin mkdocs-git-revision-date-localized-plugin mkdocs-smart-meta-plugin
OR onstall public version
pip3 install mkdocs-material mkdocs-macros-plugin mkdocs-git-revision-date-localized-plugin mkdocs-smart-meta-plugin
python3 ./serve.py being in the root directoryhttp://localhost:8000P.S. If you use publoc version of mkdocs the live preview might look a bit different to production, because we use mkdocs-material-insiders version.
TODO
TODO
暂无开放 Issues,或尚未同步最近议题。