doc:phd:faq

Differences

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

Link to this comparison view

Next revision
Previous revision
doc:phd:faq [2008/03/08 16:22] – initial commit philipdoc:phd:faq [2017/09/22 13:28] (current) – external edit 127.0.0.1
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 CVS using PEAR? ====+==== How do I manage using PhD from SVN 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 23: 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>
  
 ===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 41: 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). The channel is available by default in recent pear versions.
  
 ==== How do I configure PhD? ==== ==== How do I configure PhD? ====
Line 47: 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.1204993357.txt.gz · Last modified: 2017/09/22 13:28 (external edit)