Skip to content
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

docs(v2): more examples on lifecycle apis, cleanup #2051

Merged
merged 2 commits into from
Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docusaurus-types/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface Props extends LoadContext {

export interface PluginContentLoadedActions {
addRoute(config: RouteConfig): void;
createData(name: string, data: Object): Promise<string>;
createData(name: string, data: any): Promise<string>;
}

export interface Plugin<T> {
Expand Down
310 changes: 0 additions & 310 deletions website/docs/advanced-plugins.md

This file was deleted.

57 changes: 0 additions & 57 deletions website/docs/advanced-themes.md

This file was deleted.

2 changes: 1 addition & 1 deletion website/docs/docusaurus-core.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: docusaurus-core
title: Docusaurus Client API
sidebar_title: Client API
sidebar_label: Client API
---

Docusaurus provides some API on client that can be helpful when building your site.
Expand Down
Loading