Skip to content

Commit

Permalink
Update the URL to the project's documentation.
Browse files Browse the repository at this point in the history
Ticket:	MapQuest#17
  • Loading branch information
jkoshy committed May 5, 2011
1 parent c9c965f commit d98890e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/python/apiserver/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
OSM = 'osm'
PER_PAGE = 'per_page'
PORT = 'port'
PROJECT_WIKI = 'project-wiki'
PROJECT_DOC = 'project-doc'
PROTOBUF = 'protobuf'
REF = 'ref'
REFERENCES = 'references'
Expand Down
2 changes: 1 addition & 1 deletion src/python/config/osm-api-server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[DEFAULT]
area-max = 180.0
changesets-max = 50000
project-wiki = %(source-repository)s/wiki
project-doc = %(source-repository)s/blob/master/doc/Home.md
source-repository = https://github.com/Mapquest/mapquest-osm-server
tracepoints-per-page = 5000
waynodes-max = 2000
Expand Down
8 changes: 4 additions & 4 deletions src/python/frontend/fe.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@ class RootHandler(tornado.web.RequestHandler):
<h2>More Information</h2>
<p>This server is being developed as an open-source project.</p>
<ul>
<li><p>Source code may be found at:
<li><p>Source code for the project is available at:
<a href="%(sourcerepository)s">%(sourcerepository)s</a>.</p></li>
<li><p>The project wiki may be found at:
<a href="%(projectwiki)s">%(projectwiki)s</a>.</p></li>
<li><p>Documentation for project is available at:
<a href="%(projectdoc)s">%(projectdoc)s</a>.</p></li>
</ul>
</body>
</html>"""

def initialize(self, cfg):
self.usagemessage = RootHandler.default_message % dict(
apiversion=cfg.get(C.FRONT_END, C.API_VERSION),
projectwiki=cfg.get(C.DEFAULT, C.PROJECT_WIKI),
projectdoc=cfg.get(C.DEFAULT, C.PROJECT_DOC),
sourcerepository=cfg.get(C.DEFAULT, C.SOURCE_REPOSITORY))

def get(self):
Expand Down

0 comments on commit d98890e

Please sign in to comment.