Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update deps, add horizontal to list #41

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ci

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/setup-node@v4

- name: Install dependencies
run: npm install

- name: Build package
run: npm run build
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Zeno Docs

![Github Actions CI tests](https://github.com/zeno-ml/zenoml.com/actions/workflows/ci.yml/badge.svg)
[![DOI](https://img.shields.io/badge/doi-10.1145%2F3544548.3581268-red)](https://dl.acm.org/doi/10.1145/3544548.3581268)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
[![Discord](https://img.shields.io/discord/1086004954872950834)](https://discord.gg/km62pDKAkE)
[![Open with Zeno](https://img.shields.io/badge/%20-Open_with_Zeno-612593.svg?labelColor=white&logo=data:image/svg%2bxml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCAzMyAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMyIDE1Ljc4NDJMMTYuNDg2MiAxNS43ODQyTDE2LjQ4NjIgMC4yNzA0MDFMMjQuMzAyIDguMDg2MTdMMzIgMTUuNzg0MloiIGZpbGw9IiM2MTI1OTMiLz4K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YwNiAxNi40Nzk1TDMxLjc4NDggMTYuODAzN0wzMS40NjA2IDE3LjEyNzlMMzEuNDYwNiAxNi40Nzk1WiIgZmlsbD0iIzYxMjU5MyIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KPHBhdGggZD0iTTMyLjE4OCAxNi40NjkyTDMxLjk5MzIgMTYuNjY0MUwzMS43OTgzIDE2LjQ2OTJIMzIuMTg4WiIgZmlsbD0iIzYxMjU5MyIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KPHBhdGggZD0iTTI1LjM0MjEgMTYuNDM4OUwyOC42NTMyIDE5Ljc1TDI1LjMyNDYgMjMuMDc4NkwyNS4zNDIxIDE2LjQzODlaIiBmaWxsPSIjNjEyNTkzIiBmaWxsLW9wYWNpdHk9IjAuNSIvPgo8L3N2Zz4K)](https://zenoml.com)

This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.

### Installation
Expand Down
8 changes: 5 additions & 3 deletions docs/views/spec/other.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ A list of ViewElements. Can be used to render multiple view elements at once. Se
{`{
"type": "list"
"elements": ViewElement,
"horizontal": boolean,
"collapsible": "top" | "bottom",
"border": boolean,
"pad": boolean
Expand All @@ -112,6 +113,7 @@ A list of ViewElements. Can be used to render multiple view elements at once. Se
| Property | Type | Description |
| ----------- | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| elements | [ViewElement](/docs/views/spec/other) | Element used to render all the elements of the list. |
| horizontal | Optional[boolean] | If specified, renders list horizontally. |
| collapsible | Optional[String] | If specified, only renders four elements of the list per default but adds a _show more_ button to expand. Can specify either `"top"` or `"bottom"`. |
| border | Optional[boolean] | Whether to add a border around each list element. |
| pad | Optional[boolean] | Whether to add padding to each list element. |
Expand All @@ -130,9 +132,9 @@ A vertical stack of keyed elements. Can be used to combine different element typ

#### Properties

| Property | Type | Description |
| -------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| keys | Record<string:[ViewElement](/docs/views/spec/other)> | List of objects mapping from a String key to a ViewElement used to render the content of the data behind the key. |
| Property | Type | Description |
| -------- | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| keys | Record\<string:[ViewElement](/docs/views/spec/other)\> | List of objects mapping from a String key to a ViewElement used to render the content of the data behind the key. |

## Separated Values

Expand Down
Loading