feat(route): Add GitHub Notification (#12197)

* Add GitHub notification

* add docs and radar.

* add parseDate.

* Apply suggestions from code review

* Update router.js

* Update maintainer.js

---------
This commit is contained in:
Zhiyuan Zheng
2023-03-30 21:07:34 +08:00
committed by GitHub
parent 715abc7c3d
commit 14199e1a31
6 changed files with 63 additions and 0 deletions

View File

@@ -80,6 +80,12 @@ module.exports = {
source: ['/:user/:repo/wiki/:page/_history', '/:user/:repo/wiki/:page', '/:user/:repo/wiki/_history', '/:user/:repo/wiki'],
target: '/github/wiki/:user/:repo/:page',
},
{
title: 'Notifications 通知',
docs: 'https://docs.rsshub.app/programming.html#github',
source: ['/notifications'],
target: '/github/notifications',
},
],
},
};