docs: add meta data based on schema.org
Change-Id: Icacc1efc85b316278005121d049ec4476b6a0b24
diff --git a/res/assets/templates/class.cs b/res/assets/templates/class.cs
index bbabe24..e8cdafd 100644
--- a/res/assets/templates/class.cs
+++ b/res/assets/templates/class.cs
@@ -2,7 +2,7 @@
<?cs include:"macros.cs" ?>
<html>
<?cs include:"head_tag.cs" ?>
-<body class="<?cs var:class.since ?>">
+<body class="<?cs var:class.since ?>" itemscope itemtype="http://schema.org/Article">
<?cs include:"header.cs" ?>
<div class="g-unit" id="doc-content">
@@ -98,7 +98,7 @@
<?cs var:class.final ?>
<?cs var:class.abstract ?>
<?cs var:class.kind ?>
-<h1><?cs var:class.name ?></h1>
+<h1 itemprop="name"><?cs var:class.name ?></h1>
<?cs set:colspan = subcount(class.inheritance) ?>
<?cs each:supr = class.inheritance ?>
@@ -157,7 +157,7 @@
<?cs call:deprecated_warning(class) ?>
<?cs if:subcount(class.descr) ?>
<h2>Class Overview</h2>
-<p><?cs call:tag_list(class.descr) ?></p>
+<p itemprop="articleBody"><?cs call:tag_list(class.descr) ?></p>
<?cs /if ?>
<?cs call:see_also_tags(class.seeAlso) ?>
diff --git a/res/assets/templates/docpage.cs b/res/assets/templates/docpage.cs
index 9d85c6f..25b5ddb 100644
--- a/res/assets/templates/docpage.cs
+++ b/res/assets/templates/docpage.cs
@@ -2,24 +2,24 @@
<?cs include:"macros.cs" ?>
<html>
<?cs include:"head_tag.cs" ?>
-<body class="gc-documentation">
+<body class="gc-documentation" itemscope itemtype="http://schema.org/Article">
<?cs include:"header.cs" ?>
<div class="g-unit" id="doc-content"><a name="top"></a>
<div id="jd-header" class="guide-header">
- <span class="crumb">
+ <span class="crumb" itemprop="breadcrumb">
<?cs if:parent.link ?>
<a href="<?cs var:parent.link ?>"><?cs var:parent.title ?></a> >
<?cs else ?>
<?cs /if ?>
</span>
-<h1><?cs var:page.title ?></h1>
+<h1 itemprop="name"><?cs var:page.title ?></h1>
</div>
<div id="jd-content">
- <div class="jd-descr">
+ <div class="jd-descr" itemprop="articleBody">
<?cs call:tag_list(root.descr) ?>
</div>