-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-30880][DOCS] Delete Sphinx Makefile cruft #27625
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
Conversation
|
I couldn't test the Windows Makefile. Perhaps @DavidToneian or @sarutak could take a look at the changes I made there? |
|
Test build #118650 has finished for PR 27625 at commit
|
|
Actually, @nchammas, what about we just switching it to minimized version of Makefile? (see https://github.com/sphinx-doc/sphinx/blob/af62fa61e6cbd88d0798963211e73e5ba0d55e6d/sphinx/templates/quickstart/Makefile.new_t, https://github.com/databricks/koalas/blob/master/docs/Makefile and https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/Makefile)? |
python/docs/Makefile
Outdated
| rm -rf $(BUILDDIR)/* | ||
|
|
||
| html: | ||
| $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is the only target we actually need? I'm Ok with it if we can't think of any reason to use the other targets. I assume this whole thing was a copy paste.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, html and clean are the only targets we use.
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't reuse the same JIRA ID for different PRs, @nchammas .
- #27626 [SPARK-30731] Update deprecated Mkdocs option
- #27625 [SPARK-30731] Delete Sphinx Makefile cruft
- #27534 [SPARK-30731][DOCS] Refine workflow for building docs
Responded in two places: |
|
Hi, @HyukjinKwon . |
|
The makefile works for me on Windows. However, if one invokes Should you disagree, I propose that |
|
I've switched to more minimal Makefiles per @HyukjinKwon's suggestion. Calling @DavidToneian - I believe the Windows version should now do the same. Can you confirm? |
|
Test build #118688 has finished for PR 27625 at commit
|
|
retest this please |
|
Yeah, let's dont port back to 2.4. |
|
Test build #118689 has finished for PR 27625 at commit
|
|
retest this please |
|
Test build #118690 has finished for PR 27625 at commit
|
|
retest this please |
|
@DavidToneian, do you mind if I ask to test the current |
|
Test build #118691 has finished for PR 27625 at commit
|
|
The new
Thanks! |
|
@DavidToneian, thanks for testing it out. These files are actually templates from Sphinx so they might need to fix :D. I am pretty confident about this change because I am already using the exact same file. @nchammas can you rebase? I think it's good to go. |
|
Test build #118748 has finished for PR 27625 at commit
|
|
Merged to master. |
|
Just for clarification, I didn't backport this PR because this change is potentially able to make diff in the output. |
Split off from apache#27534. ### What changes were proposed in this pull request? This PR deletes some unused cruft from the Sphinx Makefiles. ### Why are the changes needed? To remove dead code and the associated maintenance burden. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Tested locally by building the Python docs and reviewing them in my browser. Closes apache#27625 from nchammas/SPARK-30731-makefile-cleanup. Lead-authored-by: Nicholas Chammas <[email protected]> Co-authored-by: Nicholas Chammas <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
Split off from #27534.
What changes were proposed in this pull request?
This PR deletes some unused cruft from the Sphinx Makefiles.
Why are the changes needed?
To remove dead code and the associated maintenance burden.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Tested locally by building the Python docs and reviewing them in my browser.