Skip to content

Commit

Permalink
Bump typedoc from 0.25.4 to 0.27.4 and add better CI integration (#1244)
Browse files Browse the repository at this point in the history
* Bump typedoc from 0.25.4 to 0.27.2

Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.4 to 0.27.2.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](TypeStrong/typedoc@v0.25.4...v0.27.2)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix broken build; update docs.

* Restore deleted file.

* Update typedoc.

* Add workflow to update docs.

* Fix name.

* Run correct command.

* Commit from GitHub Actions (Update Documentation)

* Fix CNAME issue.

* Commit from GitHub Actions (Update Documentation)

* Prevent commit spam.

* Commit from GitHub Actions (Update Documentation)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Demian Katz <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 11, 2024
1 parent 2f455a2 commit a816f29
Show file tree
Hide file tree
Showing 207 changed files with 2,110 additions and 1,933 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Update Documentation

on: [push, pull_request]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Checkout
uses: actions/checkout@v4

- name: Install npm dependencies
run: npm install

- name: Build documentation
run: npm run docs

- name: Regenerate CNAME file
run: echo docs.universalviewer.io > docs/CNAME

- name: Auto-commit fixes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "['docs/']"
2 changes: 1 addition & 1 deletion docs/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docs.universalviewer.io
docs.universalviewer.io
14 changes: 0 additions & 14 deletions docs/assets/highlight.css
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
:root {
--light-hl-0: #001080;
--dark-hl-0: #9CDCFE;
--light-hl-1: #000000;
--dark-hl-1: #D4D4D4;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}

@media (prefers-color-scheme: light) { :root {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--code-background: var(--light-code-background);
} }

@media (prefers-color-scheme: dark) { :root {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--code-background: var(--dark-code-background);
} }

:root[data-theme='light'] {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--code-background: var(--light-code-background);
}

:root[data-theme='dark'] {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--code-background: var(--dark-code-background);
}

.hl-0 { color: var(--hl-0); }
.hl-1 { color: var(--hl-1); }
pre, code { background: var(--code-background); }
1 change: 1 addition & 0 deletions docs/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a816f29

Please sign in to comment.