Difference between revisions of ".dtd and .rng"

From Gramps
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Upgrading the .dtd and .rng files - only done on special occasions!
+
{{man warn|Notes for the webmaster@gramps-project.org|Used in the maintenance of the Gramps website}}
  
Create a new folder under xml on the site for the new version, such as 1.7.1, copying the index.html from the previous version.
+
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!
  
Update the index.html file so all references point to the new version number.
+
==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.
  
Put the new .dtd (from current trunk) and the .rtg indicated for the new folder.  These are in the ./Gramps/data directory after obtaining the latest trunk version.
+
Update the '''index.html''' file so all references point to the new version number.
  
Use Sphinx against the current trunk and replaced docs with the new build of the html.
+
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===
 +
Use Sphinx against the current master and replaced docs with the new build of the html.
 +
 
 +
* https://gramps-project.org/docs/
  
 
==See also==
 
==See also==
*[[UpgradeMediaWiki]]
 
 
*[[Website application upgrades]]
 
*[[Website application upgrades]]
 
*[[Rollover for the manual]]
 
*[[Rollover for the manual]]
  
 
[[Category:Developers/General]]
 
[[Category:Developers/General]]

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