Tworzenie dokumentacji projektu - phpDocumentor na Ubuntu

0

Cześć, używam Ubuntu 17.04. Chciałbym udokumntować mój projekt za pomocą phpDoumentor. Przyznam się, że dotychczas używałem tylko komentarzy dla pól i metod. Ne generowałem dokumentacji. Z tego co się orientuję to za pomocą tego narzędzia jest możliwość wygenerowania dokumentacji na podstawie w/w komentarzy. Wszystkie moje próby instalacji aprzez pear lub composer kończą się błędem w konsoli. Coś w stylu:

Attempting to discover channel "phpdoc"...
Attempting fallback to https instead of http on channel "phpdoc"...
unknown channel "phpdoc" in "phpdoc/phpDocumentor"
invalid package name/package file "phpdoc/phpDocumentor"
install failed

To akurat komunika po wywołaniu polecenia: pear install phpdoc/phpDocumentor

Z tego co wiem da się jakoś ręcznie zainstalować phpDocumentor. Pytanie: wie ktoś jak to zrobić na Ubuntu i jak włączyć tą stronkę z dokumentacją?

0

Korzystałeś z https://phpdoc.org/docs/latest/getting-started/installing.html ?
Upewnij się, że nic Ci nie blokuje połączenia z serwerem itp itd. Ostatnio instalowałem phpdoca na ubuntu i composer zrobił to bardzo sprawnie i szyko.
Na ich stronie głównej jest też taka informacja o manualnej instalacji:

To do a manual installation, follow these steps

Locate the latest release on the releases page for phpDocumentor2 on GitHub
Download the attached tarball (not the source code!)
Extract the downloaded tarball into your destination directory.
After you have done the above can the executable be found at bin/phpdoc.php in the installation directory.

1 użytkowników online, w tym zalogowanych: 0, gości: 1