Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion preview-src/docs-roles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ For example, `label--beta-until-5.12` is displayed as `Beta until Neo4j 5.12`.
To override this value, include the product name in the label.
For example, `label--beta-until-bolt-1.0` is displayed as `Beta until Bolt 1.0`.

For a list of all roles, see `src/js/data/rolesData.json`.

[role=test-role]
Paragraph with non-label role.

Expand Down Expand Up @@ -54,7 +56,7 @@ Blocks with the appropriate roles have labels added.
Labels are not displayed for discrete headers.


[role=label--aura-db-dedicated label--not-on-aura]
[role=label--aura-db-dedicated label--aura-db-business-critical label--not-on-aura]
=== H3 AuraDB Virtual Dedicated Cloud AND Not on Aura

Lorem ipsum dolor sit
Expand Down
12 changes: 9 additions & 3 deletions src/js/data/rolesData.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"labelCategory": "content",
"displayText": "NEW"
},
"labs":{
"labs":{
"description": "Neo4j Labs project",
"labelCategory": "content",
"product": "Labs",
"displayText": "Labs"
},
"graph-academy":{
"graph-academy":{
"description": "Neo4j Graph Academy",
"labelCategory": "content",
"product": "Graph Academy",
Expand Down Expand Up @@ -64,6 +64,12 @@
"product": "AuraDB Virtual Dedicated Cloud",
"displayText": "AuraDB Virtual Dedicated Cloud"
},
"aura-db-business-critical":{
"description": "Function available in AuraDB Business Critical",
"labelCategory": "product",
"product": "AuraDB Business Critical",
"displayText": "AuraDB Business Critical"
},
"aura-db-dedicated":{
"description": "Function available in AuraDB Virtual Dedicated Cloud",
"labelCategory": "product",
Expand Down Expand Up @@ -263,4 +269,4 @@
"displayText": "N/A"
}

}
}