def get_nodeinfo_well_known_document(url, document_path=None):
return {<EOL>"<STR_LIT>": [<EOL>{<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>".format(<EOL>url=url, path=document_path or NODEINFO_DOCUMENT_PATH<EOL>)<EOL>}<EOL>]<EOL>}<EOL>
Generate a NodeInfo .well-known document.

    See spec: http://nodeinfo.diaspora.software

    :arg url: The full base url with protocol, ie https://example.com
    :arg document_path: Custom NodeInfo document path if supplied (optional)
    :returns: dict