-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
98 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
--- | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
push: | ||
branches: | ||
- main | ||
jobs: | ||
contrib-readme-job: | ||
runs-on: ubuntu-latest | ||
name: A job to automate contrib in readme | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Contribute List | ||
uses: akhilmhdh/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
contrib-readme-job: | ||
runs-on: ubuntu-latest | ||
name: A job to automate contrib in readme | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Contribute List | ||
uses: akhilmhdh/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,37 @@ | ||
--- | ||
name: Update Documentation Version | ||
on: | ||
push: | ||
branches: ["main"] | ||
paths: | ||
- 'artifacts/manifest.json' | ||
|
||
jobs: | ||
update-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
|
||
token: ${{ secrets.PAT }} | ||
# Replace the badge with the latest version | ||
# https://img.shields.io/badge/esp32s2-0.1.0-magenta | ||
- name: Read manifest and update docs | ||
run: | | ||
# Read version from manifest.json | ||
VERSION=$(jq -r .version artifacts/manifest.json) | ||
echo "VERSION=$VERSION" | ||
sed -i 's/badge\/openspool-[^-]*-magenta/badge\/openspool-'"$VERSION"'-magenta/' docs/index.md | ||
sed -i 's/badge\/openspool-[^-]*-magenta/badge\/openspool-'"$VERSION"'-magenta/' README.md | ||
echo "docs/index.md" | ||
cat docs/index.md | grep shields.io | ||
echo "README.md" | ||
cat README.md | grep shields.io | ||
# Read version from manifest.json | ||
VERSION=$(jq -r .version artifacts/manifest.json) | ||
echo "VERSION=$VERSION" | ||
sed -i 's/badge\/openspool-[^-]*-magenta/badge\/openspool-'"$VERSION"'-magenta/' docs/index.md | ||
sed -i 's/badge\/openspool-[^-]*-magenta/badge\/openspool-'"$VERSION"'-magenta/' README.md | ||
echo "docs/index.md" | ||
cat docs/index.md | grep shields.io | ||
echo "README.md" | ||
cat README.md | grep shields.io | ||
- name: Commit manifest file | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
committer_name: GitHub Actions | ||
committer_email: [email protected] | ||
committer_email: [email protected] | ||
message: Update manifest.json | ||
add: "docs/*.md README.md" | ||
push: true | ||
push: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/google/yamlfmt | ||
rev: v0.10.0 | ||
hooks: | ||
- id: yamlfmt | ||
# yamllint has trouble with scalars like '- lambda: |- ' | ||
# - repo: https://github.com/google/yamlfmt | ||
# rev: v0.10.0 | ||
# hooks: | ||
# - id: yamlfmt | ||
- repo: local | ||
hooks: | ||
- id: esphome-config-solo | ||
name: ESPHome Compile Solo | ||
entry: bash -c 'podman run -v "$(pwd)/firmware:/data" --rm ghcr.io/esphome/esphome:2024.11.0 config /data/config-solo.yaml' | ||
language: system | ||
pass_filenames: false | ||
files: ^firmware/ | ||
- id: esphome-config-ams | ||
name: ESPHome Compile AMS | ||
entry: bash -c 'podman run -v "$(pwd)/firmware:/data" --rm ghcr.io/esphome/esphome:2024.11.0 config /data/config-ams.yaml' | ||
language: system | ||
pass_filenames: false | ||
files: ^firmware/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
formatter: | ||
indent: 2 | ||
line_ending: lf | ||
include_document_start: true | ||
colons: align | ||
scan_folded_as_literal: true | ||
disallow_anchors: false | ||
retain_line_breaks: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
--- | ||
title: OpenSpool | ||
description: Your filament wants to be free | ||
theme: just-the-docs | ||
|
||
url: https://openspool.io | ||
|
||
aux_links: | ||
"Edit this page on Github": | ||
"Edit this page on Github": | ||
- https://github.com/spuder/openspool | ||
|
||
logo: "images/OpenSpoolLogoMedium1.png" | ||
|
||
favicon: "images/favicon.ico" | ||
|
||
color_scheme: dark | ||
|
||
plugins: | ||
- jekyll-default-layout | ||
|
||
head_scripts: | ||
# https://github.com/esphome/esp-web-tools/issues/515#issuecomment-2387664391 | ||
# - https://unpkg.com/@improv-wifi/[email protected]/dist/serial.min.js?module | ||
|
@@ -27,12 +21,11 @@ defaults: | |
path: "assets/js" | ||
values: | ||
js: true | ||
|
||
callouts: | ||
warning: | ||
title: Warning | ||
color: red | ||
note: | ||
note: | ||
title: Note | ||
color: blue | ||
important: | ||
|
@@ -42,7 +35,6 @@ callouts: | |
title: Caution | ||
color: yellow | ||
|
||
|
||
# footer_content: "Copyright © 2017-2020 Patrick Marsceill. Distributed by an <a href=\"https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt\">MIT license.</a>" | ||
|
||
# # Footer "Edit this page on GitHub" link text | ||
|
@@ -51,4 +43,4 @@ callouts: | |
# gh_edit_repository: "https://github.com/just-the-docs/just-the-docs" # the github URL for your repo | ||
# gh_edit_branch: "main" # the branch that your docs is served from | ||
# # gh_edit_source: docs # the source that your files originate from | ||
# gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately | ||
# gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
binary_sensor: | ||
- platform: gpio | ||
id: physical_button | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
improv_serial: | ||
# next_url: "http://{{ip_address}}" | ||
# next_url: "http://{{ip_address}}" |
Oops, something went wrong.