Commit 9cc01806 authored by Fabian Blatz's avatar Fabian Blatz Committed by Benjamin Cabé
Browse files

doc: Fix anchor element for Kconfig symbol location



Fixes the element href assignment of the Kconfig symbol generation.

Signed-off-by: default avatarFabian Blatz <fabianblatz@gmail.com>
parent b82c44ce
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -316,10 +316,10 @@ function renderKconfigEntry(entry) {

    let locationPermalink = getGithubLink(entry.filename, entry.linenr, "blob", zephyr_version);
    if (locationPermalink) {
        const locationPermalink = document.createElement('a');
        locationPermalink.href = locationPermalink;
        locationPermalink.appendChild(locationElement);
        renderKconfigPropLiteralElement(props, 'Location', locationPermalink);
        const locationPermalinkElement = document.createElement('a');
        locationPermalinkElement.href = locationPermalink;
        locationPermalinkElement.appendChild(locationElement);
        renderKconfigPropLiteralElement(props, 'Location', locationPermalinkElement);
    } else {
        renderKconfigPropLiteralElement(props, 'Location', locationElement);
    }