mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 12:27:47 +00:00
fix for merged code examples overlay
This commit is contained in:
@@ -65,8 +65,10 @@ const mergeCodeSamples = (powershellData, pythonData) => {
|
|||||||
// Merge the data
|
// Merge the data
|
||||||
const mergedCode = mergeCodeSamples(powershellData, pythonData);
|
const mergedCode = mergeCodeSamples(powershellData, pythonData);
|
||||||
|
|
||||||
// Convert the merged data to YAML format
|
// Convert the merged data to YAML format with lineWidth: -1 to avoid block-style strings
|
||||||
const mergedYaml = yaml.dump(mergedCode);
|
const mergedYaml = yaml.dump(mergedCode, {
|
||||||
|
lineWidth: -1 // Avoid wrapping strings into block-style format
|
||||||
|
});
|
||||||
|
|
||||||
// Derive the output directory and file name
|
// Derive the output directory and file name
|
||||||
const pythonFileDir = path.dirname(pythonFilePath);
|
const pythonFileDir = path.dirname(pythonFilePath);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user