diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index 0aeec4f6ec203..9838a10ef4628 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -98,13 +98,14 @@ function addColabLink() { const pageName = parts[parts.length - 1].split(".")[0]; if (hasNotebook.includes(pageName)) { + const baseURL = "https://colab.research.google.com/github/huggingface/notebooks/blob/master/transformers_doc/" const linksColab = `
Open In Colab
- - - + + +
` const leftMenu = document.querySelector(".wy-breadcrumbs-aside")