Skip to content

Conversation

@mbleigh
Copy link
Contributor

@mbleigh mbleigh commented Jul 29, 2021

This changes the --source flag that was previously used for docgen into a --api flag that takes either v1 or v2 as a value (defaulting to v1).

This allows us to have dual content-sources directories for each version and will hopefully give us what we need for the short term at least.

Also fixes a bug where since there are no classes in the v2 namespace it was erroring out.

Copy link
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

Thanks Michael!

@google-cla google-cla bot added the cla: yes label Jul 29, 2021
@egilmorez egilmorez merged commit 3609804 into master Jul 29, 2021
Copy link
Member

@inlined inlined left a comment

Choose a reason for hiding this comment

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

Surprisingly straightforward. Thanks!

@mbleigh mbleigh deleted the mb-docgen-versions branch August 2, 2021 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants