summary refs log tree commit diff
path: root/docs/website_files/theme
diff options
context:
space:
mode:
authorDmytro Kagirov <dmytro27kagirov@gmail.com>2023-12-11 15:18:40 +0100
committerGitHub <noreply@github.com>2023-12-11 14:18:40 +0000
commit483d22afc39d96b5e25292843806d0c0487e6446 (patch)
tree38bc9ea07c1533abd3e088061fbe448bd011fb4c /docs/website_files/theme
parentWrite signing keys with file mode 0640 (#16740) (diff)
downloadsynapse-483d22afc39d96b5e25292843806d0c0487e6446.tar.xz
Adding a version picker for Synapse docs (#16533)
Diffstat (limited to 'docs/website_files/theme')
-rw-r--r--docs/website_files/theme/index.hbs12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/website_files/theme/index.hbs b/docs/website_files/theme/index.hbs
index 3b7a5b6163..f60a7e96aa 100644
--- a/docs/website_files/theme/index.hbs
+++ b/docs/website_files/theme/index.hbs
@@ -131,6 +131,18 @@
                             <i class="fa fa-search"></i>
                         </button>
                         {{/if}}
+                        <div class="version-picker">
+                            <div class="dropdown">
+                                <div class="select">
+                                    <span></span>
+                                    <i class="fa fa-chevron-down"></i>
+                                </div>
+                                <input type="hidden" name="version">
+                                <ul class="dropdown-menu">
+                                    <!-- Versions will be added dynamically in version-picker.js -->
+                                </ul>
+                            </div>
+                        </div>
                     </div>
 
                     <h1 class="menu-title">{{ book_title }}</h1>