Browse Source

Fixes #37

Fixes issue: Nesting groups without index pages could lead to
'Collection was modified' exception.
tags/0.13.2
Frans Bouma 8 years ago
parent
commit
a2357b8a19
2 changed files with 6 additions and 3 deletions
  1. +4
    -1
      src/DocNet/NavigationLevel.cs
  2. +2
    -2
      src/DocNet/Properties/AssemblyInfo.cs

+ 4
- 1
src/DocNet/NavigationLevel.cs View File

@@ -90,9 +90,12 @@ namespace Docnet
public override void GenerateOutput(Config activeConfig, NavigatedPath activePath)
{
activePath.Push(this);
foreach(var element in this.Value)
int i = 0;
while(i<this.Value.Count)
{
var element = this.Value[i];
element.GenerateOutput(activeConfig, activePath);
i++;
}
activePath.Pop();
}


+ 2
- 2
src/DocNet/Properties/AssemblyInfo.cs View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.13.0.0")]
[assembly: AssemblyFileVersion("0.13.0")]
[assembly: AssemblyVersion("0.13.1.0")]
[assembly: AssemblyFileVersion("0.13.1")]

Loading…
Cancel
Save