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

refactor(docs): consolidate logic #540

Merged
merged 3 commits into from
Jul 21, 2022
Merged

Conversation

kanadgupta
Copy link
Member

🧰 Changes

Follow-up to #529. Consolidates our docs create/update logic into a single function. This should set up future functionality (e.g. Custom Pages, Changelog) more easily.

🧬 QA & Testing

Tests haven't changed at all, so if those pass then we should be good to go!

@kanadgupta kanadgupta added the refactor Issues about tackling technical debt label Jul 21, 2022
@kanadgupta kanadgupta requested a review from erunion July 21, 2022 18:41
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

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

DRY humidity > wet

In the process of writing more coverage, I realized that we didn't wrap an error properly and it was just returning raw JSON. Yay tests!
@kanadgupta kanadgupta merged commit 9d9e40c into main Jul 21, 2022
@kanadgupta kanadgupta deleted the refactor/consolidate-docs-logic branch July 21, 2022 19:11
This was referenced Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants