-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
6903315
commit 8174a5d
Showing
5 changed files
with
66 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
mkdocs: | ||
name: Build & Deploy Documentation | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Deploy Documentation | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CONFIG_FILE: mkdocs.yml |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Ticker Widget | ||
|
||
A web component to display the latest updates from a ticker instance. | ||
|
||
## Usage | ||
|
||
!!! important | ||
|
||
We will provide a self hosted version of this component soon. Until then you can use the unpkg.com CDN to include the component in your website. | ||
|
||
You need to include the script from unpkg.com and then you can use the component like this: | ||
|
||
```html | ||
<script type="module" src="https://unpkg.com/@systemli/ticker-widget"></script> | ||
<ticker-timeline domain="updates.systemli.org" limit="10" header="Latest Updates"></ticker-timeline> | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Attribute | Description | Type | Default | | ||
| -------- | --------- | ----------- | -------- | ----------------------------------- | | ||
| `apiUrl` | `api-url` | | `string` | `'https://ticker-api.systemli.org'` | | ||
| `domain` | `domain` | | `string` | `undefined` | | ||
| `header` | `header` | | `string` | `''` | | ||
| `limit` | `limit` | | `number` | `10` | | ||
|
||
## Demo | ||
|
||
<iframe src="/demo.html" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" title="systemli-ticker-widget"></iframe> |
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,16 @@ | ||
--- | ||
site_name: Ticker Widget | ||
site_author: Systemli | ||
repo_url: https://github.com/systemli/ticker-widget | ||
|
||
nav: | ||
- Home: index.md | ||
|
||
theme: | ||
name: material | ||
palette: | ||
primary: "blue" | ||
accent: "blue" | ||
|
||
markdown_extensions: | ||
- admonition |