Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4539024
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:53:22+00:00 2026-05-21T14:53:22+00:00

I am currently writing a plugin for jQuery. Now I wonder how I should

  • 0

I am currently writing a plugin for jQuery.
Now I wonder how I should create the documentation for this plugin as I guess that there are better ways than directly writing HTML.

However, I do not want to put my documentation into the sourcecode and thereby making finding the correct lines while debugging impossible. Thus, I am looking for a way to separate documentation and sourcecode.

How is the jQuery documentation generated? When looking into the jQuery sourcecode, I don’t find any documentation annotations which makes me hope that I might be able to use the same system as they do.
Are the tools they use somehow documented?

I found the following XML-file while looking for an answer http://api.jquery.com/api/ which seems to be generated sometime inside the “build”-process of jQuery.
I would be happy to write my documentation into a similar file and run some tools over it to “prettify” it for displaying it to the user.

How do you create your documentation for jQuery libaries (except putting it into the sourcecode)?
Does anyone know the tools the jQuery team uses (or at least in which format the documentation originally is)?

Many thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T14:53:23+00:00Added an answer on May 21, 2026 at 2:53 pm

    It looks like NaturalDocs provides for documentation in external files (as well as in the source code).

    The tool that the Prototype team use for documenting Prototype, PDoc, works purely from comments. (The link died, so I removed it.) So you could have .js files that were purely the PDoc comments for your plug-in. 2015: As far as I can tell, PDoc is dead.

    I’d advocate having the comments in the source code — classic maintenance issue having them separated — but if you’re set on not doing that, fair ’nuff, both of those seem to be options for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a rather large plugin that I am currently writing in jQuery which
I'm writing my first jQuery plugin based on this documentation and I have a
Currently I'm writing a jQuery plugin with some options. An example simplified piece of
I am currently writing a simple, timer-based mini app in C# that performs an
I'm writing a jQuery plug-in so I can reuse this code in many places
I'm writing a jQuery grid plugin and I've designed it so it works independently
I am currently writing a plugin to a CAD style software. The plugin does
I'm currently writing a QuickLook plugin, and I wondering how I can display an
I am writing a quicklook plugin for an MPO file. The plugin isn't that
I'm writing my first wordpress plugin and I'm trying to create a function to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.