apexdocs icon indicating copy to clipboard operation
apexdocs copied to clipboard

New annotation / tags.

Open codefriar opened this issue 1 year ago • 1 comments

@cesarParra

Overview: We have a unique need to add a new annotation / tag to Apex docs. I think it would be good for the community at large, and rather than forking apex docs, I wanted to ask if you'd be ok with a PR? and if you could help me orient myself to it. I'm happy to do the work.

Specifics: We work in a highly regulated org. There are certain apex actions / settings and or configurations that we have to Justify the use of. For instance, we have to provide justification for the use of any query or DML that doesn't use 'WITH USER_MODE'. We would like to introduce a new, optional, tag @justification similar to @description. The key is, we need the doc generator to honor and publish that justification in the output.

Thoughts?

codefriar avatar Jul 02 '24 16:07 codefriar

@codefriar

Of course, contributions are more than welcome!

But in this case you might not need any change. Any custom annotation added to the docs will be respected in the output file as well (ever since 2.0.0). So for example the following input:

/**
 * @description Sample description
 * @justification Sample justification
 */
public class GroupedClass {}

will give you

# GroupedClass

Sample description

**Justification** Sample justification

cesarParra avatar Jul 02 '24 17:07 cesarParra

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 02 '24 01:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 16 '24 01:08 github-actions[bot]