Repository navigation
Add naming conventions and faq to docs - #564
Merged
Merged
Conversation
Collaborator
Author
|
Note to self to credit @sthaar here for suggestions to docs |
Adds a page on file naming conventions to the reference section of the docs, that we can link to from other pages (as in #524) and from error messages (see #525). Also adds a page with Frequently Asked Questions, with information on how to annotate data for use with `vak` and links to other how-tos. Fixes #424. Squashed commits: - Add target to howto_user_annot.md Add target to header "spectrogram file naming conventions" so we can reference it from a separate page on file naming conventions. - Add doc/reference/filenames.md that explicitly documents naming conventions, so that we can reference this elsewhere, as described in #524. - Add doc/faq.md, fixes #424 - Add "getting help" to doc/index.md with link to just-added FAQ, as well as links to forum and issue tracker. - Update 'support/contributing' section of README to match the "Getting Help" section on the index of the docs, with links to FAQ, forum, issue tracker, and additionally the contributing docs. - Add faq to toctree in doc/index.md - Add link to naming conventions in howto_user_annot callout
NickleDave
force-pushed
the
add-naming-conventions-and-faq-to-docs
branch
from
August 17, 2022 17:42
c119c78 to
25cda36
Compare
Codecov Report
@@ Coverage Diff @@
## main #564 +/- ##
=======================================
Coverage 93.09% 93.09%
=======================================
Files 65 65
Lines 2288 2288
=======================================
Hits 2130 2130
Misses 158 158 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Collaborator
Author
|
Just realized I didn't have ReadTheDocs build set up on pull requests. Merging and will fix any typos post-hoc. |
Collaborator
Author
|
@all-contributors please add @sthaar for docs |
Contributor
|
I've put up a pull request to add @sthaar! 🎉 |
NickleDave
added a commit
that referenced
this pull request
Aug 18, 2022
NickleDave
added a commit
that referenced
this pull request
Aug 18, 2022
- Add custom exception `AudioFilenameNotFound` - Have `audio_stem_from_path` raise this exception when it fails to find a valid audio format extension and then runs out of extensions to remove. The error clearly states that an audio filename was not found in the path, instead of short cryptic "unable to stem". - Have `map_annoted_to_annot` look for this custom exception in a try-except block when it first creates the keys for the map. If we catch an AudioFilenameNotFound exception, then we raise a verbose ValueError explaining what happened, including both `audio_path` and the path to the annotation itself, and a link to the file naming convention page added in #564 and to the how-to-user-annotation-format page.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #524 and #424.
Re #424, adding a separate FAQs page instead of extending how-tos, so that how-tos stay as detailed walkthroughs, and we can link to an FAQ from anywhere (as the Django docs do) even though the FAQ doesn't fit into the "four types of docs" schema