mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-17 02:02:38 +02:00
perf: avoid duplicated git log
calls in loadContent()
and postBuild()
for untracked Git files (#11211)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
This commit is contained in:
parent
68aa3c876b
commit
264774a550
10 changed files with 160 additions and 21 deletions
|
@ -521,9 +521,9 @@ declare module '@docusaurus/plugin-content-blog' {
|
|||
readingTime: ReadingTimeFunctionOption;
|
||||
/** Governs the direction of blog post sorting. */
|
||||
sortPosts: 'ascending' | 'descending';
|
||||
/** Whether to display the last date the doc was updated. */
|
||||
/** Whether to display the last date the blog post was updated. */
|
||||
showLastUpdateTime: boolean;
|
||||
/** Whether to display the author who last updated the doc. */
|
||||
/** Whether to display the author who last updated the blog post. */
|
||||
showLastUpdateAuthor: boolean;
|
||||
/** An optional function which can be used to transform blog posts
|
||||
* (filter, modify, delete, etc...).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue