Skip to content

Commit

Permalink
Update api docs (#485) and roadmap doc (#486) in beta
Browse files Browse the repository at this point in the history
* Update api (#485)
 * remove 0.6 migration guide
 * remove 0.5 api docs
 * add logic to remove props with `@ignore` from getting documented

* Update roadmap (beta) (#486)
 * Updated `roadmap.md`
  • Loading branch information
pradeepnschrodinger committed Sep 23, 2019
1 parent 0e00a69 commit 13da6df
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 780 deletions.
8 changes: 8 additions & 0 deletions build_helpers/react_documentation/generateMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,15 @@ function generatePropDefaultValue(value) {
return 'defaultValue: `' + value.value + '`\n';
}

function shouldIgnoreProp(prop) {
return (prop.description || '').includes('@ignore')
}

function generateProp(propName, prop) {
if (shouldIgnoreProp(prop)) {
return '';
}

return (
'### `' + propName + '`' + (prop.required ? ' (required)' : '') + '\n' +
'\n' +
Expand Down
189 changes: 0 additions & 189 deletions docs/api-v0.5/ColumnAPI.md

This file was deleted.

55 changes: 0 additions & 55 deletions docs/api-v0.5/ColumnGroupAPI.md

This file was deleted.

Loading

0 comments on commit 13da6df

Please sign in to comment.