-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Autogenerated entries: allow image override per entry #7844
Copy link
Copy link
Closed as not planned
Labels
closed: wontfixA fix will bring significant overhead, or is out of scope (for feature requests)A fix will bring significant overhead, or is out of scope (for feature requests)featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Metadata
Metadata
Assignees
Labels
closed: wontfixA fix will bring significant overhead, or is out of scope (for feature requests)A fix will bring significant overhead, or is out of scope (for feature requests)featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Have you read the Contributing Guidelines on issues?
Description
In the current state, Docusaurus' autogenerated entries generates tiles looking like this:
Auto-generating entries is a great feature, and in my case, I'd like to use it to get scalable docs, such as listing many partners that my company integrates with.
For this, I would suggest to add the ability to customize the image that we add to the tile. Currently it's either the file or folder icon.
For example, adding this to the sidebar to specify a new image:
Or when generating tiles from a doc page with:
We could perhaps define the image in each entry in the
sidebar.jsfile as well, using longhand notation:Has this been requested on Canny?
No response
Motivation
I need this feature for scalability reasons so this feature will happen either on my own repo, but it should ideally be a core feature as it might help other users. I can possibly get a developer to submit a PR to your repo if you can share some pointers on how to do this 'the right way'.
API design
No response
Have you tried building it?
No response
Self-service