Download docs/assets/fold_api_reference.js from StarVLA/BEHAVIOR-1K: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/datasets/StarVLA/BEHAVIOR-1K/resolve/main/docs/assets/fold_api_reference.js
- Command line
-
hf download hf://datasets/StarVLA/BEHAVIOR-1K/docs/assets/fold_api_reference.js
-
curl -L -o fold_api_reference.js https://huggingface.co/datasets/StarVLA/BEHAVIOR-1K/resolve/main/docs/assets/fold_api_reference.js
465 Bytes
| // Automatically fold the API reference section on page load | |
| document.addEventListener("DOMContentLoaded", function() { | |
| const reference_link = document.querySelector('a[href$="reference/SUMMARY.html"]'); | |
| const inp = reference_link.parentElement.parentElement.querySelector('input'); | |
| inp.classList.remove('md-toggle--indeterminate'); | |
| const nav = document.querySelector(`[aria-labelledby="${inp.id}_label"]`); | |
| nav.setAttribute('aria-expanded', 'false'); | |
| }); |