Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into de-tw-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg committed Dec 16, 2024
2 parents cf98327 + 65e9d33 commit 52d0e78
Show file tree
Hide file tree
Showing 223 changed files with 2,854 additions and 2,452 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint code

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: Lint code
run: npm run lint

- name: Auto-commit fixes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "['src/']"
29 changes: 29 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: Auto-commit fixes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "['docs/']"
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ A community-developed open source project on a mission<br/> to help you share yo
</p>
<br/>
<p align="center">
<a href="#-sponsors"><img src="https://camo.githubusercontent.com/db8439fd8526d52fbc36437f988d0d8d8dd6913a/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f756e6976657273616c7669657765722f73706f6e736f72732f62616467652e737667" alt="Sponsors on Open Collective" data-canonical-src="https://opencollective.com/universalviewer/sponsors/badge.svg" style="max-width:100%;" /></a>
<a href="#-sponsors"><a href="https://opencollective.com/universalviewer/sponsors">
<img src="https://opencollective.com/universalviewer/sponsors/badge.svg" alt="Sponsors on Open Collective" />
</a>
<a href="https://app.netlify.com/sites/uv/deploys">
<img src="https://api.netlify.com/api/v1/badges/91dc58e8-49dd-495f-98bb-84570a0edb7c/deploy-status" />
</a>
<a href="https://github.com/UniversalViewer/universalviewer/blob/dev/LICENSE.txt"><img src="https://camo.githubusercontent.com/e80e20b31b4af7da8580f68d415779d250eee229/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f74687265652e737667" alt="License" data-canonical-src="https://img.shields.io/npm/l/universalviewer.svg" style="max-width:100%;"></a>
<a href="https://github.com/UniversalViewer/universalviewer/wiki">About</a>
</p>

<p align="center">
<a href="https://docs.google.com/forms/d/e/1FAIpQLSeHLD0kng5aXvGFsNN_tJGsZMTnp08Hv2F6kdGsJRb6bT0NWw/viewform" rel="nofollow"><strong>#</strong> slack</a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://x.com/universalviewer"><strong>@</strong> X</a>
<a href="https://github.com/UniversalViewer/universalviewer/blob/main/LICENSE.txt">
<img src="https://img.shields.io/npm/l/universalviewer.svg" alt="License" />
</a>
</p>
<p align="center"><a href="https://docs.google.com/forms/d/e/1FAIpQLSeHLD0kng5aXvGFsNN_tJGsZMTnp08Hv2F6kdGsJRb6bT0NWw/viewform" rel="nofollow"><strong>#</strong> Slack
</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://x.com/universalviewer"> <strong>@</strong> X</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="https://github.com/UniversalViewer/universalviewer/wiki"> About </a> </p>

<br/>

Expand Down
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 52d0e78

Please sign in to comment.