Skip to content

Commit f081352

Browse files
authored
Merge pull request #143 from basemate/docs_test
Support new Doc App
2 parents bfe3d19 + 024e035 commit f081352

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+115
-90
lines changed

docs/README.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
# Documentation
2-
3-
## Getting started
4-
5-
1. [Install](./install)
6-
2. [Concepts](./concepts)
7-
3. [Core Components](./components)
8-
4. [Integrations](./integrations)
9-
5. [Tooling](./tooling_and_ecosystem)
10-
11-
## Diving deeper
12-
13-
6. [Extend](./extend)
14-
7. [Architecture](./architecture)
15-
8. [Contribute](./contribute)
1+
# Table of Contents
2+
3+
1. [Install](/docs/install)
4+
2. [Concepts](/docs/concepts)
5+
3. [Core Components](/docs/components)
6+
4. [Integrations](/docs/integrations)
7+
5. [Tooling](/docs/tooling)
8+
6. [Extend](/docs/extend)
9+
7. [Architecture](/docs/architecture)
10+
8. [Contribute](/docs/contribute)

docs/architecture/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this section, we take a deep dive into how Matestack is implemented.
44

55
**The Matestack core was developed while iterating concepts following the main goal of `just making it work`. Therefore, the core is not yet well engineered in some places. After we were happy with it working, we've spent quite some time writing tests to save the status quo, and now we're about to refactor the core.**
66

7-
Please refer to the [detailed architectural drawing](./matestack_rendering.png) while reading the following documentation.
7+
Please refer to the [detailed architectural drawing](/docs/architecture/matestack_rendering.png) while reading the following documentation.
88

99
## Example
1010

docs/components/README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
# Core Components
22

33
matestack provides a wide set of core components, which enables you to easily build your UI.
4-
You can build your [own components](../extend/custom_components.md) as well, either static or dynamic.
4+
You can build your [own components](/docs/extend/custom_components.md) as well, either static or dynamic.
55

66
## Static Core Components
77

8-
- [div](./div.md)
9-
- [header](./header.md)
10-
- [footer](./footer.md)
11-
- [main](./main.md)
12-
- [nav](./nav,md)
13-
- [section](./section.md)
14-
- [br](./br.md)
15-
- [hr](./hr.md)
16-
- [heading](./heading.md)
17-
- [plain](./plain.md)
18-
- [pg](./pg.md)
19-
- [span](./span.md)
20-
- [icon](./icon.md)
21-
- [list](./list.md)
8+
- [div](/docs/components/div.md)
9+
- [header](/docs/components/header.md)
10+
- [footer](/docs/components/footer.md)
11+
- [main](/docs/components/main.md)
12+
- [nav](/docs/components/nav,md)
13+
- [section](/docs/components/section.md)
14+
- [br](/docs/components/br.md)
15+
- [hr](/docs/components/hr.md)
16+
- [heading](/docs/components/heading.md)
17+
- [plain](/docs/components/plain.md)
18+
- [pg](/docs/components/pg.md)
19+
- [span](/docs/components/span.md)
20+
- [icon](/docs/components/icon.md)
21+
- [list](/docs/components/list.md)
2222
- ul
2323
- ol
2424
- li
25-
- [table](./table.md)
25+
- [table](/docs/components/table.md)
2626
- th
2727
- tr
2828
- td
29-
- [img](./img.md)
30-
- [video](./video.md)
31-
- [button](./button.md)
32-
- [link](./link.md)
33-
- [label](./label.md)
34-
- [progress](./progress.md)
29+
- [img](/docs/components/img.md)
30+
- [video](/docs/components/video.md)
31+
- [button](/docs/components/button.md)
32+
- [link](/docs/components/link.md)
33+
- [label](/docs/components/label.md)
34+
- [progress](/docs/components/progress.md)
3535

3636
## Dynamic Core Components
3737

38-
- [form](./form.md)
38+
- [form](/docs/components/form.md)
3939
- form_input
4040
- form_select
4141
- form_submit
42-
- [action](./action.md)
43-
- [transition](./transition.md)
44-
- [onclick](./onclick.md)
42+
- [action](/docs/components/action.md)
43+
- [transition](/docs/components/transition.md)
44+
- [onclick](/docs/components/onclick.md)

docs/components/action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Action
22

3-
Show [specs](../../spec/usage/components/action_spec.rb)
3+
Show [specs](/spec/usage/components/action_spec.rb)
44

55
The action component allows us to trigger HTTP requests!
66

@@ -225,7 +225,7 @@ end
225225

226226
### Example 3.1: Async request with success event emit used for rerendering
227227

228-
Below, we define an action component and an async component. The async component is documented [here](./async.md),
228+
Below, we define an action component and an async component. The async component is documented [here](/docs/components/async.md),
229229
for now it is just important that it waits for our `action_config` success message and will get re-rendered.
230230

231231
```ruby

docs/components/async.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Async
22

3-
Show [specs](../../spec/usage/components/async_spec.rb)
3+
Show [specs](/spec/usage/components/async_spec.rb)
44

55
As the name suggests, the async component allows us to let our components behave asynchronously!
66

docs/components/blockquote.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Blockquote
22

3-
Show [specs](../../spec/usage/components/blockquote_spec.rb)
3+
Show [specs](/spec/usage/components/blockquote_spec.rb)
44

55
The HTML blockquote tag implemented in ruby.
66

docs/components/br.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Br
22

3-
Show [specs](../../spec/usage/components/br_spec.rb)
3+
Show [specs](/spec/usage/components/br_spec.rb)
44

55
The HTML `<br>` tag implemented in ruby.
66

docs/components/button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Button
22

3-
Show [specs](../../spec/usage/components/button_spec.rb)
3+
Show [specs](/spec/usage/components/button_spec.rb)
44

55
The HTML `<button>` tag implemented in Ruby.
66

docs/components/caption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Caption
22

3-
Show [specs](../../spec/usage/components/caption_spec.rb)
3+
Show [specs](/spec/usage/components/caption_spec.rb)
44

55
The HTML `<caption>` tag implemented in ruby. According to the [W3C specification](https://www.w3schools.com/tags/tag_caption.asp), it defines a table caption, it must be inserted directly after the `<table>` tag, and there should only be one caption per table.
66

docs/components/collection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# matestack core component: Collection
22

3-
Show [specs](../../spec/usage/components/collection_spec.rb)
3+
Show [specs](/spec/usage/components/collection_spec.rb)
44

55
The `collection` component is designed to
66

0 commit comments

Comments
 (0)