facebook / facebook/docusaurus
Generate index page with table of content
- 主要言語
- TypeScript
- スター
- 66.2k
- フォーク
- 10k
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 52
説明
### Have you read the Contributing Guidelines on issues?
- [X] I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).
### Description
Generate index page with optional table of content, which namely adding some list `` on here: https://github.com/facebook/docusaurus/blob/d07567e411410e6b7f14ca8f7c2c3b501f58b9ad/packages/docusaurus-theme-classic/src/theme/DocCard/index.tsx#L62-L68
And here should be adding extra table of content of some document links on return:
https://github.com/facebook/docusaurus/blob/d07567e411410e6b7f14ca8f7c2c3b501f58b9ad/packages/docusaurus-theme-common/src/utils/docsUtils.tsx#L118
Prevents me from raising an ISSUE instead of PR is the second point.
### Has this been requested on Canny?
_No response_
### Motivation
The original generated index is fine for link, but not good for doucment.
Because the document title should enough summarize topic of this section doucment, you may want get more information form this page, otherwise this page was no that useful, opinion only of mine.
This is a example likes this ISSUE:
### API design
_No response_
### Have you tried building it?
_No response_
### Self-service
- [ ] I'd be willing to contribute this feature to Docusaurus myself.
コントリビューションガイド
評価
この issue はまだ評価されていません。