Skip to content

Commit 4eb4b8c

Browse files
authored
Move content to avoid naked headings (timescale#2673)
* Move content to avoid naked headings * Fix L2 heading * Move to H2 headings, and add snippet * remove duplicate H3 headings * fix snippet description
1 parent ef7787a commit 4eb4b8c

File tree

4 files changed

+35
-16
lines changed

4 files changed

+35
-16
lines changed

.vscode/collapsible.code-snippets

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
// Place your docs-timescale workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
3+
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
4+
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
5+
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
6+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
7+
// Placeholders with the same ids are connected.
8+
// Example:
9+
"Collapsible": {
10+
"scope": "markdown,html",
11+
"prefix": [
12+
"collapsible"
13+
],
14+
"body": [
15+
"<Collapsible heading=\"${1:heading}\"",
16+
"defaultExpanded={false}",
17+
"headingLevel={3}>"
18+
],
19+
"description": "Inserts a collapsible heading"
20+
}
21+
}

_partials/_cloud-connect.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
When you have a service up and running, you can connect to it from your local
2-
system using the `psql` command-line utility. If you've used PostgreSQL before,
3-
you might already have `psql` installed. If not, check out the [installing
4-
psql][install-psql] section.
5-
61
<Procedure>
72

83
### Connecting to your service from the command prompt
@@ -33,5 +28,4 @@ psql][install-psql] section.
3328

3429
</Procedure>
3530

36-
[install-psql]: /use-timescale/:currentVersion:/integrations/query-admin/psql/
3731
[tsc-portal]: https://console.cloud.timescale.com/

_partials/_cloud-create-service.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
A service in Timescale is a cloud instance which contains your database.
2-
Each service contains a single database, named `tsdb`.
3-
41
<Procedure>
52

63
### Create a Timescale service

getting-started/services.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,43 @@ connect to it from the command prompt on your local machine. You can then use
3232

3333
In this section, you sign up for a Timescale account, create a service, and
3434
connect to it from your local machine using `psql`. Don't forget to download the
35-
cheatsheet when you create your service, it contains important information that
35+
cheat sheet when you create your service, it contains important information that
3636
you need later on.
3737

3838
For more information, see
3939
[the services section][services-how-to].
4040

41-
## Create your Timescale account
41+
<Collapsible heading="Create your Timescale account" defaultExpanded={false}>
4242

43-
<Collapsible heading="Creating your Timescale account" defaultExpanded={false} headingLevel={3}>
43+
Before you can create your first service, you need to sign up for a free
44+
Timescale account.
4445

4546
<Install />
4647

4748
</Collapsible>
4849

49-
## Create your first service
50+
<Collapsible heading="Create your first service" defaultExpanded={false}>
5051

51-
Create a service to use for the tasks in this guide. You can use the default values.
52-
53-
<Collapsible heading="Creating your first service" defaultExpanded={false} headingLevel={3}>
52+
Create a service to use for the tasks in this guide. A service in Timescale is a
53+
cloud instance which contains your database. You can use the default values when
54+
you create your service, which sets up a single database, named `tsdb`.
5455

5556
<CreateService demoData={false} />
5657

5758
</Collapsible>
5859

5960
## Connect to your service
6061

62+
When you have a service up and running, you can connect to it from your local
63+
system using the `psql` command-line utility. If you've used PostgreSQL before,
64+
you might already have `psql` installed. If not, check out the
65+
[installing psql][install-psql] section.
66+
6167
<Collapsible heading="Connecting to your service" headingLevel={3}>
6268

6369
<Connect />
6470

6571
</Collapsible>
6672

6773
[services-how-to]: /use-timescale/:currentVersion:/services/
74+
[install-psql]: /use-timescale/:currentVersion:/integrations/query-admin/psql/

0 commit comments

Comments
 (0)