Skip to content

Commit

Permalink
Docs tidying/tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed Jan 28, 2025
1 parent b6564d0 commit 7820d62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
8 changes: 3 additions & 5 deletions docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
---
layout: page
title: Contributing
nav_order: 4
---

# Contributing

## How To Contribute
## How to contribute

Thanks for looking here! We'd love your help. The micro:bit project is only
possible through contributions of companies and individuals around the world.

This project is managed [in this GitHub project](https://github.com/microbit-foundation/microbit-fs), and the best way to contribute
is to jump in and fix/file issues.

## Code of Conduct
## Code of conduct

Trust, partnership, simplicity and passion are our core values we live and
breathe in our daily work life and within our projects. Our open-source
Expand All @@ -31,7 +29,7 @@ should breaches occur.

[Issue tracker](https://github.com/microbit-foundation/microbit-fs/issues)

## Development Workflow
## Development workflow

This project follows a fairly standard node.js process:

Expand Down
14 changes: 5 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# micro:bit Filesystem

<img alt="microbit-fs logo" src="img/microbit-fs-logo.png" style="max-width: 250px">

This is the documentation for the micro:bit Filesystem library.
## Introduction

This library can be used to add files with Python code (or any other content)
into a MicroPython hex file, ready to be loaded into a micro:bit.
Expand All @@ -14,13 +12,11 @@ This library can also generate [Universal
Hex](https://github.com/microbit-foundation/spec-universal-hex) files to create
a singe hex that can be loaded in any micro:bit board.

## Navigation
## Getting started

- ⬆️ The header at the top contains a search bar
- ⬅️ The menu on the left shows you the available documentation pages
- ⬇️ If you'd like to contribute to the docs there is an edit link at the footer
Read the [Quick guide](./quick-guide.md).

## Other Documentation
## Related documentation

- [MicroPython user docs page for filesystem](https://microbit-micropython.readthedocs.io/en/v1.0.1/filesystem.html)
- [The micro:bit Tech Site contains general technical information about the
Expand All @@ -29,7 +25,7 @@ a singe hex that can be loaded in any micro:bit board.
## License

This documentation, as well as the rest of the source files located in the
https://github.com/microbit-foundation/microbit-fs repository, is
[GitHub repository](https://github.com/microbit-foundation/microbit-fs), is
released under the MIT open source license.

SPDX-License-Identifier: MIT
10 changes: 4 additions & 6 deletions docs/quick-guide.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
layout: default
title: Quick Guide
nav_order: 2
title: Quick guide
---

# Quick Guide
# Quick guide

## npm package

Expand All @@ -14,7 +12,7 @@ You can integrate this library in your project using the [npm package](https://w
$ npm add @microbit/microbit-fs
```

## MicroPython Filesystem inside a hex file
## MicroPython filesystem inside a hex file

Initialise a File System instance with a MicroPython Intel Hex string and start operating on files:

Expand Down Expand Up @@ -90,7 +88,7 @@ if (microbitFs.isAppendedScriptPresent(finalHexStr)) {
}
```

## Read Device Memory Info data
## Read device memory info data

```js
var deviceMemInfoData = getIntelHexDeviceMemInfo(IntelHexStr);
Expand Down

0 comments on commit 7820d62

Please sign in to comment.