daisy / epubcheck-website

Website with end-user documentation about EPUBCheck
https://daisy.github.io/epubcheck-website/
MIT License
0 stars 0 forks source link

Add page: "reference documentation of all the messages" #9

Open marisademeglio opened 4 years ago

marisademeglio commented 4 years ago

Under "messages documentation" subsection.

Generated automatically from the parsing done in #5

gregoriopellegrino commented 4 years ago

JSON file with message:

To get messages: https://github.com/w3c/epubcheck/blob/master/src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties

To find severities: https://github.com/w3c/epubcheck/blob/master/src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java

For specifications: https://github.com/w3c/epubcheck/blob/master/src/test/resources/epub3/package-document.feature

marisademeglio commented 4 years ago

Is the JSON file you're talking about the format you'd like to receive once the messages are parsed?

I haven't gone ahead with a message parser yet as I believe a code refactor may still be pending (see #5). @rdeltour can tell us more.

rdeltour commented 4 years ago

@marisademeglio I had a call with Gregorio and we agreed he could start creating a JSON file that would hold all the message information (codes, messages, description, spec references). At first this will be duplicating the bits that are already in EPUBCheck’s source code, but ultimately this JSON file will become the master source when I refactor the messaging system.

gregoriopellegrino commented 4 years ago

I setup the job, for the moment I filtered out the messages that are "suggestion" or suppressed

gregoriopellegrino commented 4 years ago

My doubts/1:

gregoriopellegrino commented 4 years ago

My doubts/2:

gregoriopellegrino commented 4 years ago

My doubts/3:

gregoriopellegrino commented 4 years ago

Only now I realized that the "usage" level messages are not printed by default and that maybe it doesn't make sense to describe them all :(

gregoriopellegrino commented 4 years ago

My doubts/4:

gregoriopellegrino commented 4 years ago

My doubts/5:

gregoriopellegrino commented 4 years ago

My doubts/6:

gregoriopellegrino commented 4 years ago

My doubts/7: