mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Update repository links to point to main (#14112)
* Update repository links to point to main Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Fix broken link in relatedtools.mdx Co-authored-by: Steven Clark <steven.clark@hashicorp.com> Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
This commit is contained in:
@@ -18,7 +18,7 @@ const outputFile = addonOrEngine ? `lib/${addonOrEngine}/stories/${name}.md` : `
|
||||
|
||||
const component = name
|
||||
.split('-')
|
||||
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
||||
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
||||
.join('');
|
||||
const options = {
|
||||
files: inputFile,
|
||||
@@ -32,7 +32,7 @@ const pageBreakIndex = md.lastIndexOf('---'); //this is our last page break
|
||||
const seeLinks = `**See**
|
||||
|
||||
- [Uses of ${component}](https://github.com/hashicorp/vault/search?l=Handlebars&q=${component}+OR+${name})
|
||||
- [${component} Source Code](https://github.com/hashicorp/vault/blob/master/ui/${inputFile})
|
||||
- [${component} Source Code](https://github.com/hashicorp/vault/blob/main/ui/${inputFile})
|
||||
|
||||
`;
|
||||
const generatedWarning = `<!--THIS FILE IS AUTO GENERATED. This file is generated from JSDoc comments in ${inputFile}. To make changes, first edit that file and run "yarn gen-story-md ${name}" to re-generate the content.-->
|
||||
|
||||
Reference in New Issue
Block a user