https://bugzilla.wikimedia.org/show_bug.cgi?id=40143

       Web browser: ---
             Bug #: 40143
           Summary: generate documentation for JavaScript resources
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
               URL: http://svn.mediawiki.org/doc/
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The JavaScript code in core/resources has lots of Doxygen-style comments, but
http://svn.mediawiki.org/doc/ displays nothing for it, I assume because it's
not PHP.

I hoped this would be as simple as adding .js to FILE_PATTERNS in
maintenance/Doxyfile... however I tried this locally and the only documentation
it seems to generate for all the resources/*.js files that I checked is
   Variables
   function     mw

It may be that mwdoc-filter.php needs to be adjusted for .js files, but it
could be that .js files need to be pre-processed, see "For those working with
JavaScript..." in http://www.stack.nl/~dimitri/doxygen/helpers.html

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to