Merge pull request #13 from sailpoint-oss/feature/homepage-updates

Feature/homepage updates
This commit is contained in:
Jordan Violet
2022-09-02 15:37:01 -04:00
committed by GitHub
4 changed files with 113 additions and 12 deletions

3
.gitignore vendored
View File

@@ -22,3 +22,6 @@ yarn-error.log*
/products/arm/api /products/arm/api
/products/idn/api /products/idn/api
/products/iiq/api /products/iiq/api
#Alogolia env file
/algolia/.env

56
algolia/config.json Normal file
View File

@@ -0,0 +1,56 @@
{
"index_name": "prod_DEVELOPER_SAILPOINT_COM",
"start_urls": [
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/docs/getting-started/",
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/docs/event-triggers/getting-started",
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/docs/saas-configuration/",
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/docs/saas-connectivity",
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/docs/transforms",
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/api/v3",
"https://sailpoint-oss.github.io/developer.sailpoint.com/idn/api/beta",
"https://sailpoint-oss.github.io/developer.sailpoint.com/iiq/api"
],
"sitemap_urls": [
"https://sailpoint-oss.github.io/developer.sailpoint.com/sitemap.xml"
],
"sitemap_alternate_links": true,
"stop_urls": [],
"selectors": {
"lvl0": {
"selector": "(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu__link--active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()]",
"type": "xpath",
"global": true,
"default_value": "Documentation"
},
"lvl1": "header h1",
"lvl2": "article h2",
"lvl3": "article h3",
"lvl4": "article h4",
"lvl5": "article h5, article td:first-child",
"lvl6": "article h6",
"text": "article p, article li, article td:last-child"
},
"strip_chars": " .,;:#",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": [
"language",
"version",
"type",
"docusaurus_tag"
],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
},
"conversation_id": [
"1090805758"
],
"nb_hits": 8687
}

View File

@@ -42,6 +42,20 @@ const config = {
themeConfig: themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
algolia: {
// The application ID provided by Algolia
appId: 'TB01H1DFAM',
// Public API key: it is safe to commit it
apiKey: '726952a7a9389c484b6c96808a3e0010',
indexName: 'prod_DEVELOPER_SAILPOINT_COM',
// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: 'search',
//... other Algolia params
},
docs: { docs: {
sidebar: { sidebar: {
hideable: true, hideable: true,
@@ -65,11 +79,13 @@ const config = {
label: 'IdentityNow', label: 'IdentityNow',
position: 'left', position: 'left',
items: [ items: [
{to: "#", label: "API Specifications", className: "section__docs",}, {to: "#", label: "API Specifications", className: "navbar__section",},
{to: '/idn/api/v3', label: 'V3 APIs', className: "indent"}, {to: '/idn/api/v3', label: 'V3 APIs', className: "indent"},
{to: '/idn/api/beta', label: 'Beta APIs', className: "indent"}, {to: '/idn/api/beta', label: 'Beta APIs', className: "indent"},
{to: "#", label: "Documentation", className: "section__docs",}, {to: "#", label: "Documentation", className: "navbar__section",},
{to: '/idn/docs/getting-started', label: 'IDN Documentation', className: "indent"} {to: '/idn/docs/getting-started', label: 'IDN Documentation', className: "indent"},
{to: "#", label: "Training", className: "navbar__section",},
{href: 'https://university.sailpoint.com/Saba/Web_spf/NA10P1PRD075/guest/categorydetail/categ000000000003041/true/xxemptyxx/', label: 'IdentityNow Certifications', className: "indent"},
], ],
}, },
{ {
@@ -77,8 +93,10 @@ const config = {
label: 'IdentityIQ', label: 'IdentityIQ',
position: 'left', position: 'left',
items: [ items: [
{to: "#", label: "API Specifications", className: "section__docs",}, {to: "#", label: "API Specifications", className: "navbar__section",},
{to: '/iiq/api', label: 'IIQ APIs', className: "indent"} {to: '/iiq/api', label: 'IIQ APIs', className: "indent"},
{to: "#", label: "Training", className: "navbar__section",},
{href: 'https://university.sailpoint.com/Saba/Web_spf/NA10P1PRD075/guest/categorydetail/categ000000000003042/true/xxemptyxx/', label: 'IdentityIQ Certifications', className: "indent"},
], ],
}, },
{ {
@@ -97,9 +115,14 @@ const config = {
position: "right", position: "right",
items: [ items: [
{label: "Compass", href: "https://community.sailpoint.com"}, {label: "Compass", href: "https://community.sailpoint.com"},
{label: "Submit Support Ticket", href: "https://support.sailpoint.com"} {label: "Submit Support Ticket", href: "https://support.sailpoint.com/hc/en-us/requests/new?ticket_form_id=360000629992"}
] ]
}, },
{
position: "right",
label: "Status",
to: "https://status.sailpoint.com/"
},
{ {
position: "right", position: "right",
to: "https://github.com/sailpoint-oss", to: "https://github.com/sailpoint-oss",
@@ -121,7 +144,7 @@ const config = {
title: "IdentityNow", title: "IdentityNow",
items: [ items: [
{ {
label: "Make Your First API Call", label: "Your First API Call",
to: "idn/docs/getting-started" to: "idn/docs/getting-started"
}, },
{ {
@@ -132,14 +155,22 @@ const config = {
label: "Build A SaaS Connector", label: "Build A SaaS Connector",
to: "idn/docs/saas-connectors" to: "idn/docs/saas-connectors"
}, },
{
label: "Get Certified",
href: "https://university.sailpoint.com/Saba/Web_spf/NA10P1PRD075/guest/categorydetail/categ000000000003041/true/xxemptyxx/"
}
] ]
}, },
{ {
title: "IdentityIQ", title: "IdentityIQ",
items: [ items: [
{ {
label: "Build An IdentityIQ Plugin", label: "Build A Plugin",
to: "https://documentation.sailpoint.com/" to: "https://documentation.sailpoint.com/"
},
{
label: "Get Certified",
href: "https://university.sailpoint.com/Saba/Web_spf/NA10P1PRD075/guest/categorydetail/categ000000000003042/true/xxemptyxx/"
} }
] ]
}, },
@@ -155,8 +186,8 @@ const config = {
to: "https://developer-sailpoint.ideas.aha.io/" to: "https://developer-sailpoint.ideas.aha.io/"
}, },
{ {
label: "Contact the DevRel Team", label: "Contact Our Team",
to: "mailto:developers@sailpoint.com" to: "https://developer.sailpoint.com/discuss/new-message?groupname=developer_relations"
} }
] ]
}, },

View File

@@ -148,7 +148,7 @@ html[data-theme="dark"] .header-github-link:before {
filter: invert(); filter: invert();
} }
.section__docs{ .navbar__section{
font-weight: bolder; font-weight: bolder;
cursor:inherit; cursor:inherit;
background-color: transparent !important; background-color: transparent !important;
@@ -159,3 +159,14 @@ html[data-theme="dark"] .header-github-link:before {
.indent { .indent {
padding-left: 1rem; padding-left: 1rem;
} }
.footer__link-item {
line-height: 2.5;
font-size: 15px;
font-weight: 300;
}
.footer__copyright {
font-size: 10px;
font-weight: 300;
}