Skip to content

Commit

Permalink
Merge branch 'main' into staging/charmander
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed May 14, 2024
2 parents 639ae55 + 9494e3e commit 194eba3
Show file tree
Hide file tree
Showing 5 changed files with 377 additions and 700 deletions.
2 changes: 1 addition & 1 deletion docs/_plugins/rhds.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const path = require('node:path');
const _slugify = require('slugify');
const slugify = typeof _slugify === 'function' ? _slugify : _slugify.default;
const capitalize = require('capitalize');
const { glob } = require('glob');
const exec = require('node:util').promisify(require('node:child_process').exec);
const cheerio = require('cheerio');
const RHDSAlphabetizeTagsPlugin = require('./alphabetize-tags.cjs');
Expand Down Expand Up @@ -283,6 +282,7 @@ module.exports = function(eleventyConfig, { tagsToAlphabetize }) {
}

try {
const { glob } = await import('glob');
/** @type {(import('@patternfly/pfe-tools/11ty/DocsPage').DocsPage & { repoStatus?: any[] })[]} */
const elements = await eleventyConfig.globalData?.elements();
const filePaths = (await glob(`elements/*/docs/*.md`, { cwd: process.cwd() }))
Expand Down
Loading

0 comments on commit 194eba3

Please sign in to comment.