You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+82-71Lines changed: 82 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
26
26
[Layer5](https://layer5.io)'s cloud native application and infrastructure management software enables engineers to expect more from their infrastructure. We embrace _developer_-defined infrastructure. We empower developers to change how they write applications, support _operators_ in rethinking how they run modern infrastructure, and enable _product owners_ to regain full-control over their product portfolio.
✔️ <em><strong>Explore more</strong></em> in the <ahref="https://layer5.io/community/handbook">Community Handbook</a>.<br />
38
38
</p>
39
39
</div>
40
-
Explore tutorials and documentation by product in the https://docs.layer5.io website; documentation and developer resources of Layer5 products.
40
+
Explore tutorials and documentation by product in the https://docs.layer5.io website; documentation and developer resources of Layer5 products. If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in 🚀
41
41
42
-
If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in 🚀
42
+
## Building the Documentation
43
43
44
-
### With Golang
44
+
<details>
45
45
46
+
<summary><h3>Build Docs with Golang</h3></summary>
46
47
If your local development environment has a supported version (v1.21.0+) of Golang installed, next you'll need to install extended Hugo version as it has necessary SCSS/SASS support. Find all the Hugo packages here: <https://github.com/gohugoio/hugo/releases/tag/v0.120.4>
47
48
48
49
Now to setup and run the site locally run:
@@ -53,17 +54,78 @@ Now to setup and run the site locally run:
53
54
54
55
If you pull down new code from GitHub, you will occasionally need to run `make setup` again. Otherwise, there's no need to re-run `make setup` each time the site is run, you can just run `make site` to get it going and have it automatically reload as you make and save site edits.
55
56
56
-
### With Docker
57
+
</details>
58
+
<details>
59
+
60
+
<summary><h3>Build Docs with Docker</h3></summary>
61
+
57
62
58
63
Running the site locally is simple. Provided you have Docker installed, clone this repo, run `make docker`, and then visit <http://localhost:1313>.
59
64
60
65
> [!IMPORTANT]
61
66
> This requires Docker Desktop version **4.24** or later, or Docker Engine with Docker
62
67
> Compose version [**2.22**](https://docs.docker.com/compose/file-watch/) or later.
63
68
64
-
## Layer5 Documentation Structure
69
+
</details>
70
+
71
+
<details>
72
+
73
+
<summary><h3>Contribution Guidelines</h3>
74
+
75
+
A detailed contribution guide for Layer5 Docs.
76
+
77
+
### Editing Markdown Content
78
+
79
+
Documentation content is written in Markdown and you'll find all files listed under the /content directory.
80
+
81
+
To create a new page with Markdown, create a file ending in `.md` in a `site/<subdirectory>`. The path in the content directory will be the URL route. For example, `site/docs/hello.md` will be served from the `/docs/hello` URL.
82
+
83
+
```yaml
84
+
---
85
+
title: 'My Title'
86
+
description: "A thorough, yet succinct description of the page's contents"
87
+
---
88
+
```
89
+
90
+
The significant keys in the YAML frontmatter are:
91
+
92
+
`title` (string) - This is the title of the page that will be set in the HTML title.
93
+
`description` (string) - This is a description of the page that will be set in the HTML description.
94
+
`permalink` (string - relative file path) - canonical location of the page
95
+
`category` (string) - section to which the page belongs.
96
+
`redirect_from` (string - relative file path) - in case the page was previously available elsewhere
97
+
98
+
<div> </div>
99
+
100
+
### Uploading Images to the site
101
+
102
+
To display images in a pop-up modal, use the following syntax: `` or `<img src="" alt="" />`.
103
+
104
+
**Note:**
105
+
106
+
- For images to show correctly on subpages, always provide the complete image path.
107
+
- When using the `<img />` tag, add `data-modal="false"` to prevent the image from opening in a modal e.g. a [logo](https://github.com/layer5io/docs/blob/0bef5a9a05214a9dda10d8a68431e41f5a36676d/layouts/partials/footer.html#L9).
108
+
109
+
### Adding Alert to the site
110
+
111
+
Use the following Syntax to add an Alert:
112
+
`{{< alert type="success" title="Note" >}} Your Note {{< /alert >}}`
113
+
114
+
-`type="danger"`: Alert used to indicate something related to security.
115
+
-`type="info"`: Alert used to write some information.
116
+
-`type="warning"`: Alert used to indicate a warning that might need attention.
117
+
-`type="note"`: Alert used to indicate a neutral information.
118
+
-`type="success"`: Alert used to indicate a positive information.
119
+
120
+
By default, if you don't specify a `title="Your Title"`, the title will be the same as the type name.
65
121
66
-
## High-Level Outline & Information Architecture for Layer5 Documentation
122
+
**Note-> Using an invalid alert type will lead to the default alert being used (i.e. success).**
123
+
124
+
</details>
125
+
126
+
## Documentation Structure
127
+
128
+
The following is the high-level outline and information architecture for Layer5 documentation.
67
129
68
130
**Goal:** Offer comprehensive, organized, and accessible documentation for diverse audiences, from new users to expert contributors.
69
131
@@ -73,43 +135,43 @@ Running the site locally is simple. Provided you have Docker installed, clone th
<summary><h3>Cloud Section: Information Architecture</h3></summary>
77
139
78
140
### Getting Started
79
141
80
-
-**Setting up Layer5 Account:** With a personal account on Layer5 Cloud, you can import or create infrastructural designs, collaborate with others through workspaces and teams, manage your organizations and more.
81
-
-**Creating a Design from Layer5 Cloud Catalog Templates:** With this guide, you can create amazing cloud native designs for your infrastructure from already available templates in the catalog.
142
+
-Creating an Account
143
+
- Creating your first Designs
82
144
83
145
### Concepts
84
146
85
147
An overview of Layer5 Cloud concepts and their relationships to one another.
-**Users:** User Management, Managing User Permissions
92
154
93
-
### Security
155
+
####Security
94
156
95
157
-**Tokens:** API Tokens are used to authenticate to Layer5 Cloud’s REST API.
96
158
-**Keychains**: Keychains are a collection of keys
97
159
-**Keys**: Keys are the atomic unit of access control
98
160
-**Roles**: Roles map permissions to users.
99
161
100
-
### Catalog
162
+
####Catalog
101
163
102
164
The Cloud Catalog is a web-based, public catalog to facilitate easy sharing and discovery of common cloud native architectures and design patterns.
103
165
104
-
### Workspaces
166
+
####Workspaces
105
167
106
168
Workspaces serve as a virtual space for your team-based work.
107
169
108
-
### Tutorials
170
+
####Tutorials
109
171
110
-
-**Kanvas Snapshots**: Connect Kanvas to your GitHub repo and see changes pull request-to-pull request.
111
-
-**Sharing a Workspace**: Learn how to control access to workspaces and their resources.
112
-
-**Recognizing User and Contributor Milestones**: Showcasing user and contributor achievements
172
+
- Kanvas Snapshots
173
+
- Sharing a Workspace
174
+
- Recognizing User and Contributor Milestones
113
175
114
176
### Self-Hosted
115
177
@@ -120,8 +182,9 @@ Keep your Kanvas designs internal to your workplace. Get remote support from Lay
120
182
Low-level ReST API reference for extending Layer5 Cloud.
121
183
122
184
</details>
185
+
123
186
<details>
124
-
<summary><h2>Kanvas Docs</h2>
187
+
<summary><h3>Kanvas Section: Information Architecture</h3>
125
188
126
189
### Getting Started with Designs
127
190
@@ -156,58 +219,6 @@ Operator mode is for operating your Kubernetes clusters and cloud native infrast
156
219
157
220
</details>
158
221
159
-
### Contribution Guidelines
160
-
161
-
A detailed contribution guide for Layer5 Docs.
162
-
Contributing to the docs.layer5.io
163
-
164
-
### Editing Markdown Content
165
-
166
-
Documentation content is written in Markdown and you'll find all files listed under the /content directory.
167
-
168
-
To create a new page with Markdown, create a file ending in `.md` in a `site/<subdirectory>`. The path in the content directory will be the URL route. For example, `site/docs/hello.md` will be served from the `/docs/hello` URL.
169
-
170
-
```yaml
171
-
---
172
-
title: 'My Title'
173
-
description: "A thorough, yet succinct description of the page's contents"
174
-
---
175
-
```
176
-
177
-
The significant keys in the YAML frontmatter are:
178
-
179
-
`title` (string) - This is the title of the page that will be set in the HTML title.
180
-
`description` (string) - This is a description of the page that will be set in the HTML description.
181
-
`permalink` (string - relative file path) - canonical location of the page
182
-
`category` (string) - section to which the page belongs.
183
-
`redirect_from` (string - relative file path) - in case the page was previously available elsewhere
184
-
185
-
<div> </div>
186
-
187
-
### Uploading Images to the site
188
-
189
-
To display images in a pop-up modal, use the following syntax: `` or `<img src="" alt="" />`.
190
-
191
-
**Note:**
192
-
193
-
- For images to show correctly on subpages, always provide the complete image path.
194
-
- When using the `<img />` tag, add `data-modal="false"` to prevent the image from opening in a modal e.g. a [logo](https://github.com/layer5io/docs/blob/0bef5a9a05214a9dda10d8a68431e41f5a36676d/layouts/partials/footer.html#L9).
195
-
196
-
### Adding Alert to the site
197
-
198
-
Use the following Syntax to add an Alert:
199
-
`{{< alert type="success" title="Note" >}} Your Note {{< /alert >}}`
200
-
201
-
-`type="danger"`: Alert used to indicate something related to security.
202
-
-`type="info"`: Alert used to write some information.
203
-
-`type="warning"`: Alert used to indicate a warning that might need attention.
204
-
-`type="note"`: Alert used to indicate a neutral information.
205
-
-`type="success"`: Alert used to indicate a positive information.
206
-
207
-
By default, if you don't specify a `title="Your Title"`, the title will be the same as the type name.
208
-
209
-
**Note-> Using an invalid alert type will lead to the default alert being used (i.e. success).**
0 commit comments