Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 60ae5a1

Browse files
committed
rebuild self documentation (docs/)
We haven't rebuilt this since the last round of fixes.
1 parent 5c914a6 commit 60ae5a1

File tree

28 files changed

+56
-166
lines changed

28 files changed

+56
-166
lines changed

docs/class.Facebook.HHAPIDoc.DocBlock.DocBlock.nullable.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1>Facebook\HHAPIDoc\DocBlock\DocBlock::nullable()</h1>
4646
<p>Create a new instance if a comment is provided</p>
4747
<pre><code class="language-Hack">public static function nullable(
4848
?string $comment,
49-
): ?Facebook\HHAPIDoc\DocBlock\this;
49+
): ?this;
5050
</code></pre>
5151
<h2>Parameters</h2>
5252
<ul>

docs/class.Facebook.HHAPIDoc.DocumentationBuilder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h3>Protected Methods</h3>
6262
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilder.getDocumentationBody.html"><code>-&gt;getDocumentationBody(Documentable $documentable): string</code></a><br />
6363
Get the main body of the documentation in the context-appropriate
6464
output format</li>
65-
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilder.getPageSections.html"><code>-&gt;getPageSections(): keyset&lt;\classname&lt;PageSections\PageSection&gt;&gt;</code></a><br />
65+
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilder.getPageSections.html"><code>-&gt;getPageSections(): keyset&lt;classname&lt;PageSections\PageSection&gt;&gt;</code></a><br />
6666
List of instantiable <code>PageSection</code> subclasses to include in the document</li>
6767
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilder.wrapHTMLBody.html"><code>-&gt;wrapHTMLBody(Documentable $what, string $body): string</code></a><br />
6868
Generate a full HTML document from a body</li>

docs/class.Facebook.HHAPIDoc.DocumentationBuilderContext.IsSyntaxHighlightingOn.html

Lines changed: 0 additions & 45 deletions
This file was deleted.

docs/class.Facebook.HHAPIDoc.DocumentationBuilderContext.__construct.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ <h1>Facebook\HHAPIDoc\DocumentationBuilderContext::__construct()</h1>
4646
<p>Create an instance</p>
4747
<pre><code class="language-Hack">public function __construct(
4848
Facebook\HHAPIDoc\Index $index,
49-
IPathProvider&lt;?string&gt; $pathProvider,
50-
Facebook\HHAPIDoc\this::TConfig $config,
49+
Facebook\HHAPIDoc\IPathProvider&lt;?string&gt; $pathProvider,
50+
this::TConfig $config,
5151
);
5252
</code></pre>
5353
<h2>Parameters</h2>
5454
<ul>
5555
<li><a href="type.Facebook.HHAPIDoc.Index.html"><code>Facebook\HHAPIDoc\Index</code></a><code> $index</code> an <code>Index</code> of all <code>Documentable</code>s. This may be used for
5656
autolinking.</li>
57-
<li><code>IPathProvider&lt;?string&gt; $pathProvider</code> a path provider that returns paths for documentables
57+
<li><a href="interface.Facebook.HHAPIDoc.IPathProvider.html"><code>Facebook\HHAPIDoc\IPathProvider&lt;?string&gt;</code></a><code> $pathProvider</code> a path provider that returns paths for documentables
5858
that exist, or null for ones that don't.</li>
59-
<li><code>Facebook\HHAPIDoc\this::TConfig $config</code></li>
59+
<li><code>this::TConfig $config</code></li>
6060
</ul>
6161

6262
</body>

docs/class.Facebook.HHAPIDoc.DocumentationBuilderContext.getConfiguration.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
</head>
4444
<body>
4545
<h1>Facebook\HHAPIDoc\DocumentationBuilderContext::getConfiguration()</h1>
46-
<pre><code class="language-Hack">public function getConfiguration(): Facebook\HHAPIDoc\this::TConfig;
46+
<pre><code class="language-Hack">public function getConfiguration(): this::TConfig;
4747
</code></pre>
4848
<h2>Returns</h2>
4949
<ul>
50-
<li><code>Facebook\HHAPIDoc\this::TConfig</code></li>
50+
<li><code>this::TConfig</code></li>
5151
</ul>
5252

5353
</body>

docs/class.Facebook.HHAPIDoc.DocumentationBuilderContext.getPathProvider.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
</head>
4444
<body>
4545
<h1>Facebook\HHAPIDoc\DocumentationBuilderContext::getPathProvider()</h1>
46-
<pre><code class="language-Hack">public function getPathProvider(): IPathProvider&lt;?string&gt;;
46+
<pre><code class="language-Hack">public function getPathProvider(): Facebook\HHAPIDoc\IPathProvider&lt;?string&gt;;
4747
</code></pre>
4848
<h2>Returns</h2>
4949
<ul>
50-
<li><code>IPathProvider&lt;?string&gt;</code></li>
50+
<li><a href="interface.Facebook.HHAPIDoc.IPathProvider.html"><code>Facebook\HHAPIDoc\IPathProvider&lt;?string&gt;</code></a></li>
5151
</ul>
5252

