Skip to content

Commit

Permalink
docs(v2): more examples on lifecycle apis, cleanup (#2051)
Browse files Browse the repository at this point in the history
* docs(v2): more examples on lifecycle apis, cleanup

* typo
  • Loading branch information
endiliey authored and yangshun committed Nov 25, 2019
1 parent 085f522 commit 91b261a
Show file tree
Hide file tree
Showing 10 changed files with 465 additions and 436 deletions.
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

0 comments on commit 91b261a

Please sign in to comment.