doc/source/custom_directives.py
def feedback_form_url(project, page):
    """Create a URL for feedback on a particular page in a project."""
    return FEEDBACK_FORM_FMT.format(
        title=urllib.parse.quote("[docs] Issue on `{page}.rst`".format(page=page)),
        body=urllib.parse.quote(
            "# Documentation Problem/Question/Comment\n"
            "<!-- Describe your issue/question/comment below. -->\n"
            "<!-- If there are typos or errors in the docs, feel free "
            "to create a pull-request. -->\n"
            "\n\n\n\n"
            "(Created directly from the docs)\n"
        ),
    )
Create a URL for feedback on a particular page in a project.
Create a URL for feedback on a particular page in a project.
Create a URL for feedback on a particular page in a project .
def feedback_form_url(project, page):
    return FEEDBACK_FORM_FMT.format(
        title=urllib.parse.quote("[docs] Issue on `{page}.rst`".format(page=page)),
        body=urllib.parse.quote(
            "# Documentation Problem/Question/Comment\n"
            "<!-- Describe your issue/question/comment below. -->\n"
            "<!-- If there are typos or errors in the docs, feel free "
            "to create a pull-request. -->\n"
            "\n\n\n\n"
            "(Created directly from the docs)\n"
        ),
    )
def feedback_form_url ( project , page ) : return FEEDBACK_FORM_FMT . format ( title = urllib . parse . quote ( "[docs] Issue on `{page}.rst`" . format ( page = page ) ) , body = urllib . parse . quote ( "# Documentation Problem/Question/Comment\n" "<!-- Describe your issue/question/comment below. -->\n" "<!-- If there are typos or errors in the docs, feel free " "to create a pull-request. -->\n" "\n\n\n\n" "(Created directly from the docs)\n" ) , )
Create a URL for feedback on a particular page in a project.
Create a URL for feedback on a particular page in a project .
"""Create a URL for feedback on a particular page in a project."""
project
page