mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-30 20:19:21 +00:00
Doc - Quick js/css update + remove sphinx_tabs deps
This commit is contained in:
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
/* Version control */
|
/* Version control */
|
||||||
|
|
||||||
|
.selectors {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-button {
|
.dropdown-button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
@ -49,7 +49,7 @@ function addCustomFooter() {
|
|||||||
const questionOrIssue = document.createElement("div");
|
const questionOrIssue = document.createElement("div");
|
||||||
questionOrIssue.innerHTML =
|
questionOrIssue.innerHTML =
|
||||||
"Stuck? Read our <a href='https://medium.com/huggingface'>Blog posts</a>" +
|
"Stuck? Read our <a href='https://medium.com/huggingface'>Blog posts</a>" +
|
||||||
"or <a href='https://github.com/huggingface/tokenizers'>Create an issue</a>";
|
" or <a href='https://github.com/huggingface/tokenizers'>Create an issue</a>";
|
||||||
customFooter.appendChild(questionOrIssue);
|
customFooter.appendChild(questionOrIssue);
|
||||||
customFooter.classList.add("footer");
|
customFooter.classList.add("footer");
|
||||||
|
|
||||||
@ -199,6 +199,7 @@ function addVersionControl() {
|
|||||||
|
|
||||||
// Container
|
// Container
|
||||||
const div = document.createElement("div");
|
const div = document.createElement("div");
|
||||||
|
div.classList.add("selectors");
|
||||||
div.appendChild(buttonContainer);
|
div.appendChild(buttonContainer);
|
||||||
div.appendChild(languageMenu);
|
div.appendChild(languageMenu);
|
||||||
div.appendChild(versionMenu);
|
div.appendChild(versionMenu);
|
||||||
|
@ -30,9 +30,7 @@ release = "0.9.0"
|
|||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
# ones.
|
# ones.
|
||||||
extensions = [
|
extensions = []
|
||||||
"sphinx_tabs.tabs",
|
|
||||||
]
|
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ["_templates"]
|
templates_path = ["_templates"]
|
||||||
|
Reference in New Issue
Block a user