On Fri, Apr 17, 2015 at 5:30 AM, Matěj Chalk <[email protected]> wrote:
> Hi, > > I'm having some trouble with the Trac Doxygen Plugin: > http://trac-hacks.org/wiki/DoxygenPlugin. I managed to install it and so > add a Doxygen main navigation tab. But it only contains a Trac Error: Can't > read doxygen content: [Errno 2] No such file or directory: > u'/var/lib/trac/doxygen/html/index.html'. > > I understand that this means it can't find an index.html file in the > specified path. The problem is, although I am now admin of the project, I > never installed trac, the page was created on request by my predecessor. > So, for example, my "editing of trac.ini" consists of going to the Admin > tab, selecting e.g. doxygen in the left menu bar under trac.ini and filling > in the offered fields (e.g. index, path). This means that as far as I know > I have no access to any sort of file system into which I could insert my > doxygen-generated documentation, so I don't know how to get Trac to display > it. > You'll need to generate the documentation using Doxygen and then copy it to the location on your server that you've specified (/var/lib/trac/doxygen/html). You won't be able to do this through the Trac web interface, you'll need direct shell access to your server. The Doxygen page has information on how to create a .doxy configuration file and generate the documentation using the Doxygen tools (1). The Doxygen documentation could be automatically generated using a script driven by a post-commit hook of your version control system, or some other mechanism such as a cron job. It sounds like your first step is to figure out how to get shell access to the server on which Trac was installed. - Ryan (1) http://www.stack.nl/~dimitri/doxygen/ -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
