doc:phd:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:phd:faq [2008/04/05 13:34] – Adding comment about adding the doc.php.net channel asongedoc:phd:faq [2011/06/05 00:23] – http -> https scottmac
Line 5: Line 5:
 There are many different ways to install PhD, including: There are many different ways to install PhD, including:
  
-  * PEAR Channel: Upcoming +  * PEAR Channel: See [[doc:phd:install]] 
-  * Download: http://doc.php.net/phd/ +  * Download: See [[doc:phd:install]] 
-  * CVS: See CVS INSTALL Wiki+  * SVN: See [[doc:phd:install]]
  
- +==== How do I manage using PhD from SVN using PEAR? ====
-==== How do I manage using PhD from CVS using PEAR? ====+
  
 === Download: === === Download: ===
-  * http://cvs.php.net/viewvc.cgi/phd/ +  * View source: https://svn.php.net/viewvc/phd/trunk 
-  * http://php.net/anoncvs+  * SVN Repo: https://svn.php.net/repository/phd/trunk 
 +  * http://php.net/svn.php
 <code shell> <code shell>
-$ cd /my/cvs/dir +$ cd /my/svn/dir 
-cvs -d :pserver:cvsread@cvs.php.net:/repository checkout phd+svn co https://svn.php.net/repository/phd/trunk phd
 $ cd phd $ cd phd
 $ ls $ ls
Line 24: Line 24:
 ===Installing:=== ===Installing:===
 <code shell> <code shell>
-$ cd /the/phd/cvs/dir +$ cd /the/phd/svn/dir 
-cvs up -dP +svn up
 $ pear install -f package.xml $ pear install -f package.xml
 </code> </code>
Line 31: Line 31:
 ===Upgrading:=== ===Upgrading:===
 <code shell> <code shell>
-$ cd /the/phd/cvs/dir +$ cd /the/phd/svn/dir 
-cvs up -dP +svn up
 $ pear upgrade -f package.xml $ pear upgrade -f package.xml
 </code> </code>
Line 42: Line 42:
 </code> </code>
 Note:  -f, --force : overwrite newer installed packages Note:  -f, --force : overwrite newer installed packages
-Note:  pear requires the channel doc.php.net be added (pear channel-discover doc.php.net)+ 
 +Note:  pear requires the channel doc.php.net be added (pear channel-discover doc.php.net). The channel is available by default in recent pear versions.
  
 ==== How do I configure PhD? ==== ==== How do I configure PhD? ====
Line 49: Line 50:
 $ phd -h $ phd -h
 </code> </code>
 +By default, PhD attempts to build several themes (xhtml, bigxhtml, chm, and phpweb) and use .manual.xml that's first generated by configure.php
 +
 +==== How do I use PhD with non-php.net centric projects? ====
 +  * Short answer: Create a theme, and build.
 +  * Long answer: It's not yet friendly for this but two close examples of smaller projects that use PhD are: The [[https://svn.php.net/viewvc/phpdoc/doc-base/trunk/howto/|PHP documentation howto]] and [[https://svn.php.net/viewvc/phd/trunk/docs/phd-guide/|PhD guide]].
 +
doc/phd/faq.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1