Convert installation notes to markdown The NetBSD Project
Status: Closed Time to complete: 48 hrs Mentors: Radoslaw Kujawa, Julian Coleman, Julian Fagir Tags: howto, system

Currently, the installation notes are constructed with mdoc from distrib/notes: http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1.2/i386/INSTALL.html


The task is to research whether it is possible to convert these articles to markdown, and, if possible, do so.
There might be many inclusions etc. to get the original structure, but even the result of what has to be done without the actual conversion would be neat.

Uploaded Work
File name/URL File size Date submitted
Conversion.odt 23.8 KB November 28 2012 23:54 UTC
OnlineTool.md 2.5 KB November 29 2012 02:25 UTC
Combo.md 2.5 KB November 29 2012 02:25 UTC
Script_Python.md 130.3 KB November 29 2012 03:59 UTC
Conversion.odt 25.8 KB November 29 2012 14:16 UTC
html2text.py 31.4 KB November 29 2012 14:17 UTC
Comments
Task Claimed by Spencer Neitzke November 27 2012 05:52 UTC

I would like to work on this task.

Task Assigned by Aleksej Saushev November 27 2012 08:23 UTC

This task has been assigned to Spencer Neitzke. You have 48 hours to complete this task, good luck!

Conversion in progress by Spencer Neitzke November 28 2012 04:11 UTC

I have found a way to convert the documentation to markdown, the only catch is that it is fairly manual. I have about half of the file converted already.

Re: Conversion in progress by Radoslaw Kujawa November 28 2012 10:17 UTC

That's okay, but remember that your main job here is not converting the document, but researching how to do it. So we'd like to have a short document explaining the possible conversion ways (and why did you choose one of them). 

Ready for review by Spencer Neitzke November 28 2012 23:55 UTC

The work on this task is ready to be reviewed.

Examples by Radoslaw Kujawa November 29 2012 00:06 UTC

Looks good so far. But I still have some questions :-).


You've mentioned that you already have got some part of the documentation converted to markdown. Can you attach an example? It would be nice to have an example of each tool, so we can see how good/bad job they do.


Also, I think that all tools you've described are interactive. Are there any scriptable tools available for this task? We have a lot of documents that would need conversion, so using scripts instead of interactive tools would be preferred.

Task Needs More Work by Radoslaw Kujawa November 29 2012 00:06 UTC

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Scripts by Spencer Neitzke November 29 2012 02:25 UTC

Looking into some scripting options and seeing what they produce.

Script by Spencer Neitzke November 29 2012 04:01 UTC

I did find a script that worked, after some modifications. I do have one concern, the source of the installation documentation seems to have unnecessary tags. This is throwing off the converters.


To get rid of these extra tags we would have to manually fix each file.

Ready for review by Spencer Neitzke November 29 2012 05:24 UTC

The work on this task is ready to be reviewed.

No more Work can be submitted by Melange November 29 2012 08:23 UTC

Melange has detected that the deadline has passed and no more work can be submitted. The submitted work should be reviewed.

Deadline extended by Radoslaw Kujawa November 29 2012 10:13 UTC

The deadline of the task has been extended with 1 days and 0 hours.

Re: Script by Radoslaw Kujawa November 29 2012 10:16 UTC

Ok, I see that you did attach and example of Markdown generated by Python script. But you didn't attach this script or any information on where to find this script. Please update Conversion.odt and attach this script.


I've extended the deadline (+1 day).

Task Needs More Work by Radoslaw Kujawa November 29 2012 10:16 UTC

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Ready for review by Spencer Neitzke November 29 2012 19:12 UTC

The work on this task is ready to be reviewed.

Task Closed by Radoslaw Kujawa November 29 2012 19:30 UTC

Congratulations, this task has been completed successfully.