Skip to content

Commit

Permalink
Fix links in documentation (#5619)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-BaptisteC committed May 6, 2024
1 parent f63202f commit 7b79657
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING_A_NEW_QUEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ It is possible to check for [age of elements](app/src/main/java/de/westnordost/s

It is possible to share and reuse [information about tagging schemes](app/src/main/java/de/westnordost/streetcomplete/quests/surface/AddRoadSurface.kt#L18).

(this info is gathered [here](/app/src/main/java/de/streetcomplete/StreetComplete/data/meta/OsmTaggings.kt))
(this info is gathered [here](app/src/main/java/de/westnordost/streetcomplete/osm))

Even more complex ones using different class bases are possible. Such as what was needed by the [address quest](app/src/main/java/de/westnordost/streetcomplete/quests/address/AddAddressStreet.kt) or the [crossing quest](app/src/main/java/de/westnordost/streetcomplete/quests/crossing/AddCrossing.kt) but it is better to start from something simpler.

Expand All @@ -519,9 +519,9 @@ It allows it to make complex geometry checks, but writing them is also far more

Some quests should be enabled only in some countries or disabled in a specific countries.

[`override val enabledInCountries = NoCountriesExcept("SE")`](app/src/main/java/de/streetcomplete/StreetComplete/quests/accepts_cash/AddAcceptsCash.kt) - enabled only in Sweden.
[`override val enabledInCountries = NoCountriesExcept("SE")`](app/src/main/java/de/westnordost/streetcomplete/quests/accepts_cash/AddAcceptsCash.kt) - enabled only in Sweden.

[`override val enabledInCountries = AllCountriesExcept("US", "CA")`](app/src/main/java/de/streetcomplete/StreetComplete/quests/address/AddHousenumber.kt) - not enabled in USA or Canada
[`override val enabledInCountries = AllCountriesExcept("US", "CA")`](app/src/main/java/de/westnordost/streetcomplete/quests/address/AddHousenumber.kt) - not enabled in USA or Canada

## `defaultDisabledMessage`

Expand Down

0 comments on commit 7b79657

Please sign in to comment.