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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pv-g
Copy link

@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: 72ab792

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)

pv-g and others added 3 commits December 18, 2024 12:41
those are noisy & annoying otherwise, and just not errors anyway
Co-authored-by: Heather Cloward <heathercloward@gmail.com>
@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
Author

pv-g commented Dec 20, 2024

Sure @tatomyr. Just did it.

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.

4 participants