diff --git a/.github/workflows/build-badges.yml b/.github/workflows/build-badges.yml new file mode 100644 index 0000000..6880bf4 --- /dev/null +++ b/.github/workflows/build-badges.yml @@ -0,0 +1,21 @@ +name: Build custom repository badges + +on: [push] + +jobs: + + create_badges: + name: create_gist_badges + + runs-on: ubuntu-latest + + steps: + - name: Create repository activity badge + uses: schneegans/dynamic-badges-action@v1.7.0 + with: + auth: ${{ secrets.GIST_SECRET }} + gistID: a9a2b2a02fda1b33461d53ddfe69d649 + filename: cI2C_status_badge.json + label: "Status" + message: ${{ vars.REPO_STATUS }} + color: ${{ vars.REPO_STATUS_COLOR }} diff --git a/README.md b/README.md index f3a7390..41c79ce 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ -# cI2C [![CodeFactor](https://www.codefactor.io/repository/github/smfsw/ci2c/badge)](https://www.codefactor.io/repository/github/smfsw/ci2c) +# cI2C + +[![author](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/auth_SMFSW.json)](https://github.com/SMFSW) +![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/cI2C_status_badge.json) +[![license](https://img.shields.io/badge/License-MIT-darkred.svg)](LICENSE) +[![CodeFactor](https://www.codefactor.io/repository/github/smfsw/ci2c/badge)](https://www.codefactor.io/repository/github/smfsw/ci2c) + +![platform](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/platform_INO.json) + +[![doxy](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/tool_DOXY.json)](https://smfsw.github.io/cI2C) +[![re_note](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/tool_RN.json)](ReleaseNotes.md) Arduino Hardware I2C for AVR (plain c) @@ -67,16 +77,6 @@ following examples should work with any I2C EEPROM/FRAM with address 0x50 * [ci2c_master_read.ino](examples/ci2c_master_read/ci2c_master_read.ino): Read some bytes in FRAM * [ci2c_advanced.ino](examples/ci2c_advanced/ci2c_advanced.ino): Redirecting slave write & read functions (to custom functions following typedef) -## Documentation - -Doxygen doc can be generated using "Doxyfile". - -See [generated documentation](https://smfsw.github.io/cI2C/) - -## Release Notes - -See [release notes](ReleaseNotes.md) - ## See also **cI2C**