We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1afe169 commit 16c3fd5Copy full SHA for 16c3fd5
1 file changed
lib/all-products.js
@@ -47,7 +47,7 @@ sortedProductIds.forEach(productId => {
47
const toc = slash(path.join(dir, 'index.md'))
48
const { data } = frontmatter(fs.readFileSync(toc, 'utf8'))
49
const applicableVersions = getApplicableVersions(data.versions, toc)
50
- const href = removeFPTFromPath(`/${applicableVersions[0]}/${productId}`)
+ const href = removeFPTFromPath(slash(path.join('/', applicableVersions[0], productId)))
51
52
internalProducts[productId] = {
53
id: productId,
0 commit comments