forked from MapComplete/MapComplete
		
	Docs: fix links
This commit is contained in:
		
							parent
							
								
									b7d3fac275
								
							
						
					
					
						commit
						e05275a8f5
					
				
					 2 changed files with 26 additions and 27 deletions
				
			
		|  | @ -79,7 +79,7 @@ Note that the _loading_ screen will always use the navigator language. | ||||||
| 
 | 
 | ||||||
| Translations are never complete. If a translation in a certain language is missing, English is used as fallback. | Translations are never complete. If a translation in a certain language is missing, English is used as fallback. | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [Locale.ts](/UI/i18n/Locale.ts#L35) | This documentation is defined in the source code at [Locale.ts](/src/UI/i18n/Locale.ts#L35) | ||||||
| 
 | 
 | ||||||
|  No default value set |  No default value set | ||||||
| 
 | 
 | ||||||
|  | @ -90,7 +90,7 @@ This documentation is defined in the source code at [Locale.ts](/UI/i18n/Locale. | ||||||
| 
 | 
 | ||||||
|  If set, will show a translation button next to every string. |  If set, will show a translation button next to every string. | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [QueryParameters.ts](/Logic/Web/QueryParameters.ts#L66) | This documentation is defined in the source code at [QueryParameters.ts](/src/Logic/Web/QueryParameters.ts#L66) | ||||||
| 
 | 
 | ||||||
|  The default value is _false_ |  The default value is _false_ | ||||||
| 
 | 
 | ||||||
|  | @ -101,7 +101,7 @@ This documentation is defined in the source code at [QueryParameters.ts](/Logic/ | ||||||
| 
 | 
 | ||||||
|  The OSM backend to use - can be used to redirect mapcomplete to the testing backend when using 'osm-test' |  The OSM backend to use - can be used to redirect mapcomplete to the testing backend when using 'osm-test' | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L29) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L29) | ||||||
| 
 | 
 | ||||||
|  The default value is _osm_ |  The default value is _osm_ | ||||||
| 
 | 
 | ||||||
|  | @ -112,7 +112,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  If true, 'dryrun' mode is activated and a fake user account is loaded |  If true, 'dryrun' mode is activated and a fake user account is loaded | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [QueryParameters.ts](/Logic/Web/QueryParameters.ts#L66) | This documentation is defined in the source code at [QueryParameters.ts](/src/Logic/Web/QueryParameters.ts#L66) | ||||||
| 
 | 
 | ||||||
|  The default value is _false_ |  The default value is _false_ | ||||||
| 
 | 
 | ||||||
|  | @ -123,7 +123,7 @@ This documentation is defined in the source code at [QueryParameters.ts](/Logic/ | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the user information pill (userbadge) at the top left. Disabling this disables logging in and thus disables editing all together, effectively putting MapComplete into read-only mode. |  Disables/Enables the user information pill (userbadge) at the top left. Disabling this disables logging in and thus disables editing all together, effectively putting MapComplete into read-only mode. | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -134,7 +134,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the search bar |  Disables/Enables the search bar | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -145,7 +145,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the background layer control |  Disables/Enables the background layer control | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -156,7 +156,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the filter view |  Disables/Enables the filter view | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -167,7 +167,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the 'add new feature'-popup. (A theme without presets might not have it in the first place) |  Disables/Enables the 'add new feature'-popup. (A theme without presets might not have it in the first place) | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -178,7 +178,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/enables the help menu or welcome message |  Disables/enables the help menu or welcome message | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -189,7 +189,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/enables the button to get in touch with the community |  Disables/enables the button to get in touch with the community | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -200,7 +200,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the extraLink button. By default, if in iframe mode and the welcome message is hidden, a popout button to the full mapcomplete instance is shown instead (unless disabled with this switch or another extraLink button is enabled) |  Disables/Enables the extraLink button. By default, if in iframe mode and the welcome message is hidden, a popout button to the full mapcomplete instance is shown instead (unless disabled with this switch or another extraLink button is enabled) | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -211,7 +211,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the 'More Quests'-tab in the welcome message |  Disables/Enables the 'More Quests'-tab in the welcome message | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -222,7 +222,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the 'Share-screen'-tab in the welcome message |  Disables/Enables the 'Share-screen'-tab in the welcome message | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -233,7 +233,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Disables/Enables the geolocation button |  Disables/Enables the geolocation button | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -244,7 +244,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Always show all questions |  Always show all questions | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _false_ |  The default value is _false_ | ||||||
| 
 | 
 | ||||||
|  | @ -255,7 +255,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Enable the export as GeoJSON and CSV button |  Enable the export as GeoJSON and CSV button | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L13) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L13) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_ |  The default value is _true_ | ||||||
| 
 | 
 | ||||||
|  | @ -266,7 +266,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  If true, 'dryrun' mode is activated. The app will behave as normal, except that changes to OSM will be printed onto the console instead of actually uploaded to osm.org |  If true, 'dryrun' mode is activated. The app will behave as normal, except that changes to OSM will be printed onto the console instead of actually uploaded to osm.org | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [QueryParameters.ts](/Logic/Web/QueryParameters.ts#L66) | This documentation is defined in the source code at [QueryParameters.ts](/src/Logic/Web/QueryParameters.ts#L66) | ||||||
| 
 | 
 | ||||||
|  The default value is _false_ |  The default value is _false_ | ||||||
| 
 | 
 | ||||||
|  | @ -277,7 +277,7 @@ This documentation is defined in the source code at [QueryParameters.ts](/Logic/ | ||||||
| 
 | 
 | ||||||
|  If true, shows some extra debugging help such as all the available tags on every object |  If true, shows some extra debugging help such as all the available tags on every object | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [QueryParameters.ts](/Logic/Web/QueryParameters.ts#L66) | This documentation is defined in the source code at [QueryParameters.ts](/src/Logic/Web/QueryParameters.ts#L66) | ||||||
| 
 | 
 | ||||||
|  The default value is _false_ |  The default value is _false_ | ||||||
| 
 | 
 | ||||||
|  | @ -288,7 +288,7 @@ This documentation is defined in the source code at [QueryParameters.ts](/Logic/ | ||||||
| 
 | 
 | ||||||
|  Point mapcomplete to a different overpass-instance. Example: https://overpass-api.de/api/interpreter |  Point mapcomplete to a different overpass-instance. Example: https://overpass-api.de/api/interpreter | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L165) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L165) | ||||||
| 
 | 
 | ||||||
|  The default value is _https://overpass-api.de/api/interpreter,https://overpass.kumi.systems/api/interpreter,https://overpass.openstreetmap.ru/cgi/interpreter_ |  The default value is _https://overpass-api.de/api/interpreter,https://overpass.kumi.systems/api/interpreter,https://overpass.openstreetmap.ru/cgi/interpreter_ | ||||||
| 
 | 
 | ||||||
|  | @ -299,7 +299,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Set a different timeout (in seconds) for queries in overpass |  Set a different timeout (in seconds) for queries in overpass | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L176) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L176) | ||||||
| 
 | 
 | ||||||
|  The default value is _30_ |  The default value is _30_ | ||||||
| 
 | 
 | ||||||
|  | @ -310,7 +310,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|   point to switch between OSM-api and overpass |   point to switch between OSM-api and overpass | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L184) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L184) | ||||||
| 
 | 
 | ||||||
|  The default value is _16_ |  The default value is _16_ | ||||||
| 
 | 
 | ||||||
|  | @ -321,7 +321,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Tilesize when the OSM-API is used to fetch data within a BBOX |  Tilesize when the OSM-API is used to fetch data within a BBOX | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L192) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L192) | ||||||
| 
 | 
 | ||||||
