GithubHelp home page GithubHelp logo

gnixihsil / ai-on-the-edge-device-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jomjol/ai-on-the-edge-device-docs

0.0 0.0 0.0 88.54 MB

Github for hosting the documentation for the project: https://github.com/jomjol/AI-on-the-edge-device

Home Page: https://jomjol.github.io/AI-on-the-edge-device-docs/

Python 94.57% HTML 5.43%

ai-on-the-edge-device-docs's Introduction

Documentation for the AI on the Edge Device Project

Go to https://jomjol.github.io/AI-on-the-edge-device-docs to use it.

This repo contains the documentation for the AI-on-the-Edge-Device Project.

How does it work

  1. You can edit any *.md document in the docs folder.
  2. Then create a Pull Request for it to merge it into the main branch (or edit it directly in the main branch if you have the required rights).
  3. When it got merged, the Github Actions will re-generate the documentation and place it in the gh-pages branch. This branch automatically gets populated to the public Documentation Site

Migrating existing Wiki Pages

The files from the AI-on-the-Edge-Device Wiki got exported and added to this repo. Unless the files are listed in the docs/nav.yml file, they will be listed in the assorted pages section of the left sidebar.

In the end, we should review all pages from there step by step and add them to the upper part of the navigation.

Tasks to do

  • Make sure there is a top level title (#) and all other chapter headers are on lower levels (##, ###)
  • Check the links in the documents
  • Fetch included images and place them directly in the docs/img folder
  • Rewrite to have a clear structure

Editing a page

Each page has a link on its top-right corner Edit on GitHub which brings you directly to the Github editor.

Adding new pages

  1. Add a new *.md document in the docs folder.
  2. Add the filename to the docs/nav.yml at the wished position in the Links section.

Parameter Documentation

Each parameter which is listed in the configfile in the main project repo has its own description page in the folder param-docs/parameter-pages (grouped by the config sections). Those pages can be edited as needed.

The script concat-parameter-pages.py in param-docs should be run whenever one of the pages changed. It then concatenates all pages into the single ../docs/Parameters.md which gets be added to the mkdocs documentation.

Template Generator

The script generate-template-param-doc-pages.py should be run whenever a new parameter gets added to the config file. It then checks if there is already page for each of the parameters.

  • If no page exists yet, a templated page gets generated.
  • Existing pages do not get modified.

If the parameter is listed in expert-params.txt, an Expert warning will be shown.

If the parameter is listed in hidden-in-ui.txt, a Note will be shown.

Formating

Boxes

Boxes can be shown using the admonition extension.

!!! Note
    I am a note

Make sure to have 4-whitespace Intents! Possible types: attention, caution, danger, error, hint, important, note, tip, and warning See https://python-markdown.github.io/extensions/admonition/

Local Test

To test it locally:

  1. Clone this repo

  2. Install the required tools (See also .github/workflows/build-docs.yaml):

    pip install --upgrade pip
    pip install mkdocs mkdocs-gen-files mkdocs-awesome-pages-plugin mkdocs-material pymdown-extensions
    
  3. In the main folder of the repo, call mkdocs serve (and keep it running). This will locally generate the documentation. You can access it under http://127.0.0.1:8000/AI-on-the-edge-device-docs/

    Any change to the files will automatically be applied.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.