Skip to content

Commit

Permalink
declare using MySQL -> AST
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jul 17, 2023
1 parent 946875d commit fd757b5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 21 deletions.
12 changes: 5 additions & 7 deletions test/unit/index.md
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:

**
```
**
:::
19 changes: 15 additions & 4 deletions test/unit/method.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
```{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()`
- {php:meth}`foo::TEST()`
19 changes: 9 additions & 10 deletions test/unit/ns.md
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`

0 comments on commit fd757b5

Please sign in to comment.