openstreetmap-website
https://github.com/openstreetmap/openstreetmap-website
Ruby
The Rails application that powers OpenStreetMap
Potlatch::Potlatch.get_presets
----- getpresets
in: none
does: reads tag preset menus, colours, and autocomplete config files
out: [0] presets, [1] presetmenus, [2] presetnames,
[3] colours, [4] casing, [5] areas, [6] autotags
(all hashes)Edit
git clone [email protected]:openstreetmap/openstreetmap-website.git
cd openstreetmap-website
open lib/potlatch.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Potlatch--Potlatch-get_presets-for-pr
# Commit to gitgit add lib/potlatch.rbgit commit -m "better docs for Potlatch::Potlatch.get_presets"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Potlatch--Potlatch-get_presets-for-pr
hub pull-request
# Celebrate!