Re: [IronPython] Help contents
Thanks a lot again. > If you have only one version/culture, I believe you can just place > the XML doc in the same directory as the DLL. > > >> >> It seems clear now, thank you. >> >> Reading DocBuilder.cs:GetXPathDocument(..) I assume that if I want >> to let our users to be able to get IP console help on our own C# >> libraries, we can place the XML docs in a culture subdirectory under >> the DLLs install directory, right? >> >> ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] Help contents
If you have only one version/culture, I believe you can just place the XML doc in the same directory as the DLL. On Mon, Dec 15, 2008 at 10:45 AM, Hernán Martínez Foffani < hernan.marti...@ecc.es> wrote: > It seems clear now, thank you. > > Reading DocBuilder.cs:GetXPathDocument(..) I assume that if I want > to let our users to be able to get IP console help on our own C# > libraries, we can place the XML docs in a culture subdirectory under > the DLLs install directory, right? > > > > This is generated from the XML document that lives adjacent to the > > assembly containing the code. For instance, mscorlib is typically > > located someplace like > > C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll, so the > > XML file is taken from > > C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\mscorlib.xml > > (assuming CurrentCulture is English). > > > > The source code for this can be found in DocBuilder.cs > > > > > > On Mon, Dec 15, 2008 at 4:52 AM, Hernán Martínez Foffani > > wrote: > > > > Where does IP find the help content for .NET libraries? > > I mean, for instance, the output of > > >>> help(System.DateTime.ToBoolean) > > > > Does it parse the Help.2 files? If so where does it look > > for them? Only under "%ALLUSERSPROFILE%\{Program Data}\Microsoft > > Help"? > > > > ___ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] Help contents
It seems clear now, thank you. Reading DocBuilder.cs:GetXPathDocument(..) I assume that if I want to let our users to be able to get IP console help on our own C# libraries, we can place the XML docs in a culture subdirectory under the DLLs install directory, right? > This is generated from the XML document that lives adjacent to the > assembly containing the code. For instance, mscorlib is typically > located someplace like > C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll, so the > XML file is taken from > C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\mscorlib.xml > (assuming CurrentCulture is English). > > The source code for this can be found in DocBuilder.cs > > > On Mon, Dec 15, 2008 at 4:52 AM, Hernán Martínez Foffani > wrote: > > Where does IP find the help content for .NET libraries? > I mean, for instance, the output of > >>> help(System.DateTime.ToBoolean) > > Does it parse the Help.2 files? If so where does it look > for them? Only under "%ALLUSERSPROFILE%\{Program Data}\Microsoft > Help"? > ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] Help contents
This is generated from the XML document that lives adjacent to the assembly containing the code. For instance, mscorlib is typically located someplace like C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll, so the XML file is taken from C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\mscorlib.xml (assuming CurrentCulture is English). The source code for this can be found in DocBuilder.cs On Mon, Dec 15, 2008 at 4:52 AM, Hernán Martínez Foffani < hernan.marti...@ecc.es> wrote: > Where does IP find the help content for .NET libraries? > I mean, for instance, the output of > >>> help(System.DateTime.ToBoolean) > > Does it parse the Help.2 files? If so where does it look > for them? Only under "%ALLUSERSPROFILE%\{Program Data}\Microsoft Help"? > > Regards, > -H. > > > ___ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
[IronPython] Help contents
Where does IP find the help content for .NET libraries? I mean, for instance, the output of >>> help(System.DateTime.ToBoolean) Does it parse the Help.2 files? If so where does it look for them? Only under "%ALLUSERSPROFILE%\{Program Data}\Microsoft Help"? Regards, -H. ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com