@@ -606,8 +606,7 @@ component will automatically display the badge in the correct color based on the
606606
607607This is a custom component that creates a grid of simple text cards with two columns, styled according to our color
608608scheme. The rows of cards are dynamically created according to the list of specified cards. This component uses the
609- `VersionedLink` under the covers. URLs should be specified as discussed in the [Internal Links](#internal-links)
610- section.
609+ `VersionedLink` under the covers.
611610
612611```js
613612<SimpleCardGrid
@@ -754,25 +753,6 @@ The snippet above will work with the example partial we have in our repository,
754753Note that the `message` field corresponds to the `{props.message}` reference in the `_partials/_partial_example.mdx`
755754file.
756755
757- ### Internal Links
758-
759- Due to the complexities of Docusaurus plugin rendering, links do not support versioning in `*.mdx` files. If you want to
760- add an internal link you will have to use the `VersionedLink` component inside the `*.mdx` file.
761-
762- ```mdx
763- ---
764- partial_category: public-cloud
765- partial_name: palette-setup
766- ---
767-
768- This is how you set up Palette in {props.cloud}.
769-
770- This is an <VersionedLink text="Internal Link" url="/getting-started/additional-capabilities"/>.
771- ```
772-
773- The path of the link should be the path of the destination file from the root directory, without any back operators
774- `..`. External links can be referenced as usual.
775-
776756## Palette/VerteX URLs
777757
778758A special component has been created to handle the generation of URLs for Palette and VerteX. The component is called
@@ -1000,30 +980,9 @@ The packs component will always display the top-level tab content, so if you add
1000980new ` TabItem` component is the first in the list . If a new pack version does not have a respective tag, the latest
1001981version content will be displayed automatically.
1002982
1003- #### Links
1004-
1005- When authoring additional details content, you must use the ` <VersionedLink />` component to link to other documentation
1006- pages . The component is required to ensure that the links are versioned correctly . Refer to the
1007- [Internal Links](#internal- links) section for more information.
1008-
1009- If you want to link to a heading inside the pack component, you must also use the ` <VersionedLink />` and include the
1010- path to the component followed by the heading id . The following is an example of how to link to a heading inside the
1011- pack component . Take note of the ` #` symbol followed by the heading id.
1012-
1013- ` ` ` mdx
1014- <VersionedLink
1015- text="Change Cluster DNS Service Domain"
1016- url="/integrations/packs/?pack=kubernetes-eks#change-cluster-dns-service-domain"
1017- />
1018- ` ` `
1019-
1020- Omit the ` version=xxxx&parent=xxxx` value that is part of the query string . If you include the ` version` and ` parent`
1021- values, the link will not work as expected.
1022-
1023983### Link to a Pack
1024984
1025985You must use the ` <VersionedLink />` component to link to a pack . The following is an example of how to link to a pack.
1026- For more information, refer to the [Internal Links](#internal- links) section.
1027986
1028987` ` ` mdx
1029988<VersionedLink text="Change Cluster DNS Service Domain" url="/integrations/packs/?pack=kubernetes-eks" />
@@ -1258,61 +1217,6 @@ new release tag is created.
12581217> Do not use ` feat` ,` perf` , ` fix` , or other semantic- release key words that trigger a version change . Use the commit
12591218> message prefix ` docs: yourMessageHere` for regular documentation commits.
12601219
1261- ## Versioning
1262-
1263- > [! NOTE ]
1264- >
1265- > Detailed documentation for versioning can be found in the internal
1266- > [Versioning](https: // spectrocloud.atlassian.net/wiki/spaces/DE/pages/1962639377/Versioning) guide.
1267-
1268- All versioned content belongs to a specific version branch . The version branch name follows the naming convention
1269- ` version-X-X` . The version branch is used to generate versioned content.
1270-
1271- There are three files that are used for generating versioned content:
1272-
1273- - [` versions.sh` ](./ scripts/ versions .sh ) - A bash script that loops through all the version branches and generates the
1274- versionioned content.
1275-
1276- - [` update_docusaurs_config.js` ](./ docsearch .config .json ) - A node script that updates the ` docusaurus.config.js` file
1277- with all the required vesioning parameters.
1278-
1279- - [` versionsOverride.json` ](./ versionsOverride .json ) - A JSON file that contains the versioning overrides . These values
1280- are used to update the ` docusaurus.config.js` file with non- default values.
1281-
1282- ### Build Versioned Content Locally
1283-
1284- To build versioned content locally, use the following steps:
1285-
1286- 1. Issue the following command to generate the versioned content.
1287-
1288- ` ` ` shell
1289- make versions
1290- ` ` `
1291-
1292- 2. Start a local development server to view the versioned content.
1293-
1294- ` ` ` shell
1295- make start
1296- ` ` `
1297-
1298- 3. Compile the versioned content to ensure a successful build.
1299-
1300- ` ` ` shell
1301- make build
1302- ` ` `
1303-
1304- 4. Remove the ` versions.json` file and discard the changes to the ` docusaurus.config.js` file . Use the following command
1305- to remove all version artifacts.
1306-
1307- ` ` ` shell
1308- make clean-versions
1309- ` ` `
1310-
1311- > [! WARNING ]
1312- >
1313- > The ` docusaurus.config.js` file is updated by the [` update_docusaurus_config.js` ](./ docusaurus .config .js ) script . DO
1314- > NOT commit this file with the updated changes.
1315-
13161220## Exit Codes
13171221
13181222Librarium provides the following exit codes . These exit codes are returned by both the ` npm run start` and
0 commit comments