Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSwitchers handled by docsbuild-scripts. #91
Conversation
|
Looks like it works (local builds are usable, tested using The current implementation works without modifications on cpython, so it'll work on old branch we don't want to pollute with this, and we'll be able to clean the master branch later if this PR gets adopted. Please let me merge this PR myself, so I can closely watch how it goes on docs.pyhon.org immediatly after the merge (as salt will deploy this automatically after merging), to catch potential issues as early as possible, but reviews are appreciated! |
closes #90
Tasks:
switchers.jsswitchers.jsfind the switcher place, even in the absence of span placeholders (cpython could help by adding proper ids, but it's also nice if it works on old branches in which we won't commit the proper ids).indexsidebar.htmlvar all_versionsandvar all_languagesare not duplicated betweenbuild_docs.pyandswitchers.js.indexsidebar.html.