Select Files

click here to start the extraction process
Start Documenting!

❓ What is EasyGen?


EasyGen is a automatic generation tool that extracts the comments from the code files you upload and generates documentation automatically!

❓ How do I use EasyGen?


It's simple! Just upload the files that contain the code and a documentation file will be automatically generated containing the documentation of all the uploaded files.

⚙️ Instructions


To be able to extract the comments from a file, EasyGen needs 2 things: All the fields are contained between two starting and ending symbols that define a section: `#@` to show where the section starts and `@#` to show where it ends. Please be careful to always have a space between the multiline comments symbols of the programming language you are using and the starting and ending symbols used to define the documentation section: this will ensure that the symbols will be recognized and not confused with another symbol fusion of the comment symbol and the section one.
Each section is made of fields, defined by using a tag: each tag starts with a `@` symbol and a field name (with no spaces) ending with `:`, followed by the information you want to write, for example:

@name: method_name
@brief :this is an example of what you can do
@notes: this is just an example and it is possible to add any other user defined fields
@inputs:
- a: something
- b: something else


There are some special fields that will be formatted in specific ways, such as: other tags can be created by the user by simply writing a custom tag (REMEMBER: don't use spaces), the contents of these field will be added to a table.

👨‍💻 Code Snippets!

Code snippets can be added by using the `#@codestart@#` and `#@codeend@#` fields (always within a multiline comment block): the `#@codestart@#` has to be put before the code section that you want to include, the `#@codeend@#` field has to be put at the end of the code section. Within these sections, comments can be inserted as normal to explain the behaviour of the code. As for the `#@` and `@#` symbols, please ensure that the code snippets symbols are separated from the comment block symbols with at least a space, otherwise they will not be recognized correctly. There can be multiple code snippets and they will be considered as part of the comment block that precedes them.
This is an example of how to use it:

/* #@codestart@# */
//this is the code that will be inserted
for(var i = 0; i < 10; i++){
console.log("<3\n");
}
/* #@codeend@# */

✨ What about the final result?

The output file is a markdown file, so within each field it is possible to use both markdown ad HTML notation to customize anything about the documentation.