doc:articles:phd_ide
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:articles:phd_ide [2011/06/26 04:00] – added includes to fill in a few steps (still needs work re: paths) philip | doc:articles:phd_ide [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 24: | Line 24: | ||
$ cd / | $ cd / | ||
$ php doc-base/ | $ php doc-base/ | ||
- | $ phd --docbook doc-base/ | + | $ phd --docbook doc-base/ |
</ | </ | ||
You now have the following file structure: | You now have the following file structure: | ||
<code bash> | <code bash> | ||
- | / | + | / |
- | / | + | / |
+ | / | ||
</ | </ | ||
Tip: The --output PhD option changes the output directory. | Tip: The --output PhD option changes the output directory. | ||
==== Step #5 : Build your own structure ==== | ==== Step #5 : Build your own structure ==== | ||
+ | |||
+ | === Json === | ||
The following commands use an example script called ' | The following commands use an example script called ' | ||
<code bash> | <code bash> | ||
- | $ cp / | + | $ cp / |
$ cd /tmp | $ cd /tmp | ||
$ vim test-ide.php | $ vim test-ide.php | ||
$ ./ | $ ./ | ||
$ open php_manual.json | $ open php_manual.json | ||
+ | </ | ||
+ | |||
+ | === SQLite 3 === | ||
+ | <code bash> | ||
+ | $ phd --docbook path/ | ||
</ | </ | ||
==== Conclusion ==== | ==== Conclusion ==== | ||
The PhD_IDE PhD package allows customizing the output of the PHP Manual. It takes DocBook XML and converts it to a PHP object containing all (most) of the functions documentation. The main purpose is to allow IDE's to build syntax files for code insight and PHP documentation, | The PhD_IDE PhD package allows customizing the output of the PHP Manual. It takes DocBook XML and converts it to a PHP object containing all (most) of the functions documentation. The main purpose is to allow IDE's to build syntax files for code insight and PHP documentation, |
doc/articles/phd_ide.1309060840.txt.gz · Last modified: 2017/09/22 13:28 (external edit)