Skip to content

Commit

Permalink
chore: avoid formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aoles committed Dec 9, 2024
1 parent 89a9cff commit 8c6eb0d
Showing 1 changed file with 26 additions and 79 deletions.
105 changes: 26 additions & 79 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ export default withMermaid({
{text: 'API Playground', link: 'https://openrouteservice.org/dev/#/api-docs'},
{text: 'Forum', link: 'https://ask.openrouteservice.org'},
],
// undocumented options for NotFound-Page
notFound: {
title: 'MAYBE YOU CLICKED AN OLD LINK?',
quote: 'We recently reworked most of our documentation. You probably ended up here by clicking an old link somewhere, e.g. in the forum. Let us know how you got here and we\'ll fix it. Click the link below and check "Getting Started" - this will help you figure out where to find what you came for.',
linkText: 'Documentation Home',
},
// undocumented options for NotFound-Page
notFound: {
title: 'MAYBE YOU CLICKED AN OLD LINK?',
quote: 'We recently reworked most of our documentation. You probably ended up here by clicking an old link somewhere, e.g. in the forum. Let us know how you got here and we\'ll fix it. Click the link below and check "Getting Started" - this will help you figure out where to find what you came for.',
linkText: 'Documentation Home',
},
sidebar: [
{
text: 'Home', link: '/',
Expand All @@ -69,62 +69,25 @@ export default withMermaid({
text: 'Endpoints', collapsed: true, link: '/api-reference/endpoints/',
items: [
{
text: 'Directions',
collapsed: true,
link: '/api-reference/endpoints/directions/',
text: 'Directions', collapsed: true, link: '/api-reference/endpoints/directions/',
items: [
{text: 'Requests and Return Types', link: '/api-reference/endpoints/directions/requests-and-return-types'},
{text: 'Routing Options', link: '/api-reference/endpoints/directions/routing-options'},
{
text: 'Requests and Return Types',
link: '/api-reference/endpoints/directions/requests-and-return-types'
},
{
text: 'Routing Options',
link: '/api-reference/endpoints/directions/routing-options'
},
{
text: 'Extra info',
collapsed: true,
link: '/api-reference/endpoints/directions/extra-info/',
text: 'Extra info', collapsed: true, link: '/api-reference/endpoints/directions/extra-info/',
items: [
{
text: 'Steepness IDs',
link: '/api-reference/endpoints/directions/extra-info/steepness'
},
{
text: 'Surface IDs',
link: '/api-reference/endpoints/directions/extra-info/surface'
},
{
text: 'Category IDs',
link: '/api-reference/endpoints/directions/extra-info/waycategory'
},
{
text: 'Type IDs',
link: '/api-reference/endpoints/directions/extra-info/waytype'
},
{
text: 'Difficulty IDs',
link: '/api-reference/endpoints/directions/extra-info/trail-difficulty'
},
{
text: 'Restriction IDs',
link: '/api-reference/endpoints/directions/extra-info/road-access-restrictions'
},
{text: 'Steepness IDs', link: '/api-reference/endpoints/directions/extra-info/steepness'},
{text: 'Surface IDs', link: '/api-reference/endpoints/directions/extra-info/surface'},
{text: 'Category IDs', link: '/api-reference/endpoints/directions/extra-info/waycategory'},
{text: 'Type IDs', link: '/api-reference/endpoints/directions/extra-info/waytype'},
{text: 'Difficulty IDs', link: '/api-reference/endpoints/directions/extra-info/trail-difficulty'},
{text: 'Restriction IDs', link: '/api-reference/endpoints/directions/extra-info/road-access-restrictions'},
{text: 'Country IDs', link: '/technical-details/country-list'},
]
},
{
text: 'Route Attributes',
link: '/api-reference/endpoints/directions/route-attributes'
},
{
text: 'Geometry Decoding',
link: '/api-reference/endpoints/directions/geometry-decoding'
},
{
text: 'Instruction Types',
link: '/api-reference/endpoints/directions/instruction-types'
},
{text: 'Route Attributes', link: '/api-reference/endpoints/directions/route-attributes'},
{text: 'Geometry Decoding', link: '/api-reference/endpoints/directions/geometry-decoding'},
{text: 'Instruction Types', link: '/api-reference/endpoints/directions/instruction-types'},
]
},
{text: 'Isochrones', link: '/api-reference/endpoints/isochrones/'},
Expand Down Expand Up @@ -218,7 +181,7 @@ export default withMermaid({
},
{text: 'ors.cors', link: '/run-instance/configuration/cors/'},
{text: 'ors.messages', link: '/run-instance/configuration/messages/'},
{text: 'JSON config (deprecated)', link: '/run-instance/configuration/json.md'}
{text: 'JSON config (deprecated)', link:'/run-instance/configuration/json.md'}
]
},
{
Expand All @@ -231,36 +194,20 @@ export default withMermaid({
text: 'Contributing', collapsed: true, link: '/contributing/',
items: [
{text: 'Backend documentation', link: '/contributing/backend-documentation'},
{
text: 'Contribution guidelines',
link: 'https://github.com/GIScience/openrouteservice/blob/main/CONTRIBUTE.md'
},
{text: 'Contribution guidelines', link: 'https://github.com/GIScience/openrouteservice/blob/main/CONTRIBUTE.md'},
{text: 'Contributing translations', link: '/contributing/contributing-translations'},
]
},
{
text: 'Technical details', collapsed: true, link: '/technical-details/',
items: [
{text: 'Country List', link: '/technical-details/country-list'},
{
text: 'Travel Speeds', link: '/technical-details/travel-speeds/',
{text: 'Travel Speeds', link: '/technical-details/travel-speeds/',
items: [
{
text: 'Country Speeds',
link: '/technical-details/travel-speeds/country-speeds.md'
},
{
text: 'Tracktype Speeds',
link: '/technical-details/travel-speeds/tracktype-speeds.md'
},
{
text: 'Waytype Speeds',
link: '/technical-details/travel-speeds/waytype-speeds.md'
},
{
text: 'Surface Speeds',
link: '/technical-details/travel-speeds/surface-speeds.md'
},
{text: 'Country Speeds', link: '/technical-details/travel-speeds/country-speeds.md'},
{text: 'Tracktype Speeds', link: '/technical-details/travel-speeds/tracktype-speeds.md'},
{text: 'Waytype Speeds', link: '/technical-details/travel-speeds/waytype-speeds.md'},
{text: 'Surface Speeds', link: '/technical-details/travel-speeds/surface-speeds.md'},
]
},
{text: 'Tag Filtering', link: '/technical-details/tag-filtering'},
Expand Down

0 comments on commit 8c6eb0d

Please sign in to comment.