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:
Alexander Scheel
2022-02-17 13:30:56 -06:00
committed by GitHub
parent 0b845b8d51
commit ee1e5bec5b
51 changed files with 52 additions and 52 deletions

View File

@@ -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.-->