Skip to content

Commit

Permalink
fix(docs): replace all global.html -> admin.html
Browse files Browse the repository at this point in the history
  • Loading branch information
NothingEverHappens committed Jun 22, 2021
1 parent f09bd64 commit 81f8830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docgen/generate-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function fixLinks(file) {
return fs.readFile(file, 'utf8').then(data => {
const flattenedLinks = data
.replace(/\.\.\//g, '')
.replace(/globals\.html/g, 'admin.html')
.replace(/(modules|interfaces|classes|enums)\//g, '');
let caseFixedLinks = flattenedLinks;
for (const lower in lowerToUpperLookup) {
Expand Down

0 comments on commit 81f8830

Please sign in to comment.