MCPcopy
hub / github.com/facebook/docusaurus / permalink

Function permalink

packages/docusaurus-plugin-content-blog/src/blogUtils.ts:94–98  ·  view source on GitHub ↗
(page: number)

Source from the content-addressed store, hash-verified

92 const pages: BlogPaginated[] = [];
93
94 function permalink(page: number) {
95 return page > 0
96 ? normalizeUrl([basePageUrl, pageBasePath, `${page + 1}`])
97 : basePageUrl;
98 }
99
100 for (let page = 0; page < numberOfPages; page += 1) {
101 pages.push({

Callers 1

paginateBlogPostsFunction · 0.85

Calls 1

normalizeUrlFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…