Skip to content

Commit 810540d

Browse files
committed
Cahnged the structure of using variables in markdown
1 parent e531685 commit 810540d

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

docs/release-notes/rn-whats-new.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
import variables from '/variables.js';
2+
const {productName, exampleVariable} = variables
3+
4+
<p>{productName}</p>
5+
<p>{exampleVariable}</p>
6+
17
# Overview
28

9+
310
New features and improvements that have been added to Replicated are documented on a per component basis in the corresponding release notes section. Component updates may be released at any time following a continuous delivery model.
411

512
For a comprehensive overview of recent new features, check out the monthly [Replicated Release Highlights blog](https://www.replicated.com/blog/tag/replicated%20release%20highlights/).

docusaurus.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const config = {
1717
projectName: 'replicated-docs', // Usually your repo name.
1818
customFields: {
1919
productName: 'Replicated',
20+
testVariable: 'Test'
2021
},
2122

2223
presets: [

variables.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
const variables = {
3+
productName: 'Replicated',
4+
exampleVariable: 'Example'
5+
};
6+
7+
module.exports = variables;
8+

0 commit comments

Comments
 (0)