Minor fix development docs to prevent deprecation warning #5371
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.
Status
Ready for review
Description of Changes
Running tests from the
securedrop/securedrop
directory prints a deprecation warning:This PR applies the suggestion of running the tests from the
securedrop
directory instead.Considerations
The
bin/dev-shell
script setsTOPLEVEL
from Git output and doesn't depend on the current directory, so there is no need to change directory before running thebin/dev-shell
examples.The lines become longer, but still fit the width of the Read the Docs code block in all orientations of an iPad-sized device, and readability remains unchanged. (Smaller devices already required horizontal scrolling.)
Testing
Deployment
No special considerations for deployment.
Checklist
make docs-lint
) passed locallysecuredrop/docs/kernel_troubleshooting.rst:110:Cannot analyze code. No Pygments lexer found for "none".
(I worked around it.)