docs: improve performance of API reference (#1247)
This commit is contained in:
1 parent
cab5821f55
commit
8ceb895d9c
13 files changed
+160
-94
No files matched your search
@@ -331,7 +331,7 @@ const createAllPages = (sections, api, siteData, createPage, template) => {
|
||||
api: api,
|
||||
title: edge.section.section_name,
|
||||
description: edge.section.schema ? edge.section.schema.description : "",
|
||||
to: { section: baseURL, method: null },
|
||||
to: { section: baseURL, method: null, sectionObj: edge.section },
|
||||
},
|
||||
})
|
||||
edge.section.paths.forEach(p => {
|
||||
@@ -345,7 +345,7 @@ const createAllPages = (sections, api, siteData, createPage, template) => {
|
||||
api: api,
|
||||
title: method.summary,
|
||||
description: method.description || "",
|
||||
to: { section: baseURL, method: methodURL },
|
||||
to: { section: baseURL, method: methodURL, sectionObj: edge.section },
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user