-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Build: standardize output directory for artifacts #9888
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
faec2a2
Build: standardize output directory for artifacts
humitos 0666df6
Build: decideif there is an output type based on the path existence
humitos b494c64
Test: update build tests to match changes
humitos d2bf3f0
Test: check if the file exist before continue
humitos 2ab29ba
Build: simplify the code by running the commands inside the container
humitos faa611f
Test: add checks for more commands
humitos c80416a
Storage: use constants to make explicit artifact types
humitos 67f0958
PDF builder: raise an error if the PDF file is not found
humitos f54ca20
Build: use `relative_output_dir` and `absolute_output_dir`
humitos ad270e9
Builder: execute `sphinx-build` from the same directory as `conf.py`
humitos da328fd
HTMLZip build: use `zip` inside the Docker container to build it
humitos 782179f
Minor changes about docstring and final dot in a sentence :)
humitos c999e55
Test: adapt them to match thew path and arguments changes
humitos 411bb4e
Merge branch 'main' of github.com:readthedocs/readthedocs.org into hu…
humitos 8195ecb
pre-commit missing changes
humitos 1f50a3b
Sphinx builder: better default
humitos a88bf14
Update readthedocs/doc_builder/backends/sphinx.py
humitos 280e8e4
Update readthedocs/projects/tests/test_build_tasks.py
humitos e78442a
Minor changes to fix tests
humitos c301c0d
Docstring: explain why there is an exception handling at this place
humitos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This seems reasonable. Is there a good way to implement the suggested logic? I guess raise a different exception for multiple configs that we
raise
(or just don't catch)?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.
Yes. I documented this here in this way because I want to change the internal behavior and also communicate these errors better to the user. I'm opening a new issue with all these findings to continue working after this, since it will require some refactor and more design decisions.