patchNetworkXml
patchNetworkXml(
xml,pathPrefix):string
Defined in: siteMetadataXml.ts:95
Patch a Network metadata document’s urlPathPrefix.
Parameters
Section titled “Parameters”string
The current contents of the networks/<Network>.network-meta.xml file.
pathPrefix
Section titled “pathPrefix”string
The URL path prefix to write.
Returns
Section titled “Returns”string
The rewritten document.
Throws
Section titled “Throws”If xml isn’t parseable.