-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/github_actions/actions/setup-no…
…de-4
- Loading branch information
Showing
5 changed files
with
100 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
const features = [ | ||
{ | ||
title: "Configuration Templates", | ||
href: "#templates-and-variables", | ||
}, | ||
{ | ||
title: "Automatic Provisioning", | ||
href: "https://openwisp.io/docs/dev/openwrt-config-agent/user/automatic-registration.html", | ||
}, | ||
{ | ||
title: "Automatic VPN Tunnels", | ||
href: "#automatic-vpn-tunnels", | ||
}, | ||
{ | ||
title: "Network Monitoring", | ||
href: "#network-monitoring", | ||
}, | ||
{ | ||
title: "Alerts & Notifications", | ||
href: "#notifications", | ||
}, | ||
{ | ||
title: "Multi-tenancy", | ||
href: "#multi-tenancy", | ||
}, | ||
{ | ||
title: "Firmware Upgrades", | ||
href: "#firmware-upgrades", | ||
}, | ||
{ | ||
title: "Network Topology", | ||
href: "#network-topology", | ||
}, | ||
{ | ||
title: "WiFi & Roaming", | ||
href: "#wifi-and-roaming", | ||
}, | ||
{ | ||
title: "Hotspots & Public WiFi", | ||
href: "#hotspot-and-public-wifi", | ||
}, | ||
{ | ||
title: "Mesh Networks", | ||
href: "#mesh-networks", | ||
}, | ||
{ | ||
title: "RADIUS & EAP", | ||
href: "#radius-eap", | ||
}, | ||
{ | ||
title: "IPAM", | ||
href: "#ipam", | ||
}, | ||
{ | ||
title: "Modular, Programmable, Extensible", | ||
href: "https://openwisp.io/docs/dev/general/values.html#software-reusability-for-long-term-sustainability", | ||
}, | ||
{ | ||
title: "Great Docs", | ||
href: "https://openwisp.io/docs/dev/", | ||
}, | ||
]; | ||
|
||
// Function to update the "Top Feature" section | ||
function setRandomTopFeature() { | ||
// Select a random feature from the map | ||
const randomFeature = features[Math.floor(Math.random() * features.length)]; | ||
|
||
// Update the Top Feature link with the selected feature's data | ||
const topFeatureTitle = document.getElementById("top-feature-title"); | ||
topFeatureTitle.textContent = randomFeature.title; | ||
|
||
const topFeatureLink = document.getElementById("top-feature-link"); | ||
if (randomFeature.href.startsWith("#")) { | ||
randomFeature.href = featuresBasePath + randomFeature.href; | ||
} | ||
topFeatureLink.href = randomFeature.href; | ||
topFeatureLink.style.display = "unset"; | ||
} | ||
|
||
// Wait for the document to load before updating the Top Feature section | ||
document.addEventListener("DOMContentLoaded", setRandomTopFeature); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pelican~=4.9.1 | ||
pelican~=4.10.1 | ||
pelican-jinja2content~=1.0.1 | ||
pelican-minify~=2.0.0 | ||
pelican-sitemap~=1.1.0 | ||
|