1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-17 22:08:33 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Markus Lehtonen
777144d39b docs: polish the version menu
Only show the dynamic version menu in production environment where it's
available. Local (development) builds only show a stub version menu with
one item.

Also, fix the theme customization. Append version list items to the
correct element in html so that they are displayed correctly. Drop
unnecessary <div/>.

(cherry picked from commit 5295feb1ee)
2020-10-30 16:21:28 +02:00
Markus Lehtonen
c3844a63c5 docs: update the navbar versions menu
Make it hidden, by default. Unify style with other items in the navbar
(making version list horizontal, for example). Show current version next
to the caret mark that opens the menu.

(cherry picked from commit e036d26953)
2020-10-30 08:56:40 +02:00
Markus Lehtonen
f570c5f96c docs: sync navbar from jekyll-rdt-theme v2.0.9
(cherry picked from commit 82f5c89e1a)
2020-10-30 08:56:31 +02:00
Markus Lehtonen
9fe3a14f04 docs: make the list of available versions dynamic
Make the list of available versions dynamic. The items displayed is now
generated with javascript. The parent directory of the site is supposed
to contain versions.js providing getVersionListItems() that returns the
available versions.

The update-gh-pages.sh script is modified to update/create versions.js
on every invocation. It simply lists all directories in the root
directory and adds them to the version list.

(cherry picked from commit c05c6f2e5b)
2020-10-30 08:54:38 +02:00
Markus Lehtonen
578c8f2b9f docs: copy site setup from master
Copy the virtually empty Jekyll site as a base.

(copied from commit a08fb66fa7)
2020-10-22 21:50:32 +03:00