mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
upon mdoc.exe for it's operation. * docs/. (svn:ignore), deploy (svn:ignore): Ignore generated files. * docs/AgilityPack.dll, docs/api-style.css, docs/ChangeLog, docs/check, docs/check-coverage, docs/convert.cs, docs/current-api, docs/deploy, docs/documented, docs/exdoc, docs/ignore, docs/mono-api-metadata.html, docs/monoapi.source, docs/produce-lists, docs/public, docs/public-api, docs/README, docs/sources, docs/toc.xml, docs/TODO, docs/wapi: Copy from ../mono/docscripts. * docs/exdoc: Use the in-tree mono program to run convert.exe. * docs/Makefile.am: Mention files to clean/distribute; extract documentation (with exdoc) and then assemble documentation (with monoapi.make's assemble target) for use by monodoc. * docs/monoapi.make: Added; Makefile to use mcs' buid/rules.make to compile convert.cs and assemble documentation. (This is a separate file so that we can include mcs' build/rules.make, which needs topdir set to behave properly BUT must be $(mcs_topdir) from Makefile.am's perspective.) * docs/monoapi.source: Add a /monodoc/node element for use with monodoc 2.2. svn path=/trunk/mono/; revision=117529
13 lines
202 B
C#
13 lines
202 B
C#
using HtmlAgilityPack;
|
|
|
|
class Convert {
|
|
|
|
static void Main (string [] args)
|
|
{
|
|
HtmlDocument doc = new HtmlDocument();
|
|
doc.Load(args [0]);
|
|
doc.OptionOutputAsXml = true;
|
|
doc.Save(args [1]);
|
|
}
|
|
}
|