Add a trailing slash to feed URLs if trailingSlash
is enabled
#9829
Labels
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Have you read the Contributing Guidelines on issues?
Description
Add the trailing slash to URLs generated in the feed files.
Has this been requested on Canny?
No response
Motivation
The
trailingSlash
configuration is available to customise the presence/absence of a trailing slash at the end of URLs; unfortunately this setting does not apply to the links generated in the feed files, and tools like Algolia that use the feed files may behave unusual.API design
Call the
applyTrailingSlash
function conditionally to adjust the URLs generated in the feed files.Have you tried building it?
The functionality is implemented in cronica-it@35fef96.
Self-service
The text was updated successfully, but these errors were encountered: