doc: split accumulation and conditions

This commit is contained in:
Felix Roos 2023-01-11 23:05:17 +01:00
parent d5f37e2cbe
commit db75dca118
4 changed files with 41 additions and 32 deletions

View File

@ -62,6 +62,7 @@ export const SIDEBAR: Sidebar = {
{ text: 'Control Parameters', link: 'functions/value-modifiers' },
{ text: 'Signals', link: 'learn/signals' },
{ text: 'Conditional Modifiers', link: 'learn/conditional-modifiers' },
{ text: 'Accumulation', link: 'learn/accumulation' },
{ text: 'Tonal Modifiers', link: 'learn/tonal' },
],
More: [

View File

@ -0,0 +1,30 @@
---
title: Accumulation Modifiers
description: Strudel Tutorial - Coding syntax
layout: ../../layouts/MainLayout.astro
---
import { MiniRepl } from '../../docs/MiniRepl';
import { JsDoc } from '../../docs/JsDoc';
# Accumulation Modifiers
## superimpose
<JsDoc client:idle name="Pattern.superimpose" h={0} />
## layer
<JsDoc client:idle name="Pattern.layer" h={0} />
## off
<JsDoc client:idle name="Pattern.off" h={0} />
## echo
<JsDoc client:idle name="Pattern.echo" h={0} />
## echoWith
<JsDoc client:idle name="Pattern.echoWith" h={0} />

View File

@ -8,36 +8,22 @@ import { JsDoc } from '../../docs/JsDoc';
# Conditional Modifiers
## every
## lastOf
<JsDoc client:idle name="Pattern.every" h={0} />
<JsDoc client:idle name="Pattern.lastOf" h={0} />
## firstOf
<JsDoc client:idle name="Pattern.firstOf" h={0} />
## when
<JsDoc client:idle name="Pattern.when" h={0} />
# Accumulation Modifiers
## chunk
## stack
<JsDoc client:idle name="Pattern.chunk" h={0} />
<JsDoc client:idle name="Pattern.stack" h={0} />
### chunkBack
## superimpose
<JsDoc client:idle name="Pattern.superimpose" h={0} />
## layer
<JsDoc client:idle name="Pattern.layer" h={0} />
## off
<JsDoc client:idle name="Pattern.off" h={0} />
## echo
<JsDoc client:idle name="Pattern.echo" h={0} />
## echoWith
<JsDoc client:idle name="Pattern.echoWith" h={0} />
<JsDoc client:idle name="Pattern.chunkBack" h={0} />

View File

@ -65,11 +65,3 @@ Some of these have equivalent operators in the Mini Notation:
### iterBack
<JsDoc client:idle name="Pattern.iterBack" h={0} />
## chunk
<JsDoc client:idle name="Pattern.chunk" h={0} />
### chunkBack
<JsDoc client:idle name="Pattern.chunkBack" h={0} />