|  The default value is _17_ |  The default value is _17_ | ||||||
| 
 | 
 | ||||||
|  | @ -332,7 +332,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  The id of the background layer to start with |  The id of the background layer to start with | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [FeatureSwitchState.ts](/Logic/State/FeatureSwitchState.ts#L205) | This documentation is defined in the source code at [FeatureSwitchState.ts](/src/Logic/State/FeatureSwitchState.ts#L205) | ||||||
| 
 | 
 | ||||||
|  The default value is _osm_ |  The default value is _osm_ | ||||||
| 
 | 
 | ||||||
|  | @ -343,7 +343,7 @@ This documentation is defined in the source code at [FeatureSwitchState.ts](/Log | ||||||
| 
 | 
 | ||||||
|  Wether or not the layer with id <layer-id> is shown |  Wether or not the layer with id <layer-id> is shown | ||||||
| 
 | 
 | ||||||
| This documentation is defined in the source code at [QueryParameterDocumentation.ts](/UI/QueryParameterDocumentation.ts#L52) | This documentation is defined in the source code at [QueryParameterDocumentation.ts](/src/UI/QueryParameterDocumentation.ts#L52) | ||||||
| 
 | 
 | ||||||
|  The default value is _true_  |  The default value is _true_  | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1498,7 +1498,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be | ||||||
|         stack.shift() // Remove "Error: No error"
 |         stack.shift() // Remove "Error: No error"
 | ||||||
|         const regex = /at (.*) \(([a-zA-Z0-9/.]+):([0-9]+):([0-9]+)\)/ |         const regex = /at (.*) \(([a-zA-Z0-9/.]+):([0-9]+):([0-9]+)\)/ | ||||||
|         const stackItem = stack[Math.abs(offset) + 1] |         const stackItem = stack[Math.abs(offset) + 1] | ||||||
|         console.log("Matching", stackItem, "with", regex, "gave", stackItem.match(regex)) |  | ||||||
| 
 | 
 | ||||||
|         let functionName: string |         let functionName: string | ||||||
|         let path: string |         let path: string | ||||||
|  | @ -1513,7 +1512,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be | ||||||
|             ;[_, path, line, column] = stackItem.match(regexNoFuncName) |             ;[_, path, line, column] = stackItem.match(regexNoFuncName) | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         const markdownLocation = path.substring(path.indexOf("MapComplete/src") + 15) + "#L" + line |         const markdownLocation = path.substring(path.indexOf("MapComplete/src") + 11) + "#L" + line | ||||||
|         return { |         return { | ||||||
|             path, |             path, | ||||||
|             functionName, |             functionName, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue