# PasDoc new feature: PHP output, useful for Castle Game Engine documentation to improve our API links

**URL:** https://forum.castle-engine.io/t/pasdoc-new-feature-php-output-useful-for-castle-game-engine-documentation-to-improve-our-api-links/494
**Category:** News
**Created:** [January 7, 2022, 7:20pm UTC](https://forum.castle-engine.io/t/pasdoc-new-feature-php-output-useful-for-castle-game-engine-documentation-to-improve-our-api-links/494 "2022-01-07T19:20:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [January 7, 2022, 7:20pm UTC](https://forum.castle-engine.io/t/pasdoc-new-feature-php-output-useful-for-castle-game-engine-documentation-to-improve-our-api-links/494/1 "2022-01-07T19:20:01Z")

</div>

| [![PHP map generated by PasDoc](https://castle-engine.io/wp/wp-content/uploads/2022/01/Zrzut-ekranu-z-2022-01-07-20-16-53-200x107.png)](https://castle-engine.io/wp/wp-content/uploads/2022/01/Zrzut-ekranu-z-2022-01-07-20-16-53.png "PHP map generated by PasDoc") |

Following my [recent post](https://castle-engine.io/wp/2021/12/31/many-documentation-upgrades-using-asciidoctor-as-our-primary-way-to-write-documentation-michalis-thoughts-and-plans-about-our-documentation/), I am working intensively on CGE documentation updates.

[PasDoc](https://pasdoc.github.io/) is a Pascal documentation generator, used by _Castle Game Engine_ and many other projects. As it happens, I (Michalis) am also the developer of PasDoc now 🙂

To make it easier to develop a certain macro on CGE website, I have added a [PHP output](https://pasdoc.github.io/PhpOutput) to PasDoc. This generates a map, in PHP language, that allows to map Pascal identifier name -\> HTML page containing documentation for it. It allows our documentation (using a mix of AsciiDoctor, PHP, WordPress now) to be more aware of CGE API, and easily link/search to it. See the [documentation of PHP output in PasDoc](https://pasdoc.github.io/PhpOutput) for examples how you can use this.
