def METHOD_NAME(p, base, suffix='.html'):
    def t(x, e):
        self.ae(p(x), base + e)
    t('', 'index.html' if suffix == '.html' else '')
    t('conf', f'conf{suffix}')
    t('kittens/ssh#frag', f'kittens/ssh{suffix}#frag')
    t('#ref=confloc', f'conf{suffix}#confloc')
    t('#ref=conf-kitty-fonts', f'conf{suffix}#conf-kitty-fonts')
    t('#ref=conf-kitten-ssh-xxx', f'kittens/ssh{suffix}#conf-kitten-ssh-xxx')
    t('#ref=at_close_tab', f'remote-control{suffix}#at-close-tab')
    t('#ref=at-close-tab', f'remote-control{suffix}#at-close-tab')
    t('#ref=action-copy', f'actions{suffix}#copy')
    t('#ref=doc-/marks', f'marks{suffix}')