Skip to content
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

fix: improve API reference URLs take 2 #726

Merged
merged 3 commits into from
Jan 27, 2022
Merged

fix: improve API reference URLs take 2 #726

merged 3 commits into from
Jan 27, 2022

Conversation

Chriscbr
Copy link
Contributor

@Chriscbr Chriscbr commented Jan 24, 2022

See #720 for original context.

Compared to the original PR, this adds the following fixes:

  • reduces the size of the output of the transliterator handler by taking the created/deleted S3Object arrays and only returning the keys instead. This is needed to prevent failures caused by the output being too large.
  • fixes logic for the linkFormatter and updates it to give incorrect error messages

TODO: update jsii-docgen version once cdklabs/jsii-docgen#571 is merged


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@Chriscbr
Copy link
Contributor Author

Ready for review, but adding do-not-merge since the fixes from cdklabs/jsii-docgen#571 need to also be added.

@Chriscbr Chriscbr marked this pull request as ready for review January 24, 2022 22:15
Signed-off-by: github-actions <github-actions@github.com>
@Chriscbr Chriscbr requested review from MrArnoldPalmer and a team January 26, 2022 18:07
Copy link
Contributor

@MrArnoldPalmer MrArnoldPalmer left a comment

Choose a reason for hiding this comment

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

LGTM

src/backend/transliterator/transliterator.ecstask.ts Outdated Show resolved Hide resolved
@mergify mergify bot merged commit 387cdaa into main Jan 27, 2022
@mergify mergify bot deleted the rybickic/improve-urls branch January 27, 2022 02:11
mergify bot pushed a commit that referenced this pull request Feb 1, 2022
In #726, I missed that the `uploadFile` helper was automatically adding `text/markdown` to all files, including the JSON files that were added.

Fixed this by inferring the correct content type.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants