Skip to content

Commit c29fe34

Browse files
author
Farzad Hayatbakhsh
committed
DOC-2608: Generate RSS file in tinymce/latest folder
1 parent 6653816 commit c29fe34

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

extensions/rssfeed.cjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,15 @@ module.exports.register = function ({ config }) {
102102
</rss>`;
103103

104104
// Add RSS feed to site catalog
105+
const filePath = `${pageComponentName}/${pageComponentVersion}/${config.outputFile}`;
105106
siteCatalog.addFile({
106107
contents: Buffer.from(rss),
107-
out: { path: config.outputFile },
108+
out: { path: filePath },
108109
});
109110

110111
const endTime = Date.now(); // End the timer
111112
const duration = endTime - startTime; // Calculate the duration
112-
console.log(
113-
`RSS feed generated at ${config.outputFile} in ${duration}ms`
114-
);
113+
console.log(`RSS feed generated at ${filePath} in ${duration}ms`);
115114
} catch (error) {
116115
// Catch any errors to allow the build to continue
117116
console.error("Error generating RSS feed:", error);

modules/ROOT/pages/changelog.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
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].
66

7-
TIP: For an RSS feed of the {productname} Changelog, use the following URL: {site-url}/rss.xml
7+
TIP: For an RSS feed of the {productname} Changelog, use the following URL: {site-url}/{page-component-name}/{page-component-version}/rss.xml
88

99
== xref:7.6.0-release-notes.adoc[7.6.0 - 2024-12-11]
1010

0 commit comments

Comments
 (0)