I am hosting a WordPress site and would like to use it to publish an open source project. I’d like one of the main menu items to link to the javadoc for the project. For those, unfamiliar with Java, javadoc is a programmatically generated directory hierarchy with many (too many to convert manually) HTML files. The root level contains the index.html file that you start with and all the references are relative to that directory. How can I hook in this structure to the WP site? Converting each page by hand to a WP page is not an acceptable solution because there are too many of them and they change regularly.
Leave a Reply
You must be logged in to post a comment.
The following worked for me:
Within my WordPress folder I created a folder javadoc – right next to wp-admin and the like – and dumped all the created JavaDoc-html in there. Going to http://my-blog/javadoc nicely displays the docs.
I’m a novice in this area, so this might be inadvisable from a best practice or security point of view. I’m actually very interested in an opinion on that!