You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
After the change in PR #106 the sidebar is never regenerated once it has been generated once. The code checks if the files exist in the cloned path instead of the WikiSource.
Discussed this with @johlju, he will fix this and submit a PR.
Steps to reproduce the problem
Create a sidebar in the target wiki, don't place a sidebar in the WikiSource and publish a new wiki. The sidebar won't be regenerated in this case.
Expected behavior
The code only regenerates the sidebar and/or footer when it does not exist in the WikiSource
Current behavior
The code never regenerated new sidebar and/or footer after it has been generated once
Suggested solution to the issue
$tempPath should be updated with $Path in the following two lines:
Details of the scenario you tried and the problem that is occurring
After the change in PR #106 the sidebar is never regenerated once it has been generated once. The code checks if the files exist in the cloned path instead of the WikiSource.
Discussed this with @johlju, he will fix this and submit a PR.
Steps to reproduce the problem
Create a sidebar in the target wiki, don't place a sidebar in the WikiSource and publish a new wiki. The sidebar won't be regenerated in this case.
Expected behavior
The code only regenerates the sidebar and/or footer when it does not exist in the WikiSource
Current behavior
The code never regenerated new sidebar and/or footer after it has been generated once
Suggested solution to the issue
$tempPath should be updated with $Path in the following two lines:
DscResource.DocGenerator/source/Public/Publish-WikiContent.ps1
Lines 131 to 132 in 88d36c7
The operating system the target node is running
Version and build of PowerShell the target node is running
PSv5.1
Version of the module that was used
v0.10.2
The text was updated successfully, but these errors were encountered: