Самое замечательное в python (особенно в python на github) заключается в том, что вы можете просто посмотреть на источник
Я могу перейти на https://github.com/requests/requests/blob/master/docs/conf.py и посмотреть на их conf.py
где мы можем увидеть эту запись
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
'show_powered_by': False,
'github_user': 'requests',
'github_repo': 'requests',
'github_banner': True,
'show_related': False,
'note_bg': '#FFF59C'
}
мы также можем заметить, что они используют тему алебастра
с быстрым Google, мы находим, что у алебастра есть несколько документов
https://github.com/mitya57/alabaster-1
github_banner: true or false (default: false) - whether to apply a 'Fork me on Github' banner in the top right corner of the page.
If true, requires that you set github_user and github_repo.
May also submit a string file path (as with logo, relative to $PROJECT/_static/) to be used as the banner image instead of the default.
поэтому ответ заключается в использовании темы алебастра и установке этих параметров:)