Site updated at 2017-10-16 20:20:00 UTC

This commit is contained in:
Travis CI 2017-10-16 20:20:00 +00:00
parent 638b09c992
commit 29e99c1d7d
29 changed files with 100 additions and 72 deletions

View file

@ -146,14 +146,6 @@ required: any string here #=> Any string here
<span class="nt">&lt;/p&gt;</span>
</code></pre>
</div>
<h3><a class="title-link" name="redirects" href="#redirects"></a> Redirects</h3>
<p>If you rename or move an existing platform or component, create the redirect. Add the old location of the page to the header of the new one.</p>
<div class="language-text highlighter-rouge"><pre class="highlight"><code>---
...
redirect_from: /getting-started/android/
---
</code></pre>
</div>
<h3><a class="title-link" name="images-icons-and-logos" href="#images-icons-and-logos"></a> Images, icons, and logos</h3>
<p>The images which are displayed on the pages are stored in various directories according to their purpose. If you want to use a logo and placed <code class="highlighter-rouge">logo:</code> in the file header then this image should be stored in <code class="highlighter-rouge">source/images/supported_brands</code>. The background must be transparent.</p>
<table>

View file

@ -137,6 +137,15 @@
</ul>
</li>
</ul>
<h2><a class="title-link" name="renaming-pages" href="#renaming-pages"></a> Renaming Pages</h2>
<p>It can happen that a component or platform is renamed, in this case the documentation needs to be updated as well. If you rename a page, add <code class="highlighter-rouge">redirect_from:</code> to the file header and let it point to the old location/name of the page. Please consider to add details, like release number or old component/platform name, to the page in a <a href="/developers/documentation/create_page/#html">note</a>.</p>
<div class="language-text highlighter-rouge"><pre class="highlight"><code>---
...
redirect_from: /getting-started/android/
---
</code></pre>
</div>
<p>Adding a redirect also applies if you move content around in the <a href="/docs/">documention</a>.</p>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">