From c29fe345ab289b22b03196f0869ccd0eb3e9c087 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Thu, 2 Jan 2025 10:34:06 +1000 Subject: [PATCH] DOC-2608: Generate RSS file in tinymce/latest folder --- extensions/rssfeed.cjs | 7 +++---- modules/ROOT/pages/changelog.adoc | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/extensions/rssfeed.cjs b/extensions/rssfeed.cjs index 2bed237f35..21a3f5ba04 100644 --- a/extensions/rssfeed.cjs +++ b/extensions/rssfeed.cjs @@ -102,16 +102,15 @@ module.exports.register = function ({ config }) { `; // Add RSS feed to site catalog + const filePath = `${pageComponentName}/${pageComponentVersion}/${config.outputFile}`; siteCatalog.addFile({ contents: Buffer.from(rss), - out: { path: config.outputFile }, + out: { path: filePath }, }); const endTime = Date.now(); // End the timer const duration = endTime - startTime; // Calculate the duration - console.log( - `RSS feed generated at ${config.outputFile} in ${duration}ms` - ); + console.log(`RSS feed generated at ${filePath} in ${duration}ms`); } catch (error) { // Catch any errors to allow the build to continue console.error("Error generating RSS feed:", error); diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index b16f32d892..38ae934c63 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -4,7 +4,7 @@ NOTE: This is the {productname} Community version changelog. For information about the latest {cloudname} or {enterpriseversion} Release, see: xref:release-notes.adoc[{productname} Release Notes]. -TIP: For an RSS feed of the {productname} Changelog, use the following URL: {site-url}/rss.xml +TIP: For an RSS feed of the {productname} Changelog, use the following URL: {site-url}/{page-component-name}/{page-component-version}/rss.xml == xref:7.6.0-release-notes.adoc[7.6.0 - 2024-12-11]