Skip to content

DOC, BLD: make the python docs build failures print a nicer message#50356

Closed
mattip wants to merge 1 commit intopytorch:masterfrom
mattip:doc-warnings2
Closed

DOC, BLD: make the python docs build failures print a nicer message#50356
mattip wants to merge 1 commit intopytorch:masterfrom
mattip:doc-warnings2

Conversation

@mattip
Copy link
Copy Markdown
Contributor

@mattip mattip commented Jan 10, 2021

Fixes #50330

  • Encapsulate the make html call and capture the stdout/stderr with a tee command
  • If the buld fails, print out the WARNING: lines of the build log and finish up with a message

I tried it out on my branch, but did not write a test.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Jan 10, 2021

💊 CI failures summary and remediations

As of commit 7cfc730 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 11, 2021

Codecov Report

Merging #50356 (7cfc730) into master (36ddb00) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #50356      +/-   ##
==========================================
- Coverage   80.68%   80.68%   -0.01%     
==========================================
  Files        1904     1904              
  Lines      206562   206562              
==========================================
- Hits       166674   166668       -6     
- Misses      39888    39894       +6     

@zhangguanheng66 zhangguanheng66 added module: build warnings Related to warnings during build process triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module module: doc infra Related to pytorch.org/docs, deployment of, and serving and removed module: build warnings Related to warnings during build process labels Jan 11, 2021
@mattip-q
Copy link
Copy Markdown

gentle ping

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@brianjo has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@brianjo merged this pull request in 5ec2e26.

laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…ytorch#50356)

Summary:
Fixes pytorch#50330

- Encapsulate the `make html` call and capture the stdout/stderr with a `tee` command
- If the buld fails, print out the `WARNING:` lines of the build log and finish up with a message

I tried it out on my branch, but did not write a test.

Pull Request resolved: pytorch#50356

Reviewed By: ezyang

Differential Revision: D26101762

Pulled By: brianjo

fbshipit-source-id: ba2b704d3244ef5139ca9026c5250537bf45734f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged module: doc infra Related to pytorch.org/docs, deployment of, and serving open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs build failures are difficult to identify

7 participants