MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / pageurl

Function pageurl

main.py:126–130  ·  view source on GitHub ↗
(value, language)

Source from the content-addressed store, hash-verified

124
125
126def pageurl(value, language):
127 if value.startswith("http"):
128 return value
129 else:
130 return urllib.parse.quote("/%s/%s" % (language, value.replace(' ', '_').replace('.md', '')))
131
132
133def _wikify_one(language, pat):

Callers 2

_wikify_oneFunction · 0.85
init_tutorialsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected