Skip to content

Commit 09de77a

Browse files
committed
removed .html from notes links
1 parent 5e7b24b commit 09de77a

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

docs/client-dsl/component-basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class MyComponent < HyperComponent
2020
...
2121
end
2222
```
23-
> **[More on the HyperComponent base class](notes.html#the-hypercomponent-base-class)**
23+
> **[More on the HyperComponent base class](notes#the-hypercomponent-base-class)**
2424
2525
## The `render` Callback
2626

27-
At a minimum every *concrete* component class must define a `render` block which generates one or more child elements. Those children may in turn have an arbitrarily deep structure. **[More on concrete and abstract components](notes.html#abstract-and-concrete-components)**
27+
At a minimum every *concrete* component class must define a `render` block which generates one or more child elements. Those children may in turn have an arbitrarily deep structure. **[More on concrete and abstract components](notes#abstract-and-concrete-components)**
2828

2929
```ruby
3030
class Component < HyperComponent
@@ -33,7 +33,7 @@ class Component < HyperComponent
3333
end
3434
end
3535
```
36-
> The code between the `do` and `end` is called a block. **[More here...](notes.html#blocks-in-ruby)**
36+
> The code between the `do` and `end` is called a block. **[More here...](notes#blocks-in-ruby)**
3737
3838
To save a little typing you can also specify the top level element to be rendered:
3939

docs/client-dsl/component-details.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ end
3535
```
3636
Here we don't determine the actual number or contents of the `LI` children until runtime.
3737

38-
>**[The `word_count` method...](notes.html#word-count-method)**
38+
>**[The `word_count` method...](notes#word-count-method)**
3939
40-
>Dynamically generating components creates a new concept called ownership. **[More here...](notes.html#ownership)**
40+
>Dynamically generating components creates a new concept called ownership. **[More here...](notes#ownership)**
4141
4242
### Keys
4343

@@ -62,7 +62,7 @@ identify the ones that are the same:
6262
You don't have to stress out too much about keys, its easy to add them later. Just keep the concept in
6363
mind when you are generating long lists, tables, and divs with many children.
6464

65-
> **[More on how Hyperstack generates keys...](notes.html#generating-keys)**
65+
> **[More on how Hyperstack generates keys...](notes#generating-keys)**
6666
6767

6868

docs/client-dsl/html-css.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,12 @@ end
4646

4747
### Naming Conventions
4848

49-
To distinguish between HTML and SVG tags, builtin components and Application Defined components, the following
49+
To distinguish between HTML and SVG tags, builtin components and application defined components the following
5050
naming conventions are followed:
5151

52-
+ `ALLCAPS` denotes a HTML, SVG or builtin React psuedo component such as `FRAGMENT`.
52+
+ `ALLCAPS` denotes a HTML, SVG or builtin React psuedo components such as `FRAGMENT`.
5353
+ `CamelCase` denotes an application defined component class like `TodoList`.
5454

55-
56-
5755
### HTML parameters
5856

5957
You can pass any expected parameter to a HTML or SVG element:
@@ -77,7 +75,7 @@ P(class: :bright) { }
7775
P(class: [:bright, :blue]) { } # class='bright blue'
7876
```
7977

80-
For `style` you need to pass a hash using the [React style conventions](https://reactjs.org/docs/dom-elements.html#style):
78+
For `style` you need to pass a hash using the **[React style conventions](https://reactjs.org/docs/dom-elements.html#style):**
8179

8280
```ruby
8381
P(style: { display: item[:some_property] == "some state" ? :block : :none })
@@ -98,4 +96,4 @@ will generate
9896
<a flag=true href='/' class='myclass'></a>
9997
```
10098

101-
> **[more on passing hashes to methods](notes.html#ruby-hash-params)**
99+
> **[more on passing hashes to methods](notes#ruby-hash-params)**

0 commit comments

Comments
 (0)