To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
CloseWelcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.
CloseMDN Interface Documentation Generator 0.14.5.1-signed.1-signed Requires Restart
by Trevor Hobson
Generate MDN Interface Documentation from IDL files.
About this Add-on
To update existing documentation I follow these steps:
- Start running mdni for the interface, this process takes some time so you can continue with the next steps.
- Copy the source of the existing documentation to a text editor.
- Find and replace '{{template.' with '{{', '.28.29' with '()', sometimes there will be excessive or unnecessary , either remove them or replace with a regular space.
- When mdni has finished, copy the generated content.
- Paste the generated content into the source of a page on MDC, click the source button twice (this will format the source to make comparison easier).
- Copy the source of the generated documentation to a text editor and save.
- Use your favourite diff viewer (I use Meld) to move the relevant information to the generated content.
- Replace the original documentation with the generated documentation.
- If necessary make changes to the tags of the page.
- If necessary move the page to ../XPCOM Interface Reference/ .