-
Notifications
You must be signed in to change notification settings - Fork 940
Generate v8 docs with correct project paths #6475
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
Conversation
|
@@ -4,7 +4,7 @@ | |||
<meta charset="utf-8"> | |||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |||
<meta name="hide_page_heading" value="true" /> | |||
<meta name="project_path" value="/docs/reference/js/_project.yaml" /> | |||
<meta name="project_path" value="/docs/reference/node/_project.yaml" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't matter what this "value" is set to before the script runs, the docgen script will swap it to the correct one when it runs.
Size Report 1Affected ProductsNo changes between base commit (8260149) and merge commit (f47d1b0).Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'll go forward and send a couple of CLs to add those project files, thanks!
Size Analysis Report 1Affected ProductsNo changes between base commit (8260149) and merge commit (f47d1b0).Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Generate v8 docs with correct project paths * Make sure to add numbers to regex * Remove extra file
Changed v8 docgen script so that depending on if "node" or "js" is specified as the script is called, the script will modify theme/layouts/default.hbs to point to the correct _project.yaml.
Sample of the generated files:
First 7 lines of firebase.app.App.html for js/v8:
First 7 lines of firebase.app.App.html for node: