@@ -37,7 +37,7 @@ module.exports = async function buildSiteTree (pageMap, site, redirects) {
3737 return
3838 }
3939
40- product . href = path . join ( '/' , languageCode , item . href )
40+ product . href = path . posix . join ( '/' , languageCode , item . href )
4141
4242 // find the product TOC page so we have access to the TOC items
4343 const page = findPage ( item . href , pageMap , redirects )
@@ -71,7 +71,7 @@ function buildCategoriesTree (tocItems, versionedProductHref, pageMap, redirects
7171 tocItems . forEach ( item => {
7272 const category = { }
7373
74- category . href = path . join ( versionedProductHref , item . href )
74+ category . href = path . posix . join ( versionedProductHref , item . href )
7575
7676 // find the category TOC page and get its TOC items
7777 const page = findPage ( category . href , pageMap , redirects )
@@ -115,7 +115,7 @@ function buildMaptopicsTree (tocItems, versionedCategoryHref, pageMap, redirects
115115 . forEach ( item => {
116116 const maptopic = { }
117117
118- maptopic . href = path . join ( versionedCategoryHref , item . href )
118+ maptopic . href = path . posix . join ( versionedCategoryHref , item . href )
119119
120120 // find the category TOC page and get its TOC items
121121 const page = findPage ( maptopic . href , pageMap , redirects )
@@ -150,7 +150,7 @@ function buildArticlesTree (tocItems, versionedCategoryHref, pageMap, redirects,
150150 tocItems . forEach ( item => {
151151 const article = { }
152152
153- article . href = path . join ( versionedCategoryHref , item . href )
153+ article . href = path . posix . join ( versionedCategoryHref , item . href )
154154
155155 // find the category TOC page and get its TOC items
156156 const page = findPage ( article . href , pageMap , redirects )
0 commit comments