Closed johlju closed 2 years ago
Merging #106 (c468b99) into main (e2e8e62) will decrease coverage by
0%
. The diff coverage is100%
.
@@ Coverage Diff @@
## main #106 +/- ##
===================================
- Coverage 98% 97% -1%
===================================
Files 42 42
Lines 959 960 +1
===================================
- Hits 941 940 -1
- Misses 18 20 +2
Impacted Files | Coverage Δ | |
---|---|---|
source/Private/New-WikiSidebar.ps1 | 100% <100%> (ø) |
|
source/tasks/Publish_GitHub_Wiki_Content.build.ps1 | 96% <0%> (-3%) |
:arrow_down: |
Don't think the new behavior of the function in this PR is the desired behavior: What if you release a new version, which generates a sidebar. Then with the next release, you want the sidebar to be updated, for example because new resources has been added for which documentation has been generated that should be added to the sidebar as well. But since the WikiSource already contains the previously generated sidebar, with this change a new sidebar will never be updated after it was generated once.
I think the toggle I suggested in the issue would make more sense. Then the repo owner can specify if he wants the sidebar to be generated or not.
The comment @ykuijs made was a misunderstanding that was cleared out in the discussion in the issue #105.
@PlagueHO ready for review again. 🙂
Pull Request
Pull Request (PR) description
_Sidebar.md
in the folder 'WikiSource' that is copied to the folder 'WikiContent', it will no longer be overwritten during publish (issue #105).This Pull Request (PR) fixes the following issues
Task list
This change is