зеркало из
1
0
Форкнуть 0
linux-packaging-mono-tools/webdoc
Jo Shields 6584c7bc15 Imported Upstream version 4.2 2016-04-06 17:37:34 +01:00
..
App_Code/Plugins Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
plugins Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
skins/mono-external Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
views Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
Global.asax Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
Makefile.am Imported Upstream version 4.2 2016-04-06 17:37:34 +01:00
Makefile.in Imported Upstream version 4.2 2016-04-06 17:37:34 +01:00
README.md Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
TODO Imported Upstream version 2.4.3 2010-04-12 16:01:30 +01:00
api.master Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
index.aspx Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
monodoc.ashx Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
monodoc.css Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
plugins.def Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
robots.txt Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00
web.config Imported Upstream version 2.11+git20131009.5b1ef35 2013-10-10 01:03:13 +02:00

README.md

Webdoc

Webdoc is the web container for monodoc. It normally includes:

  • a header
  • a footer
  • a navigation tree
  • the monodoc iframe

Structure

Each webdoc instance consists of a skin (theme, chrome) and several plugins.

Plugins are located in the plugins directory. The plugins currently available are:

  • iframe: helps size the iframe correctly in your webdoc instance. Recommended unless you want to use your own code for that
  • sidebar: left navigation tree. Again, recommended unless you feel like writign and wiring up your own (good luck!)
  • fast search: searches while you type
  • full search: returns a page of search results (search.html). Can be styled however you like.

Skins are located in the skins directory. Each skin consists of:

  • header.html (required)
  • footer.html (required)
  • additional css and js (usually placed in the common-extension.css/common-extension.js file)
  • images folder (optional)

How to Use

Making a new instance of webdoc is easy. First, you need to edit web.config to point to the location of your monodoc source root.

MonodocRootDir -> monodoc source root

Next, throw your skin into the skins directory (or use one that's already there).

Edit the plugins.def file, uncommenting the plugins you want to use, and setting the location of your skin.