-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isCategoryIndex function does not propagate to URL generations #9213
Comments
Hi, this is deliberate by design. See #6451 (comment). You would want to use the |
If |
This would be possible with the |
Yes, solving your use-case would be quite complicated. And a breaking change too (it's always quite risky for our users to change the permalink generation algo). Currently the process is:
Providing an explicit And Another option would allow to allow providing a |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
I have set up
for my docusaurus.config.js. And I have a folder structure of
As a folder structure of
docs/2023/08
. As you can see, it's just a calendar notation. However, whileisCategoryIndex
disables the sidebar behavior of overriding 'August 8th' to August, it still creates the URL for2023/08
.Reproducible demo
https://github.com/anaclumos/heimdall/tree/da910b28b2ae2d6ecf77225db38035e57cdaa637 (Exact Commit)
Steps to reproduce
https://github.com/anaclumos/heimdall/tree/da910b28b2ae2d6ecf77225db38035e57cdaa637 (Exact Commit)
Expected behavior
The URL for
docs/2023/08/08.md
should be generated atsitename/2023/08/08
, notsitename/2023/08
Actual behavior
The URL generates at
sitename/2023/08
Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: