Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: documentation overhaul #1651

Merged
merged 27 commits into from
Feb 13, 2024
Merged

docs: documentation overhaul #1651

merged 27 commits into from
Feb 13, 2024

Conversation

takb
Copy link
Contributor

@takb takb commented Jan 18, 2024

Information about the changes

Reason for change:

  • restructured for better overview
  • includes YAML configuration
  • contributor docs still WIP

@takb takb requested a review from koebi January 18, 2024 15:00
Copy link
Member

@MichaelsJP MichaelsJP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a coupble of things while looking over a few minutes

@takb takb requested a review from MichaelsJP January 19, 2024 08:46
@takb takb enabled auto-merge January 22, 2024 12:12
Copy link
Collaborator

@koebi koebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,

great work so far! This is definitely moving in the right direction, and I do like the structure you came up with :)
Is there a spell checker that we can run on this easily/automatedly? Haven't seen any major typos, but might be worth setting this up.

I have only skimmed the installation part in regards to the content.

Do we have an explanation of CH/LM/Core anywhere, or can we maybe link to some article(s)?

Is the order in which config options are read (ENV > ORS_CONFIG > appl.yml) documented?

There's an overarching issue in a few places:
The language 'jsonpath' is not loaded, falling back to 'txt' for syntax highlighting.

Are the values of the track- and waytype speed tables aligned with the speed value files?

Do we link to the documentation from github? Do we link to it from openrouteservice.org or from the API playground?

docs/.vitepress/config.js Outdated Show resolved Hide resolved
docs/getting-started.md Outdated Show resolved Hide resolved
docs/technical-details/index.md Outdated Show resolved Hide resolved
docs/api-reference/index.md Outdated Show resolved Hide resolved
docs/api-reference/index.md Outdated Show resolved Hide resolved
ors-api/src/main/resources/log4j-tomcat.properties Outdated Show resolved Hide resolved
docs/technical-details/tag-filtering.md Show resolved Hide resolved
docs/frequently-asked-questions.md Show resolved Hide resolved
docker-entrypoint.sh Outdated Show resolved Hide resolved
aoles
aoles previously requested changes Jan 24, 2024
Copy link
Member

@aoles aoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instructions on running ORS form the command line need to be updated.

docs/run-instance/installation/building-from-source.md Outdated Show resolved Hide resolved
ors-api/ors-config.yml Outdated Show resolved Hide resolved
docs/api-reference/endpoints/directions/routing-options.md Outdated Show resolved Hide resolved
docs/api-reference/endpoints/isochrones/index.md Outdated Show resolved Hide resolved
docs/api-reference/endpoints/matrix/index.md Outdated Show resolved Hide resolved
docs/contributing/index.md Outdated Show resolved Hide resolved
docs/contributing/index.md Outdated Show resolved Hide resolved
docs/technical-details/tag-filtering.md Outdated Show resolved Hide resolved
docs/technical-details/travel-speeds/index.md Outdated Show resolved Hide resolved
ors-api/ors-config.yml Outdated Show resolved Hide resolved
@TheGreatRefrigerator
Copy link
Contributor

@koebi should we exclude the deprecated JSON config from search? As it shows up a lot for configuration parameter searches..

@aoles aoles force-pushed the docs/documentation-overhaul branch from 2d23f2c to d58b609 Compare February 9, 2024 00:10
@TheGreatRefrigerator TheGreatRefrigerator force-pushed the docs/documentation-overhaul branch from d58b609 to 63614f1 Compare February 10, 2024 11:51
takb and others added 5 commits February 10, 2024 18:40
Supposedly this should fix said warnings according to vuejs/vitepress#3259,
though locally it didn't seem to help.
Need to investigate further when we have time.
Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
@TheGreatRefrigerator
Copy link
Contributor

Restrucutred to 26 commits, with a few more fixed typos an the last adjustments to tag-filtering.
See https://github.com/GIScience/openrouteservice/compare/63614f1514672bcc1f32e0451a679434119cb6dc..3336135cbdc0a8e04057a948d614289ec4853b2c for diff

TheGreatRefrigerator and others added 20 commits February 13, 2024 14:12
- rework intro and add images
- add entry for every endpoint
- add warnings for endpoint availability
- update & correct information
- add general info on requests-and-return-types.md

- include routing-options examples
- remove unused Structured-Geocoding-Query.md

Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
- update info & tables
- add osm wiki link for osm way IDs
- add info on shadow and csv
- add jsonpath for where to find in response
- add 'keep in sync' hints to code counterpart
- add extra info response example

Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
- move to dedicated yaml config documentation following application.yml structure
- mark json config as deprecated
- update and fix information, tables & links

Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
- update, correct and restructure information
- add dedicated running-jar-war.md file with draft for tomcat 10
- remove unused Advanced-Docker-Setup.md

Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
- add index.md with general info and links
- fix some infos & links
- remove emojis from headings

Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Takara Baumbach <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
Co-authored-by: Jakob Schnell <[email protected]>
Co-authored-by: sfendrich <[email protected]>
Co-authored-by: Amandus Butzer <[email protected]>
Co-authored-by: Jochen Haeussler <[email protected]>
Co-authored-by: Andrzej K. Oleś <[email protected]>
it has better visualisation

Co-authored-by: Jakob Schnell <[email protected]>
- remove url encoding part, which is not needed for passing options in POST request
- link vehicle_type to tag filtering
- remove routing restriction option 'gradient' as support was removed
- use jsonpath for options parameter headings

docs(routing-options): adjust examples

- check for validity and fix
- remove pretty code block if minified is readable
- make minified examples code blocks for quick copy

Co-authored-by: Amandus <[email protected]>
- add info for conditional access restrictions
- introduce default case per profile
- remove false info of ways being always rejected

Co-authored-by: Andrzej K. Oleś <[email protected]>
- remove double horizontal line
- add some header reference to links

Note: Intellij still doesn't resolve dashed header references
properly
@TheGreatRefrigerator TheGreatRefrigerator force-pushed the docs/documentation-overhaul branch from 067517b to 921e6be Compare February 13, 2024 13:14
@TheGreatRefrigerator TheGreatRefrigerator dismissed stale reviews from MichaelsJP and aoles February 13, 2024 13:16

outdated

Copy link
Contributor

@jhaeu jhaeu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@koebi koebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@takb takb merged commit 9b54204 into main Feb 13, 2024
12 checks passed
@takb takb deleted the docs/documentation-overhaul branch February 13, 2024 13:23
@MichaelsJP MichaelsJP added this to the V8 Release milestone Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants