-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from unsignedapps/doc-update
Updated docs
- Loading branch information
Showing
7 changed files
with
179 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
|
||
<title>Vexil - FlagGroup.Display</title> | ||
|
||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | ||
<meta name="author" content=""> | ||
<meta name="description" content=""> | ||
|
||
<link rel="stylesheet" href="https://unsignedapps.github.io/Vexil/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://unsignedapps.github.io/Vexil/style.css"> | ||
<link rel="stylesheet" href="https://unsignedapps.github.io/Vexil/syntax.css"> | ||
<script type="text/javascript" src="https://unsignedapps.github.io/Vexil/boottrap.min.js"></script> | ||
|
||
</head> | ||
<body> | ||
<div class="container"> | ||
<header id="header"> | ||
<nav class="navbar navbar-expand navbar-light"> | ||
<a href="https://unsignedapps.github.io/Vexil" class="navbar-brand"> | ||
<img src="https://unsignedapps.github.io/Vexil/vexil-logo.png" alt="Vexil logo"> | ||
Vexil | ||
</a> | ||
<ul class="navbar-nav"> | ||
<li class="nav-item"><a class="nav-link" href="https://unsignedapps.github.io/Vexil/api">APIs</a></li> | ||
<li class="nav-item"><a class="nav-link" href="https://unsignedapps.github.io/Vexil/guides">Guides</a></li> | ||
<li class="nav-item"><a class="nav-link" href="https://github.com/unsignedapps/Vexil/">GitHub</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
<div class="row"> | ||
<div class="col-12 col-md-9"> | ||
|
||
<main> | ||
<article> | ||
<h1>FlagGroup.Display</h1> | ||
|
||
<p>How to display this group in Vexillographer</p> | ||
<div class="highlight"><pre class="chroma"><code class="language-swift" data-lang="swift"><span class="kd">enum</span> <span class="nc">Display</span> | ||
</code></pre></div> | ||
<hr /> | ||
|
||
<h2 id="enumeration-cases">Enumeration Cases <a href="#enumeration-cases" class="permalink">¶</a></h2> | ||
<h3 id="navigation"><code>navigation</code> <a href="#navigation" class="permalink">¶</a></h3><p>Displays this group using a <code>NavigationLink</code>. This is the default.</p> | ||
<div class="highlight"><pre class="chroma"><code class="language-swift" data-lang="swift"><span class="k">case</span> <span class="n">navigation</span> | ||
</code></pre></div><p>In the navigated view the <code>name</code> is the cell’s display name and the navigated view’s | ||
title, and the <code>description</code> is displayed at the top of the navigated view.</p> | ||
|
||
<h3 id="section"><code>section</code> <a href="#section" class="permalink">¶</a></h3><p>Displays this group using a <code>Section</code></p> | ||
<div class="highlight"><pre class="chroma"><code class="language-swift" data-lang="swift"><span class="k">case</span> <span class="n">section</span> | ||
</code></pre></div><p>The <code>name</code> of this FlagGroup is used as the Section’s header, and the <code>description</code> | ||
as the Section’s footer.</p> | ||
|
||
</article> | ||
</main> | ||
|
||
</div> | ||
|
||
<div class="col-3 sidebar d-none d-md-block"> | ||
<h2>On This Page</h2> | ||
<nav id="TableOfContents"> | ||
<ul> | ||
<li><a href="#enumeration-cases">Enumeration Cases</a> | ||
<ul> | ||
<li><a href="#navigation"><code>navigation</code></a></li> | ||
<li><a href="#section"><code>section</code></a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
|
||
</div> | ||
<footer id="footer"> | ||
<div class="copyright"> | ||
<small>Copyright © 2020 Unsigned Apps Pty Ltd.</small><br /> | ||
<small>API docs are generated using <a href="https://github.com/SwiftDocOrg/swift-doc" target="_blank">swift-doc</a>. The theme is also from there.</small> | ||
</div> | ||
</footer> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.