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: use stdout instead of stderr for simple logs in build-docs #1825

Merged
merged 4 commits into from
Dec 27, 2024

Conversation

pv-g
Copy link
Contributor

@pv-g pv-g commented Dec 14, 2024

Hey there,

Using CLI redocly build-docs
This always prints the following into stderr.

Found /Users/(...)/redocly.yaml and using theme.openapi options
Prerendering docs

I have many other stuff happening in my project, and generating multiple docs, so this just adds noise & annoyance, whereas it's just (verbose) logs and not errors anyway.

@pv-g pv-g requested a review from a team as a code owner December 14, 2024 16:13
Copy link

changeset-bot bot commented Dec 14, 2024

🦋 Changeset detected

Latest commit: 94d6fd0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@redocly/cli Patch
@redocly/openapi-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pv-g pv-g requested a review from a team as a code owner December 14, 2024 16:24
@adamaltman
Copy link
Member

Seems like a good idea 🧠 ! Thanks @pv-g

@tatomyr
Copy link
Contributor

tatomyr commented Dec 18, 2024

@pv-g could you update the failing snapshots? (npm run e2e -- -u)

@tatomyr tatomyr changed the title fix: cli build-docs / use stdout instead of stderr for simple logs fix: use stdout instead of stderr for simple logs in build-docs Dec 18, 2024
@pv-g
Copy link
Contributor Author

pv-g commented Dec 20, 2024

Sure @tatomyr. Just did it.

Copy link
Contributor

@tatomyr tatomyr left a comment

Choose a reason for hiding this comment

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

Thank you @pv-g for the contribution!

@tatomyr tatomyr merged commit 62ae54a into Redocly:main Dec 27, 2024
38 checks passed
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.

5 participants