Difference between revisions of ".dtd and .rng"

From Gramps
Jump to: navigation, search
(Developer API documentation)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{man warn|Notes for the [email protected]|Used in the maintenance of the Gramps website}}
 +
 
Upgrading the ''Document type definition''(.[https://en.wikipedia.org/wiki/Document_type_definition dtd]) and ''RELAX NG (REgular LAnguage for XML Next Generation)''(.[https://en.wikipedia.org/wiki/RELAX_NG rng]) files - is only done on special occasions!
 
Upgrading the ''Document type definition''(.[https://en.wikipedia.org/wiki/Document_type_definition dtd]) and ''RELAX NG (REgular LAnguage for XML Next Generation)''(.[https://en.wikipedia.org/wiki/RELAX_NG rng]) files - is only done on special occasions!
  
 
==How to update==
 
==How to update==
Create a new folder under xml on the website for the new version, such as 1.7.1, copying the index.html from the previous version.
+
Create a new folder under '''xml''' on the website for the new version, such as 1.7.1, copying the '''index.html''' from the previous version.
 +
 
 +
Update the '''index.html''' file so all references point to the new version number.
  
Update the index.html file so all references point to the new version number.
+
Put the new '''.dtd''' (from current master) and the '''.rtg''' indicated for the new folder.  These are in the '''./gramps/data''' directory after obtaining the latest master version.
  
Put the new .dtd (from current master) and the .rtg indicated for the new folder.  These are in the ./Gramps/data directory after obtaining the latest master version.
+
* https://gramps-project.org/xml/
  
 
===Developer API documentation===
 
===Developer API documentation===

Latest revision as of 05:57, 26 May 2018

Gnome-important.png
Notes for the [email protected]

Used in the maintenance of the Gramps website

Upgrading the Document type definition(.dtd) and RELAX NG (REgular LAnguage for XML Next Generation)(.rng) files - is only done on special occasions!

How to update

Create a new folder under xml on the website for the new version, such as 1.7.1, copying the index.html from the previous version.

Update the index.html file so all references point to the new version number.

Put the new .dtd (from current master) and the .rtg indicated for the new folder. These are in the ./gramps/data directory after obtaining the latest master version.

Developer API documentation

Use Sphinx against the current master and replaced docs with the new build of the html.

See also