-
Notifications
You must be signed in to change notification settings - Fork 5
[POC] Added JCR specification #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
sorry, i have missed the original PR notification. why would we not include either a pdf or just link to http://www.day.com/maven/jcr/2.0/ ? |
The benefits are:
The disadvantages:
I the first two points can be fixed - the last is true, but seeing as day is no longer a company (?) And its a JCR spec which I guess is not affiliated with a company, it gives us an advantage as PHPCR is a canonical place for PHPCR.. if you get what I mean. David Buchmann notifications@github.com wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
okay. i can agree to merge this if you can specify everything we need to re-generate this documentation (maybe in a build.txt file in the same folder as the generated doc, or something like that, and add your script or whatever). so that we can fix and rebuild should a problem be discovered even if you are not available. |
Have written a new converter, which uses the HTML version of the spec: https://github.com/dantleech/jcr-283-doc-convert This version splits the chapters, generates a TOC tree and It also pulls in the pictures. Next step is to try and guess the code blocks.. |
hm, did you try to ask the jcr people if they somehow have the source of the docs available? probably that would be easier than trying to scrape it. |
Where / who should I ask? But the originals are distributed in a word document and the online HTML reflects this. |
maybe @bdelacretaz knows if the jcr spec "source" document really is a word file? @dantleech would converting the wordfile then not get you closest to the original data? |
I don't know myself but I'll ask someone who should know to have a look at this and hopefully comment here. |
thanks bertrand! |
@bdelacretaz any luck with finding the source of the spec document? |
I also wondered if there are any copyright issues with copying the java spec? |
Looks like I forgot to ask or never got a reply - I have asked again if we can make the spec available in a more structured format than word. |
as this is very old and we did not follow up, i close this now. |
I have written a small script to convert an HTML version of the JCR spec (as exported from libre office using the original
doc
file) to RST.Its not perfect, as images are not preserved and the references are broken. I'm sure we could do better.