Closed
Description
Have you read the Contributing Guidelines on issues?
- I have 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
- I'd be willing to contribute this feature to Docusaurus myself.