diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-14 14:18:53 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-15 00:03:31 +0100 |
commit | b68dd2e1894450dd69ffddf05a45c40e6c01a36a (patch) | |
tree | a08d5005f4b46dfa2fe9180250541eb6851ee905 /doc/classes/Light2D.xml | |
parent | 6e73aa0497b9cfc1c28863e655991106e677e69c (diff) | |
download | redot-engine-b68dd2e1894450dd69ffddf05a45c40e6c01a36a.tar.gz |
Add an XML schema for documentation
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
Diffstat (limited to 'doc/classes/Light2D.xml')
-rw-r--r-- | doc/classes/Light2D.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Light2D.xml b/doc/classes/Light2D.xml index 039425b15f..32bf6a67a9 100644 --- a/doc/classes/Light2D.xml +++ b/doc/classes/Light2D.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="Light2D" inherits="Node2D" version="4.0"> +<class name="Light2D" inherits="Node2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> Casts light in a 2D environment. </brief_description> |