forked from MapComplete/MapComplete
Docs: fix image sizes, remove links to github
This commit is contained in:
parent
ba2dea69ea
commit
67c74cb097
3 changed files with 8 additions and 11 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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 +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue