Skip to content

Docs: Fix config and regenerate updated docs - #7994

Merged
gziolo merged 1 commit into
masterfrom
update/generated-docs
Jul 17, 2018
Merged

gziolo merged 1 commit into
masterfrom
update/generated-docs

Conversation

@gziolo

@gziolo gziolo commented Jul 17, 2018

Copy link
Copy Markdown
Member

Description

Fixes the issue discovered by @aduth in #7975 (comment):

I think this may have broken npm run docs:build:

> gutenberg@3.2.0 docs:build /Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg
> node docs/tool

fs.js:646
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg/viewport/store/selectors.js'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at namespaceConfig.(anonymous function).forEach (/Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg/docs/tool/parser.js:25:21)
    at Array.forEach (<anonymous>)
    at forEach (/Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg/docs/tool/parser.js:24:28)
    at Array.forEach (<anonymous>)
    at Object.entries.forEach (/Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg/docs/tool/parser.js:23:30)
    at Array.forEach (<anonymous>)
    at module.exports (/Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg/docs/tool/parser.js:15:27)
    at Object.<anonymous> (/Users/andrew/Documents/Code/vvv/www/editor/htdocs/wp-content/plugins/gutenberg/docs/tool/index.js:14:23)

This PR also regenerates docs after config was updated to reflect the current state of packages.

@gziolo
gziolo requested review from a team, aduth and youknowriad July 17, 2018 08:06
@gziolo gziolo self-assigned this Jul 17, 2018
@gziolo gziolo added the [Type] Developer Documentation Documentation for developers label Jul 17, 2018
@gziolo gziolo added this to the 3.3 milestone Jul 17, 2018

@ntwb ntwb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@gziolo
gziolo merged commit b3067b7 into master Jul 17, 2018
@gziolo
gziolo deleted the update/generated-docs branch July 17, 2018 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants