Docs: fix image sizes, remove links to github

This commit is contained in:
Pieter Vander Vennet 2025-02-10 02:13:07 +01:00
parent ba2dea69ea
commit 67c74cb097
3 changed files with 8 additions and 11 deletions

View file

@ -376,7 +376,7 @@ export default class LayerConfig extends WithContextLoader {
return this.mapRendering.some((r) => r.location.has("point"))
}
public GenerateDocumentation(
public generateDocumentation(
usedInThemes: string[],
layerIsNeededBy?: Map<string, string[]>,
dependencies: {

View file

@ -5,10 +5,7 @@ import { TagUtils } from "../../Logic/Tags/TagUtils"
import { And } from "../../Logic/Tags/And"
import { Utils } from "../../Utils"
import { Tag } from "../../Logic/Tags/Tag"
import {
MappingConfigJson,
QuestionableTagRenderingConfigJson,
} from "./Json/QuestionableTagRenderingConfigJson"
import { MappingConfigJson, QuestionableTagRenderingConfigJson } from "./Json/QuestionableTagRenderingConfigJson"
import Validators, { ValidatorType } from "../../UI/InputElement/Validators"
import { TagRenderingConfigJson } from "./Json/TagRenderingConfigJson"
import { RegexTag } from "../../Logic/Tags/RegexTag"
@ -866,9 +863,9 @@ export default class TagRenderingConfig {
let icon = ""
if (m.icon?.indexOf(";") < 0) {
icon =
"<img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/" +
"<img width='38px' height='38px' src='https://dev.mapcomplete.org/" +
m.icon +
"' style='width: 3rem; height: 3rem'>"
"'>"
}
const msgs: string[] = [
icon +