要尝试这里成千上万的附加组件,下载 Mozilla Firefox,一个快速、自由的上网工具!
关闭MDN Interface Documentation Generator 0.14.5.1-signed.1-signed 需要重开
作者: Trevor Hobson
Generate MDN Interface Documentation from IDL files.
关于这个附加组件
This add-on is designed to remove a lot of the heavy lifting from creating interface documentation for MDN - developer.mozilla.org
To update existing documentation I follow these steps:
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/ .