5353
</body>

docs/class.Facebook.HHAPIDoc.DocumentationBuilderContext.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ <h2>Interface Synopsis</h2>
5151

5252
<h3>Public Methods</h3>
5353
<ul>
54-
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.__construct.html"><code>-&gt;__construct(Index $index, \IPathProvider&lt;?string&gt; $pathProvider, this::TConfig $config)</code></a><br />
54+
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.__construct.html"><code>-&gt;__construct(Index $index, IPathProvider&lt;?string&gt; $pathProvider, this::TConfig $config)</code></a><br />
5555
Create an instance</li>
5656
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.getConfiguration.html"><code>-&gt;getConfiguration(): this::TConfig</code></a></li>
5757
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.getIndex.html"><code>-&gt;getIndex(): Index</code></a></li>
5858
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.getOutputFormat.html"><code>-&gt;getOutputFormat(): OutputFormat</code></a></li>
59-
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.getPathProvider.html"><code>-&gt;getPathProvider(): \IPathProvider&lt;?string&gt;</code></a></li>
59+
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.getPathProvider.html"><code>-&gt;getPathProvider(): IPathProvider&lt;?string&gt;</code></a></li>
6060
<li><a href="class.Facebook.HHAPIDoc.DocumentationBuilderContext.isSyntaxHighlightingEnabled.html"><code>-&gt;isSyntaxHighlightingEnabled(): bool</code></a></li>
6161
</ul>
6262

docs/class.Facebook.HHAPIDoc.GeneratorCLI.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h3>Protected Methods</h3>
6161
<h3>Private Methods</h3>
6262
<ul>
6363
<li><a href="class.Facebook.HHAPIDoc.GeneratorCLI.parse.html"><code>-&gt;parse(): vec&lt;Documentable&gt;</code></a></li>
64-
<li><a href="class.Facebook.HHAPIDoc.GeneratorCLI.verboseWrite.html"><code>-&gt;verboseWrite(string $what): \void</code></a><br />
64+
<li><a href="class.Facebook.HHAPIDoc.GeneratorCLI.verboseWrite.html"><code>-&gt;verboseWrite(string $what): void</code></a><br />
6565
Write output only if verbose mode is set</li>
6666
</ul>
6767

docs/class.Facebook.HHAPIDoc.IndexDocumentBuilder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h3>Protected Methods</h3>
6060
<ul>
6161
<li><a href="class.Facebook.HHAPIDoc.IndexDocumentBuilder.getContext.html"><code>-&gt;getContext(): DocumentationBuilderContext</code></a></li>
6262
<li><a href="class.Facebook.HHAPIDoc.IndexDocumentBuilder.getIndexDocumentMarkdown.html"><code>-&gt;getIndexDocumentMarkdown(): string</code></a></li>
63-
<li><a href="class.Facebook.HHAPIDoc.IndexDocumentBuilder.renderPart.html"><code>-&gt;renderPart(string $title, keyset&lt;string&gt; $names, \callable $get_path): ?string</code></a><br />
63+
<li><a href="class.Facebook.HHAPIDoc.IndexDocumentBuilder.renderPart.html"><code>-&gt;renderPart(string $title, keyset&lt;string&gt; $names, (function(string): ?string) $get_path): ?string</code></a><br />
6464
Render an index section to Markdown</li>
6565
<li><a href="class.Facebook.HHAPIDoc.IndexDocumentBuilder.renderToHTML.html"><code>-&gt;renderToHTML(string $markdown): string</code></a></li>
6666
</ul>

docs/class.Facebook.HHAPIDoc.IndexDocumentBuilder.renderPart.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ <h1>Facebook\HHAPIDoc\IndexDocumentBuilder::renderPart()</h1>
4747
<pre><code class="language-Hack">protected function renderPart(
4848
string $title,
4949
keyset&lt;string&gt; $names,
50-
callable $get_path,
50+
(function(string): ?string) $get_path,
5151
): ?string;
5252
</code></pre>
5353
<h2>Parameters</h2>
5454
<ul>
5555
<li><code>string $title</code> the title of the section - e.g. 'Classes'</li>
5656
<li><code>keyset&lt;string&gt; $names</code> the names of all the definitions that belong in this section</li>
57-
<li><code>callable $get_path</code> a callable that takes a name from <code>$names</code> and returns
57+
<li><code>(function(string): ?string) $get_path</code> a callable that takes a name from <code>$names</code> and returns
5858
<code>null</code> if a path can't be found, otherwise returns a path suitable for
5959
linking to for the specified name.</li>
6060
</ul>

0 commit comments

Comments
 (0)