-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
73 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
```{eval-rst} | ||
Test: Build all files | ||
===================== | ||
# Test: Build all files | ||
|
||
.. toctree:: | ||
:glob: | ||
:::{toctree} | ||
:glob: | ||
|
||
** | ||
``` | ||
** | ||
::: |
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 |
---|---|---|
@@ -1,27 +1,49 @@ | ||
<?xml version="1.0"?> | ||
<div class="body" role="main"> | ||
<dl class="php method"> | ||
<dt class="sig sig-object php" id="Foo::simplify"> | ||
<span class="sig-name descname"> | ||
<span class="pre">simplify</span> | ||
</span> | ||
<span class="sig-paren">(</span> | ||
<span class="sig-paren">)</span> | ||
<a class="headerlink" href="#Foo::simplify" title="Permalink to this definition">¶</a> | ||
</dt> | ||
<dd> | ||
<p>Simplify expression.</p> | ||
<dl class="field-list simple"> | ||
<dt class="field-odd">Parameters<span class="colon">:</span></dt> | ||
<dd class="field-odd"> | ||
<ul class="simple"> | ||
<li> | ||
<p><strong>$args</strong> (<span><code class="xref php php-obj docutils literal notranslate"><span class="pre">array</span></code></span>) – Associative array</p> | ||
</li> | ||
</ul> | ||
</dd> | ||
</dl> | ||
</dd> | ||
</dl> | ||
<section id="simple-method"> | ||
<h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to this heading">¶</a></h1> | ||
<dl class="php class"> | ||
<dt class="sig sig-object php" id="Foo"> | ||
<em class="property"> | ||
<span class="pre">class</span> | ||
</em> | ||
<span class="sig-name descname"> | ||
<span class="pre">Foo</span> | ||
</span> | ||
<a class="headerlink" href="#Foo" title="Permalink to this definition">¶</a> | ||
</dt> | ||
<dd/> | ||
</dl> | ||
<dl class="php method"> | ||
<dt class="sig sig-object php" id="Foo::test"><span class="sig-prename descclassname"><span class="pre">Foo::</span></span><span class="sig-name descname"><span class="pre">test</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">$a</span></em>, <em class="sig-param"><span class="pre">...$args</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Foo::test" title="Permalink to this definition">¶</a></dt> | ||
<dd> | ||
<p>Simple test method.</p> | ||
<dl class="field-list simple"> | ||
<dt class="field-odd">Parameters<span class="colon">:</span></dt> | ||
<dd class="field-odd"> | ||
<ul class="simple"> | ||
<li> | ||
<p><strong>$args</strong> (<span><code class="xref php php-obj docutils literal notranslate"><span class="pre">array</span></code></span>) – Associative array</p> | ||
</li> | ||
</ul> | ||
</dd> | ||
</dl> | ||
</dd> | ||
</dl> | ||
<section id="cross-linking"> | ||
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to this heading">¶</a></h2> | ||
<ul class="simple"> | ||
<li> | ||
<p> | ||
<a class="reference internal" href="#Foo::test" title="Foo::test"> | ||
<code class="xref php php-meth docutils literal notranslate"> | ||
<span class="pre">Foo::test()</span> | ||
</code> | ||
</a> | ||
</p> | ||
</li> | ||
</ul> | ||
</section> | ||
</section> | ||
<div class="clearer"/> | ||
</div> |
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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
```{eval-rst} | ||
.. php:method:: Foo::simplify() | ||
# Simple method | ||
|
||
:::{php:class} Foo | ||
::: | ||
|
||
:::{php:method} test($a, ...$args) | ||
|
||
Simplify expression. | ||
Simple test method. | ||
|
||
:param array $args: Associative array | ||
```{eval-rst} | ||
:param array $args: Associative array | ||
``` | ||
::: | ||
|
||
## Cross linking | ||
|
||
- {php:meth}`Foo::test()` |
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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
```{eval-rst} | ||
Simple NS | ||
========= | ||
# Simple NS | ||
|
||
.. php:namespace:: Foo | ||
:::{php:namespace} Foo | ||
::: | ||
|
||
.. php:class:: A | ||
:::{php:class} A | ||
::: | ||
|
||
.. php:method:: simplify() | ||
:::{php:method} simplify() | ||
::: | ||
|
||
Cross linking | ||
************* | ||
## Cross linking | ||
|
||
* :php:meth:`A::simplify` | ||
``` | ||
- {php:meth}`A::simplify` |