Skip to content

Commit

Permalink
Removed bread crumb commenting trail
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Weston committed Apr 11, 2020
1 parent 8700a97 commit f879b62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/scripts/buildApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ async function annotateComponentDefinition(component, api) {

async function buildDocs(options) {
const { component: componentObject, pagesMarkdown } = options;
// This appears to be what we are after
const src = readFileSync(componentObject.filename, 'utf8');

if (src.match(/@ignore - internal component\./) || src.match(/@ignore - do not document\./)) {
Expand Down Expand Up @@ -347,7 +346,6 @@ export default function Page() {
await annotateComponentDefinition(componentObject, reactAPI);
}

// Entry point
function run() {
const pagesMarkdown = findPagesMarkdown()
.map((markdown) => {
Expand Down

0 comments on commit f879b62

Please sign in to comment.