Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docsifyjs/docsify
/ _getPath
Method
_getPath
packages/docsify-server-renderer/index.js:81–85 ·
view source on GitHub ↗
(url)
Source
from the content-addressed store, hash-verified
79
}
80
81
_getPath(url) {
82
const
file = this.router.getFile(url);
83
84
return
isAbsolutePath(file) ? file : cwd(`./${file}`);
85
}
86
87
async
renderToString(url) {
88
this.url = url = this.router.parse(url).path;
Callers
2
renderToString
Method · 0.95
_render
Method · 0.95
Calls
2
cwd
Function · 0.85
getFile
Method · 0.80
Tested by
no test coverage detected