Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add original NDoc3 source files. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fb8f175216681c48ed0a8a2edc36228c |
User & Date: | mistachkin 2013-09-18 08:18:01.168 |
Context
2013-09-18
| ||
08:18 | Document the changes from the original NDoc3 source files. check-in: 62f517f4a6 user: mistachkin tags: trunk | |
08:18 | Add original NDoc3 source files. check-in: fb8f175216 user: mistachkin tags: trunk | |
08:14 | Fix a bug in NDoc3 that prevented external links from working correctly for the built-in return types and parameter types in the built CHM file. check-in: ce3e0bd842 user: mistachkin tags: trunk | |
Changes
Changes to Externals/NDoc3/src/MsdnDocumenter.cs.
︙ | ︙ | |||
1423 1424 1425 1426 1427 1428 1429 | string fullPath = Path.Combine(ctx.WorkingDirectory.FullName, filename); using (streamWriter = new StreamWriter( File.Open(fullPath, FileMode.Create), ctx.CurrentFileEncoding)) { string DocLangCode = Enum.GetName(typeof(SdkLanguage), MyConfig.SdkDocLanguage).Replace("_", "-"); MsdnXsltUtilities utilities = new MsdnXsltUtilities(ctx._nameResolver, ctx.CurrentAssemblyName, MyConfig.SdkDocVersionString, DocLangCode, MyConfig.SdkLinksOnWeb, ctx.CurrentFileEncoding); | < | 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 | string fullPath = Path.Combine(ctx.WorkingDirectory.FullName, filename); using (streamWriter = new StreamWriter( File.Open(fullPath, FileMode.Create), ctx.CurrentFileEncoding)) { string DocLangCode = Enum.GetName(typeof(SdkLanguage), MyConfig.SdkDocLanguage).Replace("_", "-"); MsdnXsltUtilities utilities = new MsdnXsltUtilities(ctx._nameResolver, ctx.CurrentAssemblyName, MyConfig.SdkDocVersionString, DocLangCode, MyConfig.SdkLinksOnWeb, ctx.CurrentFileEncoding); if (arguments.GetParam("assembly-name", string.Empty) == null) { arguments.AddParam("assembly-name", String.Empty, ctx.CurrentAssemblyName); } arguments.AddParam("ndoc-title", String.Empty, MyConfig.Title); arguments.AddParam("ndoc-vb-syntax", String.Empty, MyConfig.ShowVisualBasic); arguments.AddParam("ndoc-omit-object-tags", String.Empty, ((MyConfig.OutputTarget & OutputType.HtmlHelp) == 0)); |
︙ | ︙ |
Changes to Externals/NDoc3/src/NameResolver.cs.
1 2 3 4 5 6 7 8 9 10 11 12 13 | using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Xml; using NDoc3.Core; using NDoc3.Xml; namespace NDoc3.Documenter.Msdn { ///<summary> ///</summary> public class NameResolver { public const string EXT = ".html"; | < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Xml; using NDoc3.Core; using NDoc3.Xml; namespace NDoc3.Documenter.Msdn { ///<summary> ///</summary> public class NameResolver { public const string EXT = ".html"; private readonly bool mergeAssemblies; private readonly StringDictionary fileNames = new StringDictionary(); private readonly StringDictionary elemNames = new StringDictionary(); private readonly ReferenceTypeDictionary<string, string[]> assemblyReferences = new ReferenceTypeDictionary<string, string[]>(); ///<summary> |
︙ | ︙ | |||
454 455 456 457 458 459 460 | if (filename == null && memberId != null) { filename = fileNames[memberId]; } // Debug.Assert(filename != null, string.Format("Filename for assembly:memberId [{0}:{1}] not found", currentAssemblyName, memberId)); // Debug.WriteLine(string.Format("GetFilenameForIdInternal('{0}','{1}') => {2}", currentAssemblyName, memberId, filename)); | < | < < < < < < < < < < < < < | 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 | if (filename == null && memberId != null) { filename = fileNames[memberId]; } // Debug.Assert(filename != null, string.Format("Filename for assembly:memberId [{0}:{1}] not found", currentAssemblyName, memberId)); // Debug.WriteLine(string.Format("GetFilenameForIdInternal('{0}','{1}') => {2}", currentAssemblyName, memberId, filename)); return filename ?? string.Empty; } private string GetFilenameForIdSpecial(string assemblyName, string memberId, string postfix) { string fn = GetFilenameForIdInternal(assemblyName, memberId); if (fn != null && fn.Length > EXT.Length) { fn = fn.Insert(fn.Length - EXT.Length, postfix); } |
︙ | ︙ |