@@ -50,10 +50,6 @@ export const shouldLinkToNewRefs = (v: string): boolean => {
5050
5151const getReferences = ( version : string , v : string ) => {
5252 const newRefs = [
53- {
54- name : 'Getting Started with Neo4j' ,
55- url : `https://neo4j.com/docs/getting-started/${ v } `
56- } ,
5753 {
5854 name : 'Neo4j Browser Manual' ,
5955 url : 'https://neo4j.com/docs/browser-manual/current/'
@@ -64,10 +60,6 @@ const getReferences = (version: string, v: string) => {
6460 }
6561 ]
6662 const oldRefs = [
67- {
68- name : 'Getting Started' ,
69- url : `https://neo4j.com/docs/developer-manual/${ v } /get-started/`
70- } ,
7163 {
7264 name : 'Developer Manual' ,
7365 url : `https://neo4j.com/docs/developer-manual/${ v } /`
@@ -77,42 +69,39 @@ const getReferences = (version: string, v: string) => {
7769 url : `https://neo4j.com/docs/developer-manual/${ v } /cypher/`
7870 }
7971 ]
80- const common = [
72+
73+ const docs = [
74+ {
75+ name : 'Getting Started with Neo4j' ,
76+ url : 'https://neo4j.com/docs/getting-started/'
77+ } ,
78+ ...( shouldLinkToNewRefs ( version ) ? newRefs : oldRefs ) ,
8179 {
8280 name : 'Cypher Refcard' ,
8381 url : `https://neo4j.com/docs/cypher-refcard/${ v } /`
8482 }
8583 ]
8684
87- const docs = [
88- ...( shouldLinkToNewRefs ( version ) ? newRefs : oldRefs ) ,
89- ...common
90- ]
91-
9285 const graphAcademy = [
9386 {
9487 name : 'Neo4j Fundamentals' ,
95- url : ` https://graphacademy.neo4j.com/courses/neo4j-fundamentals/`
88+ url : ' https://graphacademy.neo4j.com/courses/neo4j-fundamentals/'
9689 } ,
9790 {
9891 name : 'Cypher Fundamentals' ,
99- url : ` https://graphacademy.neo4j.com/courses/cypher-fundamentals/`
92+ url : ' https://graphacademy.neo4j.com/courses/cypher-fundamentals/'
10093 } ,
10194 {
10295 name : 'Graph Data Modeling Fundamentals' ,
103- url : ` https://graphacademy.neo4j.com/courses/modeling-fundamentals/`
96+ url : ' https://graphacademy.neo4j.com/courses/modeling-fundamentals/'
10497 } ,
10598 {
10699 name : 'Importing CSV Data' ,
107- url : ` https://graphacademy.neo4j.com/courses/importing-data/`
100+ url : ' https://graphacademy.neo4j.com/courses/importing-cypher/'
108101 } ,
109102 {
110- name : 'Courses for Developers' ,
111- url : `https://graphacademy.neo4j.com/category/developer/`
112- } ,
113- {
114- name : 'Courses for Data Scientists' ,
115- url : `https://graphacademy.neo4j.com/category/data-scientist/`
103+ name : 'Full Course Catalog' ,
104+ url : 'https://graphacademy.neo4j.com/categories/'
116105 }
117106 ]
118107
@@ -128,10 +117,6 @@ const getReferences = (version: string, v: string) => {
128117 {
129118 name : 'Knowledge Base' ,
130119 url : 'https://neo4j.com/developer/kb/'
131- } ,
132- {
133- name : 'Neo4j Browser Developer Pages' ,
134- url : 'https://neo4j.com/developer/neo4j-browser/'
135120 }
136121 ]
137122 return { docs, other, graphAcademy }
0 commit comments