MCPcopy
hub / github.com/docsifyjs/docsify / updateBasePath

Function updateBasePath

test/helpers/docsify-init.js:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 };
81
82 const updateBasePath = config => {
83 if (config.basePath) {
84 config.basePath = new URL(
85 config.basePath,
86 process.env.TEST_HOST
87 ).href;
88 }
89 };
90
91 // Config as function
92 if (typeof options.config === 'function') {

Callers 1

configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…