jacebenson / sndocs

https://sndocs.jacebenson.com Unofficial Servicenow Version tracker
https://sndocs.jacebenson.com
9 stars 8 forks source link

Change Features to support direct links #17

Open jacebenson opened 4 years ago

jacebenson commented 4 years ago

Today features are just an array;

[
    "Import and Export: Scoped scriptable Import Set APIs",
        "Investment Funding -  This sounds new",
        "Mid Servers require JRE 1.8.0_161 or greator",
        "Mid Servers for discovery require Powershell 5.1 (was 3.0)",
]

Id like to change this structure to something like;

{
    "Import and Export: Scoped scriptable Import Set APIs":"https://docs.servicenow.com/bundle/orlando-release-notes/page/release-notes/summary/rn-summary-new-features.html",
        "Investment Funding -  This sounds new":"https://docs.servicenow.com/bundle/orlando-it-business-management/page/product/investment-funding/concept/investment-funding-overview.html"
        "Mid Servers require JRE 1.8.0_161 or greator":null
        "Mid Servers for discovery require Powershell 5.1 (was 3.0)":"https://docs.servicenow.com/bundle/orlando-release-notes/page/release-notes/summary/rn-summary-changes.html"
}

Links should look the same but point to either https://docs.servicenow.com/search?q={{key}} OR the link defined.

jacebenson commented 4 years ago

This should be done by editing /data/versions.json to use an object instead of the array and /layouts/partials/versions.html around line 158.