Skip to content

Commit

Permalink
Introduce new groups in the technical documentation. (#984)
Browse files Browse the repository at this point in the history
* Move TLVError and HAPHTTPError to the test-utils directory

* Add link to the guide for presenting erroneous accessory state to the user

* Upgrade supported typescript version

* Organize main documentation page by groups

* Regenerate docs

* Setup lint docs
  • Loading branch information
Supereg committed Nov 18, 2022
1 parent 5973275 commit 529205e
Show file tree
Hide file tree
Showing 794 changed files with 876,715 additions and 3,342 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: Supereg
custom: "https://paypal.me/Supereg"
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ jobs:
lint:
needs: build_and_test
uses: homebridge/.github/.github/workflows/eslint.yml@main
lint-docs:
needs: build_and_test
uses: homebridge/.github/.github/workflows/lint-docs.yml@main
6 changes: 3 additions & 3 deletions docs/assets/highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--dark-hl-6: #6A9955;
--light-hl-7: #0070C1;
--dark-hl-7: #4FC1FF;
--light-code-background: #F5F5F5;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}

Expand Down Expand Up @@ -43,7 +43,7 @@
--code-background: var(--dark-code-background);
} }

body.light {
:root[data-theme='light'] {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
Expand All @@ -55,7 +55,7 @@ body.light {
--code-background: var(--light-code-background);
}

body.dark {
:root[data-theme='dark'] {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
Expand Down
Loading

0 comments on commit 529205e

Please sign in to comment.