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: modules/_templates/best-practices.adoc
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
1
= <Title: "Best Practices for <noun phrase>">
2
2
:toc: true
3
3
:toclevels: 1
4
+
// Adjust toclevels if you have many sections, but 1-2 levels is usually sufficient for reference pages.
4
5
5
-
:page-pageid:
6
+
:page-title: <Title text for the page>
7
+
:page-pageid: <Required attribute for ThoughtSpot Embedded and developer documentation. The page ID must be unique. For example, "spotter-embed-best-practices">
6
8
:keywords: <comma-separated terms. For example, "configure auth", "SSO", "SAML">
7
9
:page-type: best-practices
8
-
:page-role:
10
+
:page-role: <Optional>
9
11
:product-version: <version>
10
-
:jira-ref: <DOC-XXXX>
12
+
:jira-ref: <SCAL-XXXXXX>
11
13
// last-reviewed: <Optional>
12
14
13
15
// 1-2 sentences: what this page covers, who it is for, and what
@@ -53,7 +55,7 @@
53
55
54
56
== What to avoid
55
57
56
-
// Optional but high value. Describe common mistakes or patterns.
58
+
// Optional but adds value. Describe common mistakes or patterns.
57
59
// Use WARNING admonitions for practices that risk data loss or security issues.
58
60
59
61
//WARNING: <Describe a practice that risks data loss, security exposure,or system instability. State the consequence clearly.>
Copy file name to clipboardExpand all lines: modules/_templates/concept.adoc
+25-22Lines changed: 25 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,16 @@
1
1
= <Title: Noun phrase describing the concept>
2
2
:toc: true
3
3
:toclevels: 1
4
+
// Adjust toclevels if you have many sections, but 1-2 levels is usually sufficient for reference pages.
4
5
5
-
:page-title: <Title — must match the = Title above>
6
+
:page-title: <Title text for the page>
6
7
:page-description: <One sentence: what this page covers and why it matters to the reader.>
7
-
:page-pageid: <Add a unique ID for this page, for example, "embed-sdk-concepts". Required for developer documentation.>
8
+
:page-pageid: <Required attribute for ThoughtSpot Embedded and developer documentation. The page ID must be unique. For example, "spotter-embed-overview">
8
9
:keywords: <comma-separated terms for search indexing, for example, "authentication, SSO, SAML, login">
9
-
:page-type: concept
10
-
:page-role:
10
+
:page-role: <Optional>
11
11
:product-version: <version>
12
-
:jira-ref: <DOC-XXXX>
13
-
14
-
// author:
15
-
// last-reviewed:
16
-
17
-
// REQUIRED: 1-2 sentence lead — what this concept is and why it matters to developers or administrators.
12
+
:jira-ref: <SCAL-XXXXXX>
13
+
// last-reviewed: <Optional>
18
14
19
15
////
20
16
TEMPLATE GUIDE
@@ -42,21 +38,29 @@ Style elements you can use:
42
38
Inline badge : [beta betaBackground]^Beta^
43
39
Version badge: [.version-badge.new]#New# [.version-badge.deprecated]#Deprecated#
= <Title: Verb + Object, for example, "Configure Single Sign-On">
2
2
:toc: true
3
3
:toclevels: 1
4
+
// Adjust toclevels if you have many sections, but 1-2 levels is usually sufficient for reference pages.
4
5
5
-
:page-title: <Title — must match the = Title above>
6
+
:page-title: <Title text for the page>
6
7
:page-description: <One sentence: what this procedure does and who it is for.>
7
-
:page-pageid: <Add a unique ID for this page, for example, "embed-sdk-concepts". Required for developer documentation.>
8
+
:page-pageid: <Required attribute for ThoughtSpot Embedded and developer documentation. Add a unique ID for this page, for example, "embed-sdk-concepts".>
8
9
:page-type: procedure
9
10
:keywords: <comma-separated terms for search indexing, for example, "configure, SSO, SAML, setup">
10
11
:page-role:
11
12
:product-version: <version>
12
-
:jira-ref: <DOC-XXXX>
13
-
// author:
13
+
:jira-ref: <SCAL-XXXXXX>
14
14
// last-reviewed:
15
15
16
16
////
@@ -44,28 +44,28 @@ Style elements you can use:
44
44
Inline badge : [beta betaBackground]^Beta^
45
45
Version badge: [.version-badge.new]#New# [.version-badge.deprecated]#Deprecated#
46
46
[.version-badge.breaking]#Breaking#
47
+
48
+
==============
47
49
////
48
50
49
51
== Overview
50
52
51
53
// REQUIRED: 1-2 sentences — what this procedure accomplishes and who it is for.
52
-
// Mention the product area and the role of the reader (developer, administrator, etc.).
53
-
// TODO: verify scope with engineering
54
-
//
55
-
// OPTIONAL: Add a workflow diagram or screenshot of the starting UI state if it helps
0 commit comments