Fix configuration slashes and indentation in advanced usage documentation #852
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.
Update Advanced Usage documentation
Changes
Update
\
to/
from the first code snippet from Multiple journal files section.I had copy and pasted this into my
~/.config/jrnl/jrnl.yaml
and found that journal files were created in my current working directory as~\work.txt
and~\journal.txt
.Manual test
Indent code snippet from override defaults per journal example from Multiple journal files section.
Taking the snippet as-is, I got
TypeError: argument of type 'NoneType' is not iterable
errors. However; updating the YAML to have an indents resolved the issue.Manual test
Documentation Before Changes
Documentation After Changes
My motivation for these changes are to improve the advanced usage documentation.
Checklist