Skip to content

Commit f0d0c79

Browse files
committed
Add version numbers to guide pages
1 parent e4c8a71 commit f0d0c79

17 files changed

+46
-20
lines changed

docs/_guide/abilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
chapter: 14
33
subtitle: Abilities
4-
hidden: true
4+
version: 2
55
---
66

77
Under the hood Catalyst's controller decorator is comprised of a handful of separate "abilities". An "ability" is essentially a mixin or perhaps "higher order class". An ability takes a class and returns an extended class that adds additional behaviours. By convention all abilities exported by Catalyst are suffixed with `able` which we think is a nice way to denote that something is an ability and should be used as such.

docs/_guide/actions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
chapter: 6
2+
version: 1
3+
chapter: 5
4+
title: Actions
35
subtitle: Binding Events
46
---
57

docs/_guide/anti-patterns.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
chapter: 12
3-
subtitle: Anti Patterns
2+
version: 1
3+
chapter: 11
4+
title: Anti Patterns
5+
subtitle: Things to avoid building components
46
---
57

68
{% capture octx %}<svg class="octicon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill-rule="evenodd" d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm8.036-4.024a.75.75 0 00-1.06 1.06L10.939 12l-2.963 2.963a.75.75 0 101.06 1.06L12 13.06l2.963 2.964a.75.75 0 001.061-1.06L13.061 12l2.963-2.964a.75.75 0 10-1.06-1.06L12 10.939 9.036 7.976z"></path></svg>{% endcapture %}

docs/_guide/attrs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
chapter: 7
2+
version: 1
3+
chapter: 6
4+
title: Attrs
35
subtitle: Using attributes as configuration
46
---
57

docs/_guide/conventions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
chapter: 10
3-
subtitle: Conventions
2+
version: 1
3+
chapter: 9
4+
title: Conventions
5+
subtitle: Common naming and patterns
46
---
57

68
Catalyst strives for convention over code. Here are a few conventions we recommend when writing Catalyst code:

docs/_guide/create-ability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
chapter: 16
33
subtitle: Create your own abilities
4-
hidden: true
4+
version: 2
55
---
66

77
Catalyst provides the functionality to create your own abilities, with a few helper methods and a `controllable` base-level ability. These are explained in detail below, but for a quick summary they are:

docs/_guide/decorators.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
chapter: 4
2+
version: 1
3+
chapter: 3
4+
title: Decorators
35
subtitle: Using TypeScript for ergonomics
46
---
57

docs/_guide/introduction.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
subtitle: Origins & Concepts
2+
version: 1
33
chapter: 1
4+
title: Introduction
5+
subtitle: Origins & Concepts
46
---
57

68
Catalyst is a set of patterns and techniques for developing _components_ within a complex application. At its core, Catalyst simply provides a small library of functions to make developing [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) easier. The library is an implementation detail, though. The concepts are what we're most interested in.

docs/_guide/lazy-elements.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
chapter: 17
2+
version: 1
3+
chapter: 13
4+
title: Lazy Elements
35
subtitle: Dynamically load elements just in time
46
---
57

docs/_guide/lifecycle-hooks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2-
chapter: 8
2+
version: 1
3+
chapter: 7
4+
title: Lifecycle Hooks
35
subtitle: Observing the life cycle of an element
46
---
57

0 commit comments

Comments
 (0)