Difference between revisions of ".dtd and .rng"
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{man warn|Notes for the webmaster@gramps-project.org|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! | |
− | + | ==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. | |
− | Use Sphinx against the current | + | 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== | ||
− | |||
*[[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
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.