We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it would be nice if selfdoc was able to support formatted doc, ala:
""" Point your browser to {} """.format(host_url)
The text was updated successfully, but these errors were encountered:
I'm not sure exactly what set of variables would be able to be expanded in the formatting?
Sorry, something went wrong.
What I'm looking is to include the actual {request.host_url} variable in the doc (for the examples included)
something like:
@app.route('/ping', methods=['GET']) @auto.doc() def ping(): """PING all day long! example: curl {}/ping """.format(request.host_url) response = { 'data': [{ 'echo': 'ping!', 'source': url_for('ping') }] } return jsonify(response)
This sounds do-able but I don't know how to do it yet!
I will look into this and try to add this functionality in a future version.
No branches or pull requests
it would be nice if selfdoc was able to support formatted doc, ala:
The text was updated successfully, but these errors were encountered: