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
+59-20
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4

5
5

6
6
7
-
This repo contains the React/Gatsby application that powers the EDB Docs website. The site pulls [Markdown](https://www.markdownguide.org/) content from several repos in a process called "sourcing", and then renders it all into high-performance markup. You can install the application on your local computer for easy editing, viewing, and eventually publishing to the GitHub repo.
7
+
This repo contains the React/Gatsby application that powers [the EDB Docs website](https://www.enterprisedb.com/docs/). The site pulls [Markdown](https://www.markdownguide.org/) content from several repos in a process called "sourcing", and then renders it all into high-performance markup. You can install the application on your local computer for easy editing, viewing, and eventually publishing to the GitHub repo.
8
8
9
9
## MacOS Installation
10
10
@@ -140,25 +140,24 @@ This frontmatter is an automatically generated list of redirects for Docs 1.0 to
140
140
141
141
If you need to setup a redirect from Docs 1.0 to Docs 2.0 manually, this is the place to do it. If the `legacyRedirectsGenerated` frontmatter does not include the redirect you need, you should add it here.
142
142
143
-
# Advocacy Docs (left over from previous README, needs attention)
144
143
145
-
Advocacy doc files are in [advocacy_docs/getting-started](https://github.com/EnterpriseDB/docs/tree/master/advocacy_docs/getting-started)
144
+
# MDX Format
146
145
147
-
New docs need a `.mdx` suffix to be used by Gatsby.
146
+
Documentation must be formatted as an [MDX file](https://www.gatsbyjs.com/docs/mdx/writing-pages/) with the `.mdx` extension. MDX is a superset of [Markdown](https://www.markdownguide.org/).
148
147
149
-
## frontmatter
148
+
## Frontmatter
150
149
151
-
Each document requires a `frontmatter` section at the top with a title. This looks like this:
150
+
Each document requires a [YAML](https://yaml.org) frontmatter section at the top with a title:
152
151
153
152
```
154
153
---
155
154
title: Title of page
156
155
---
157
156
```
158
157
159
-
The title can be in quotes, but they are not needed unless you want an apostrophe in there. There also needs to be a space after `title:`
158
+
If the title contains [special characters](https://stackoverflow.com/questions/19109912/yaml-do-i-need-quotes-for-strings-in-yaml), it will need to be quoted. There also needs to be a space after `title:`
160
159
161
-
In addition to `title`, there is also the option of adding `navTitle` and `description` to look like this:
160
+
In addition to `title`, frontmatter may optionally include `navTitle` and `description`:
162
161
163
162
```
164
163
---
@@ -176,26 +175,66 @@ The `description` is used in cards as well.
176
175
177
176
All of these files use Markdown for styling. The options for what can be done can be seen [here](https://github.com/EnterpriseDB/docs/blob/master/advocacy_docs/playground/1/01_examples/index.mdx)
178
177
179
-
## Ordering of files
178
+
## Admonitions (Notes, Warnings, etc.)
180
179
181
-
The items in the left nav are sorted alphabetically by file name. This can be done with a numerical prefix. The titles of each page are used for the names in the left nav.
180
+
If you need to draw attention to information, consider using an admonition:
181
+
182
+
```
183
+
!!! Note Optional title
184
+
This is text you'd like the reader to notice.
185
+
```
182
186
183
-
## Content submission
187
+
Admonitions begin with the `!!!` signifier. Next comes a (case-insensitive) type which is one of:
184
188
185
-
To add content to this site, changes must be submitted as a PR. There are two options for this:
189
+
* important
190
+
* tip
191
+
* note
192
+
* caution
193
+
* warning
186
194
187
-
Option 1: locally
195
+
There are several [aliases](https://github.com/elviswolcott/remark-admonitions#usage):
196
+
197
+
* info => important
198
+
* success => tip
199
+
* secondary => note
200
+
* danger => warning
201
+
* seealso => note
202
+
* hint => tip
203
+
204
+
Titles are optional. If you don't include one, the admonition will default to the type name ("Important", "Tip", etc.).
205
+
206
+
The body of the admonition is indented 4 spaces. It should line up with the first letter of the admonition type. Alternatively, fenced admonitions that begin and end with `!!!` lines are supported:
207
+
208
+
```
209
+
!!! Tip
210
+
Use fenced admonitions to avoid space counting.
211
+
!!!
212
+
```
188
213
189
-
1. Clone repo
190
-
2. Make a new branch
191
-
3. Add commits to branch and push to github
192
-
4. Create a new PR on github
214
+
For examples of what you can do with admonitions, see [this demo](https://github.com/EnterpriseDB/docs/blob/main/advocacy_docs/playground/1/01_examples/admonitions.mdx).
193
215
194
-
Option 2: on github
216
+
## Ordering of files
195
217
196
-
1. Edit a file on github
197
-
2. Submit changes as a PR on a new branch
218
+
The items in the left nav are sorted alphabetically by file name. This can be done with a numerical prefix. The titles of each page are used for the names in the left nav.
198
219
199
220
## Search
200
221
201
222
Content is indexed for search when the production site builds.
223
+
224
+
## Contributions
225
+
226
+
[We love feedback!](https://www.enterprisedb.com/docs/community/contributing/)
227
+
228
+
To contribute content to this site submit as a pull request (PR). There are two options for this:
229
+
230
+
Option 1: locally
231
+
232
+
1. [Clone](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository) this repository.
233
+
2. [Make a new branch.](https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging)
234
+
3. Add commits to branch and [push to GitHub](https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches).
Copy file name to clipboardExpand all lines: advocacy_docs/kubernetes/cloud_native_postgresql/interactive_demo.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ You will see one node called `minikube`. If the status isn't yet "Ready", wait f
65
65
Now that the Minikube cluster is running, you can proceed with Cloud Native PostgreSQL installation as described in the ["Installation"](installation_upgrade.md) section:
Copy file name to clipboardExpand all lines: merge_sources/kubernetes/cloud_native_postgresql/interactive_demo.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ You will see one node called `minikube`. If the status isn't yet "Ready", wait f
65
65
Now that the Minikube cluster is running, you can proceed with Cloud Native PostgreSQL installation as described in the ["Installation"](installation_upgrade.md) section:
Copy file name to clipboardExpand all lines: product_docs/docs/pem/8.1.0/pem_ent_feat/index.mdx
+21
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,27 @@
1
1
---
2
2
navTitle: Enterprise Features Guide
3
3
title: "PEM Enterprise Features Guide"
4
+
5
+
navigation:
6
+
7
+
- 01_what's_new
8
+
- 02_pem_query_tool
9
+
- 03_pem_schema_diff_tool
10
+
- 04_pem_erd_tool
11
+
- 05_performance_monitoring_and_management
12
+
- 15_performance_diagnostic
13
+
- 06_capacity_manager
14
+
- 07_audit_manager
15
+
- 08_log_manager
16
+
- 09_sql_profiler
17
+
- 10_tuning_wizard
18
+
- 11_postgres_expert
19
+
- 17_monitoring_BDR_nodes
20
+
- 13_monitoring_failover_manager
21
+
- 14_monitoring_xdb_replication_cluster
22
+
- 12_reports
23
+
- 16_reference
24
+
4
25
---
5
26
6
27
This guide will acquaint you with the tools and wizards that are built into the Postgres Enterprise Manager (PEM) web interface that make it easier for you to monitor and manage your system.
0 commit comments