Skip to content

Commit

Permalink
maint(docs): Improve the Mockup documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Oct 7, 2023
1 parent 9934f93 commit 2f79bf4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/pat/autotoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Automatically create a table of contents.

### Example 1

<script src="https://unpkg.com/@plone/mockup@latest/dist/bundle.min.js"></script>

<div class="pat-autotoc"
data-pat-autotoc="scrollDuration:slow;levels:h4,h5,h6;">
<h4>Title 1</h4>
Expand Down
3 changes: 2 additions & 1 deletion src/pat/toggle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ title: Toggle

# Toggle pattern

Toggles things.
A pattern to toggle classes on HTML elements.


## Migration note (Plone 6)

Expand Down
3 changes: 3 additions & 0 deletions src/pat/toolbar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ title: Toolbar

# Toolbar pattern.

Render the Plone toolbar.


## Example

```html
Expand Down
2 changes: 2 additions & 0 deletions src/pat/tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ title: Tree

# Tree

Renders a navigatable tree from a data structure.

Tree pattern.

## Configuration
Expand Down
3 changes: 3 additions & 0 deletions src/pat/upload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ title: Upload

# Upload pattern.

Upload files to Plone.


## Configuration

| Option | Type | Default | Description |
Expand Down

0 comments on commit 2f79bf4

Please sign in to comment.