Giter VIP home page Giter VIP logo

microbit-docs's Introduction

microbit-docs

Editing the docs

To edit micro:bit documentation, please edit the raw markdown files contained in the ./docs folder. Please note that any text placed inside a block like this:

[comment]: <> ({"className":"MicroBitAccelerometer"}) 

[comment]: <> ({"end":"MicroBitAccelerometer"})

Will be deleted and regenerated when python doc-gen.py is executed.

We use mkdocs version 0.15.3 to build this site, please use this version only.

mkdocs can be obtained via the pip command.

Live editing

It is recommended that docs are edited locally using mkdocs serve before submitting a pull request with changes.

Generating API documentation

Text placed in the following markdown comments:

[comment]: <> ({"className":"MicroBitAccelerometer"}) 

[comment]: <> ({"end":"MicroBitAccelerometer"})

Is automatically generated by the doc-gen.py script. Any changes made here will not be retained. Changes to API documentation should be made at the source: either microbit-dal or microbit.

Only maintainers of this repository are allowed to push updates to the live site.

Building the docs

To build the docs run the python script with the paths to microbit and microbit-dal as parameters.

python2.7 doc-gen.py -m ../lancasteruni/microbit -d ../lancasteruni/microbit-dal

The variable runtime must be manually changed in mkdocs.yml to match the the version of the DAL that is in use.

Archive

Old versions of the site are contained in the archive folder:

./docs/archive

and can be accessed using the specific version tag:

https://lancaster-university.github.io/microbit-docs/archive/v2.0.0-rc3/

Links to the archived versions are manually added to the /help/ page.

Uploading

To upload the docs to github.io run the python script python2.7 doc-gen.py -g

This will upload to the origin's gh-pages branch

microbit-docs's People

Contributors

jamesadevine avatar bluetooth-martin avatar finneyj avatar owenbrotherwood avatar microbit-sam avatar tballmsft avatar carlosperate avatar danjenkins avatar jaustin avatar smartyw avatar simonsapin avatar stigbjorlykke avatar thomas101 avatar thomasdenney avatar gbaman avatar

Watchers

James Cloos avatar  avatar

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.