Skip to content

Commit 61ff988

Browse files
committed
ICD improvements:
- remove module names from navigation panel - fix bug where a type was present in the document but not in the panel.
1 parent 2ca57e1 commit 61ff988

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

BackendAst/GenerateAcnIcd.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,8 @@ let DoWork (r:AstRoot) (deps:Asn1AcnAst.AcnInsertedFieldDependencies) (stgFileNa
860860
let files3 = TL "GenerateAcnIcd_PrintAcnAsHTML2" (fun () -> PrintAcnAsHTML2 stgFileName r icdHashesToPrint)
861861

862862
let navLinks =
863+
icdTasList |> List.map(fun tas -> PrintNavLink stgFileName tas.name tas.hash) |> String.concat "\n"
864+
(*
863865
seq {
864866
for f in r.Files do
865867
for m in f.Modules do
@@ -876,7 +878,7 @@ let DoWork (r:AstRoot) (deps:Asn1AcnAst.AcnInsertedFieldDependencies) (stgFileNa
876878
for tas in thisModuleTasses do
877879
let tasLink = PrintNavLink stgFileName tas.name tas.hash
878880
yield tasLink
879-
} |> Seq.distinct |> Seq.toList |> String.concat "\n"
881+
} |> Seq.distinct |> Seq.toList |> String.concat "\n"*)
880882

881883
let cssFileName = Path.ChangeExtension(outFileName, ".css")
882884
let htmlContent = TL "GenerateAcnIcd_RootHtml" (fun () -> icd_acn.RootHtml stgFileName files1 files2 bAcnParamsMustBeExplained files3 (Path.GetFileName(cssFileName)) navLinks)

asn1scc/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ let printVersion () =
124124
//let fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
125125
//let version = fvi.FileVersion;
126126

127-
let version = "4.6.0.7"
127+
let version = "4.6.0.8"
128128
printfn "asn1scc version %s\n" version
129129
()
130130

0 commit comments

Comments
 (0)