user docs: Automatically activate correct tab for OS-specific instructions.

This commit is contained in:
Eeshan Garg
2018-09-15 16:39:35 -02:30
committed by Rishi Gupta
parent 4c7762f696
commit ecd4f821be
3 changed files with 67 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ DIV_TAB_CONTENT_TEMPLATE = """
</div>
""".strip()
# If adding new entries here, also check if you need to update
# tabbed-instructions.js
TAB_DISPLAY_NAMES = {
'desktop-web': 'Desktop/Web',
'ios': 'iOS',