- 29 Oct, 2022 1 commit
-
-
moto authored
-
- 15 Aug, 2022 1 commit
-
-
moto authored
Summary: The link to version selector has been absolute link, which had been a trap when reviewing gh-pages deployment from folk. This commit changes that to relative link. Pull Request resolved: https://github.com/pytorch/audio/pull/2605 Test Plan: - https://mthrok.github.io/audio/main/index.html -> click version selector -> https://mthrok.github.io/audio/versions.html - https://mthrok.github.io/audio/0.12.1/index.html -> click version selector -> https://pytorch.org/audio/versions.html Reviewed By: carolineechen, nateanl Differential Revision: D38695645 Pulled By: mthrok fbshipit-source-id: 91132ac19b8c61f39d304a162435b9c6599ef2b2
-
- 24 May, 2022 2 commits
-
-
moto authored
Summary: Follow-up of https://github.com/pytorch/audio/issues/2407, the <script> was not properly closed on pages other than tutorials Pull Request resolved: https://github.com/pytorch/audio/pull/2409 Reviewed By: carolineechen Differential Revision: D36632668 Pulled By: mthrok fbshipit-source-id: 9c0409a8011d77f8689e2dcdc1bd9844d3d31f79
-
moto authored
Summary: This commit fixes multiple issues with documentation. https://output.circle-artifacts.com/output/job/23245537-e57b-4b9d-9b81-b3df20996d1f/artifacts/0/docs/tutorials/audio_resampling_tutorial.html 1. Duplicated requirejs The nbsphinx extension introduced in https://github.com/pytorch/audio/pull/2393 pulled a requirejs which caused the initialization script to halt. As a result, the right side bar was left uninitialized. 2. Undefined variable error It turned out that PyTorch's theme expected the downstream projects to define `collapsedSections` variable. Currently console log shows `collapsedSections is not defined`. As a result of this fix, we start to see the + symbol on left side. 3. Fix the behavior of default expand Tweaks the right-side bar initialization behavior so that expand-all only happens once, not at every resize. 4. Overwrite the link to GitHub The `GitHub` tab in main-menu always linked PyTorch core. This commit adds overwrite to torchaudio page Pull Request resolved: https://github.com/pytorch/audio/pull/2407 Reviewed By: carolineechen Differential Revision: D36612904 Pulled By: mthrok fbshipit-source-id: 56aa7623a8925a241cf4790ac77a87424ad9237c
-
- 17 May, 2022 1 commit
-
-
moto authored
Summary: This commit updates the `window.sideMenus.handleRightMenu`, so that subsections are expanded on tutorials by default. https://output.circle-artifacts.com/output/job/98508917-87df-4666-9958-c70683b3245d/artifacts/0/docs/tutorials/audio_io_tutorial.html Tutorial subsections are important because they have anchors so allow us to get the link to the specific figures / audio samples. When responding issues/questions and when there is a corresponding code snippet in tutorial, it is often easy to answer with links to the tutorial. However, by default the tutorial page collapses right side bar, and I have to click the small "+" symbols to navigate to the subsection, and the state of expansion does not persist across the page refresh. This has been a pain point since we updated the Sphinx version to 3 in https://github.com/pytorch/audio/pull/1685. Pull Request resolved: https://github.com/pytorch/audio/pull/2397 Reviewed By: xiaohui-zhang Differential Revision: D36429745 Pulled By: mthrok fbshipit-source-id: 97a5ae9270e68f8e88f0bca766d5a2c1839634e3
-
- 26 Feb, 2022 1 commit
-
-
moto authored
Summary: This commit adds tutorial for device ASR, and update API for device streaming. The changes for the interface are 1. Add `timeout` and `backoff` parameters to `process_packet` and `stream` methods. 2. Move `fill_buffer` method to private. When dealing with device stream, there are situations where the device buffer is not ready and the system returns `EAGAIN`. In such case, the previous implementation of `process_packet` method raised an exception in Python layer , but for device ASR, this is inefficient. A better approach is to retry within C++ layer in blocking manner. The new `timeout` parameter serves this purpose. Pull Request resolved: https://github.com/pytorch/audio/pull/2202 Reviewed By: nateanl Differential Revision: D34475829 Pulled By: mthrok fbshipit-source-id: bb6d0b125d800f87d189db40815af06fbd4cab59
-
- 05 Nov, 2021 1 commit
-
-
moto authored
* Refactor tutorial organization * Merge tutorial subdirectoris under to examples/gallery/tutorials * Do not use index.rst generated by Sphinx-gallery * Instead use flat structure so that all the tutorials are listed in left menu * Use `_assets` dir for artifacts of tutorials
-
- 04 Nov, 2021 2 commits
-
-
moto authored
-
moto authored
This commit adds colab/download/source link to tutorials, like in `pytorch/tutorials` repo. Since the upstream `pytorch-sphinx-theme` does not provide the interface for this, a hack to overwrite the URL is added. This hack might stop working if there is some update in `pytorch-sphinx-theme`.
-
- 17 Feb, 2021 1 commit
-
-
Matti Picus authored
-