wip docs
This commit is contained in:
parent
04db5944d1
commit
ff059d1268
5 changed files with 43 additions and 2 deletions
|
|
@ -96,6 +96,11 @@ router.get('/api.json', async ctx => {
|
|||
ctx.body = genOpenapiSpec();
|
||||
});
|
||||
|
||||
router.get('/docs.json', async ctx => {
|
||||
const lang = ctx.query.lang;
|
||||
// TODO: glob mds and extract title
|
||||
});
|
||||
|
||||
const getFeed = async (acct: string) => {
|
||||
const { username, host } = parseAcct(acct);
|
||||
const user = await Users.findOne({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue