Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Mar 16, 2022
1 parent 7e9f5c6 commit 5c52eba
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,14 +416,20 @@ declare module '@docusaurus/plugin-content-blog' {
*/
export type UserFeedOptions = Overwrite<
Partial<FeedOptions>,
{type?: FeedOptions['type'] | 'all' | FeedType}
{
/** Type of feed to be generated. Use `null` to disable generation. */
type?: FeedOptions['type'] | 'all' | FeedType;
}
>;
/**
* Options as provided in the user config (before normalization)
*/
export type Options = Overwrite<
Partial<PluginOptions>,
{feedOptions?: UserFeedOptions}
{
/** Blog feed. */
feedOptions?: UserFeedOptions;
}
>;

export type TagModule = {
Expand All @@ -437,10 +443,9 @@ declare module '@docusaurus/plugin-content-blog' {
allTagsPath: string;
};

export type BlogSidebarItem = {title: string; permalink: string};
export type BlogSidebar = {
title: string;
items: BlogSidebarItem[];
items: {title: string; permalink: string}[];
};
}

Expand Down

0 comments on commit 5c52eba

Please sign in to comment.