Difference between revisions of "Documentation:Developers Notes"

From POV-Wiki
Jump to navigation Jump to search
m (added a scratch pad)
Line 38: Line 38:
 
====Left Justified====
 
====Left Justified====
 
There were a number of html tags that just didn't work as you'd expect, until the became the first character of a new line. There are also certain wiki tags that have the same requirement, so I had to get rid of leading tabs and spaces.
 
There were a number of html tags that just didn't work as you'd expect, until the became the first character of a new line. There are also certain wiki tags that have the same requirement, so I had to get rid of leading tabs and spaces.
 +
==Scratch Pad==
 +
When  [http://www.mediawiki.org/wiki/Manual:Opening_external_links_in_a_new_window#Dynamically_defining_an_href_target| this] change is implemented .... [http://www.povray.org/|_new <span title="Opens A New Window!">links</span>] should open in a new window.

Revision as of 12:24, 15 February 2009

This document is protected, so submissions, corrections and discussions should be held on this documents talk page.


Introduction

This document is an outline of the process used to generate the content of the documentation repository.

The Source

The html files used to generate this content came from the current documentation generation process (povdocgen) input side files.

The Content

The repository documents were produced by a perl script (makedocs.pl). It converts the html files into MediaWiki markup language preserving POV-centric tags that are critical to the final creation of distribution documentation sets. MediaWiki markup understands many standard html tags, so by in large most things get passed on as-is, however there are some exceptions that are covered in the tag summary below.

Tag Summary

This section is a list of the tags, by classification, with a brief synopsis of how it was handled and why.

MUST Preserve

These tags are for indexing and searching purposes. They are critical to down stream processes.

  • These is have no end user viewable information so they are commented out.
<!--<sectiondesc desc="Unix specific">--->
<!--<indexentry "average, tutorial">--->
  • The end user sees this tag as an Intra-Wiki navigational link, so ....
<linkto "Introduction">Introduction</linkto>
becomes
<!--<linkto "Introduction">Introduction</linkto>--->[[Documentation:SomePage#Introduction|Introduction]]

Style Sheet Issue's

The content will not resemble the Windows distribution, or the online version due to style sheet issues. If making the repository pages look like the distribution is an issue, then integrating elements of povray35.css should be considered, or maybe this would be a great opportunity to change the look of the documentation!

These are just some tags/classes I'm talking about:

  1. class="Explain"
  2. <code></code>
  3. <pre></pre>
  4. class="Note"
  5. Others ....

Left Justified

There were a number of html tags that just didn't work as you'd expect, until the became the first character of a new line. There are also certain wiki tags that have the same requirement, so I had to get rid of leading tabs and spaces.

Scratch Pad

When this change is implemented .... links should open in a new window.