GithubHelp home page GithubHelp logo

metadoc / metadoc.js Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 5.0 3.94 MB

Generates JSON metadata for Object Oriented JavaScript libraries. Used as a source for generating documentation.

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%
oop javascript documentation generator ngn json docs metadoc documentation-tool

metadoc.js's People

Contributors

coreybutler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

metadoc.js's Issues

About the metadoc project

is the project metadoc still running on the RnD phase or has it's been shut down already?
The website is offline too.

Markdown Processing

MD processing should read description attributes, converting any markdown into static HTML.

  • GFM
  • Table Support
  • Mermaid Support
  • MathJAX

Post-processors

The following post-processors should be created as add-on modules:

  • NGN Code Generator (w/ JET View Registries)
  • Markdown processing
    • GFM
    • Table Support
    • Mermaid Support
    • MathJAX
  • MDN link creation for common JS elements.
  • Lunr search indexing (Content Only)
  • Github issue references (autolink).
  • StackOverflow references (autolink)
  • Code Embedding
    • Fenix
    • Codepen
    • JSFiddle
    • RunKit

Linting

Currently, cherow (AST parser) will silently fail if there is a syntax error in a file. It ultimately creates a memory leak and throws a heap error if it cannot parse a file. Files with incorrect syntax should not fail silently.

To resolve this, metadoc needs to lint the code before running it through the parser. This should guarantee the code is valid JavaScript before cherow parses the AST.

Non-JS Doc Metadata

Metadoc is great for producing API metadata, but there is currently nothing for generating guides. Guides are almost always static HTML sites (not just a page). It's possible to identify the structure of an individual document by it's headings (like the <h1> tag), but there isn't much for producing a master index/table of contents.

Metadoc should be capable of producing indexes that can be used to generate a table of contents for a guide.

This may require some inspection of directory/folder structures to determine things like chapters, subchapters, or other types of volumes. Metadoc may also need to parse the markdown/HTML content for comments to assist with this. Finally, it should be capable of verifying links between documents.

Search Indexing

To support fast searching, the primary content needs to be indexed by Lunr. The result should be one or more index files that can be used to seed a search system on a web page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.