All Projects → fennifith → mdjavadoc

fennifith / mdjavadoc

Licence: MIT license
A script that generates markdown javadocs for use in Jekyll and GitHub Pages.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mdjavadoc

Spiget-Update
Spigot & Bungeecord updater API
Stars: ✭ 25 (+56.25%)
Mutual labels:  javadoc
jd2chm
Create HTML Help project files from existing Javadoc and triggers the HHC compiler to generate a CHM file.
Stars: ✭ 17 (+6.25%)
Mutual labels:  javadoc
javadoc-coverage
A Doclet to generate JavaDoc coverage reports ☕️🧪📗
Stars: ✭ 23 (+43.75%)
Mutual labels:  javadoc
project-tracking-system-backend-app
Enterprise project tracker, tracks commits done by employees after getting assigned to a couple of projects by their managers
Stars: ✭ 62 (+287.5%)
Mutual labels:  javadoc
CompactNPCLib
Library to create NPCs
Stars: ✭ 22 (+37.5%)
Mutual labels:  javadoc
marklet
Marklet is a custom Java Doclet which aims to generate a Javadoc in a markdown format which is ready to use in GitHub.
Stars: ✭ 24 (+50%)
Mutual labels:  javadoc
RestDoc
在运行时,使用Javadoc文档注释生成Swagger/OpenAPI规范
Stars: ✭ 63 (+293.75%)
Mutual labels:  javadoc
Jda
Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Stars: ✭ 2,598 (+16137.5%)
Mutual labels:  javadoc
Javaparser
Java 1-15 Parser and Abstract Syntax Tree for Java, including preview features to Java 13
Stars: ✭ 3,972 (+24725%)
Mutual labels:  javadoc
therapi-runtime-javadoc
Read Javadoc comments at run time.
Stars: ✭ 50 (+212.5%)
Mutual labels:  javadoc
Mock.java
This is a framework for generating fake data, similar to Mock.js. 你可以通过这个框架简便的构建一个JavaBean假数据模板并生成假数据,就像Mock.js一样的语法~
Stars: ✭ 32 (+100%)
Mutual labels:  javadoc
DocDex
JSON API & Discord Bot for Javadocs
Stars: ✭ 31 (+93.75%)
Mutual labels:  javadoc
CodeDex
CodeDex Android source code, javadoc and github viewer
Stars: ✭ 32 (+100%)
Mutual labels:  javadoc
ForgeJavaDocs-NG
Minecraft Forge Javadocs for 1.12.2 - 1.18.2.
Stars: ✭ 17 (+6.25%)
Mutual labels:  javadoc
apidoc
通过JavaDoc生成OpenAPI文档
Stars: ✭ 25 (+56.25%)
Mutual labels:  javadoc

Markdown Javadoc is a script that generates markdown javadocs primarily for use in Jekyll and GitHub Pages. It consists of two modules, an API and CLI. If you simply want to generate a set of javadocs in markdown without any scripting, the CLI provides a simple interface with a decent amount of options. If you have a more complex use case, however, it might be more beneficial to look into the API first.

Installation

These are generic installation instructions that are fairly similar for both the API and CLI.

NPM

npm install -g mdjavadoc

From Source

git clone https://github.com/TheAndroidMaster/mdjavadoc
cd mdjavadoc/cli
npm install
sudo npm link

For specific usage instructions, see the README for the API or CLI components.

Functionality

The program works by searching a set of files for javadoc comments, parsing them into a data structure containing the description, tags, and metadata, and then outputting that data into a set of markdown files. For example, a file containing a javadoc comment like the one below would yield the following structure and output...

Javadoc
/**
 * This is a method which does a thing with something and stuff.
 * 
 * @param something		This is something.
 * @param stuff			This is a bunch of stuff.
 * @return			A thing.
 */
public static Object doTheThing(int something, String[] stuff) {
	return null;
}
Data
[
  {
    name: "doTheThing",
    description: "This is a method which does a thing with something and stuff.",
    type: ["public", "static", "void"],
    source: "/package/structure/ClassName.java#L2",
    param: [
      {
        content: "@param something\tThis is something.",
        template: ["Parameter Name", "Description"],
        values: ["something", "This is something."]
      },
      {
        content: "@param stuff\t\tThis is a bunch of stuff.",
        template: ["Parameter Name", "Description"],
        values: ["stuff", "This is a bunch of stuff."]
      }
    ],
    return: [
      {
        content: "@return\t\tA thing.",
        template: ["Returned Value"],
        values: ["A thing."]
      }
    ]
  }
]
Markdown
## [doTheThing](../blob/master/package/structure/ClassName.java#L2)

**Type:** `public` `static` `void`

This is a method which does a thing with something and stuff.

|Parameter Name|Description|
|-----|-----|
|something|This is something.|
|stuff|This is a bunch of stuff.|

**Returned Value:** A thing.

Contributing

Contributions are accepted. See this project's CONTRIBUTING.md for instructions on how to contribute to this project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].