CATROID-1618: REPLACE OLD HELP WIKI URL WITH NEW URL#5100
CATROID-1618: REPLACE OLD HELP WIKI URL WITH NEW URL#5100moe-threeface wants to merge 3 commits intoCatrobat:developfrom
Conversation
|
There was a problem hiding this comment.
@moe-threeface If possible, please always include a TL;DR in the PR description and add the JIRA link. Furthermore, please follow the JIRA-style commit guideline and do not capitalize the commit message, example of good commit message: IDE-123 Add user login functionality
45adfee to
7285164
Compare
|
Rebased PR. |
|
There was a problem hiding this comment.
Pull request overview
This PR updates the help documentation URL in the getHelpUrl method from the old wiki URLs to a new consolidated documentation URL at https://catrobat.org/docs/brickdocumentation/. The change simplifies the method by removing the category-specific and language-specific URL logic.
- Replaces old category-specific wiki URLs (Functions, Logic, Sensors, Properties) with a single new documentation URL
- Removes language parameter handling from the
getHelpUrlmethod - Simplifies the method implementation by eliminating the switch statement logic
a0e723a to
3292ab1
Compare
* the URL is divided into 3 parts: base url, category url and brick url * those 3 parts are selected dynamically according to mapping tables. if there exists help for a brick, it will have a corresponding entry in the mapping table. * if there is no help for the brick but the category is know the user will be redirected to the category page (same if category is unknown - user will be redirected to base wiki)
|



Please enter a short description of your pull request and add a reference to the Jira ticket.
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.