vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBdoc - Source code documentation in the admincp [no longer supported] (https://vborg.vbsupport.ru/showthread.php?t=92073)

Brad 07-12-2005 10:00 PM

vBdoc - Source code documentation in the admincp [no longer supported]
 
[high]This modification is no longer supported![/high] -

Jelsoft has released their own source code documentation, thus I will no longer be working on this project or making new html files from the source code.

See this thread to get the link to the offical API documentation.


Quote:

vBdocs is an add-on for developers that places the source code documentation right in the admincp. The documentation is generated with the latest version of phpdoc and picks up on just about everything that was included in the source code documentation wise.

There are still known errors in the documentation, you can read the error log at /docs/vbsource/errors.html.

If you would like you can generate your own doc files, the instructions on how to do so are at phpdoc's website.

Installation instructions included in the zip file, same as the upgrade instructions. :)

Chris M 07-13-2005 02:14 AM

Nice one Brad ;)

Satan

Dream 07-13-2005 02:41 AM

sorry kinda confused, is this a phpdoc compilation of beta 4? are you going to update it in each new version

bigcurt 07-13-2005 03:16 AM

alright brad, maybe im dumb but..I would love something like that for 3.0.X..does it list the source php files in your admin cp? Is that what it does.

merk 07-13-2005 03:53 AM

Quote:

Originally Posted by bigcurt
alright brad, maybe im dumb but..I would love something like that for 3.0.X..does it list the source php files in your admin cp? Is that what it does.

No. phpDoc is a comment syntax for giving documentation on functions and classes inside the files themselves.

It is not available in 3.0.x (because the devs didnt use it).

Brad: Did you manage to reduce the number of errors by changing configurations or is it the syntax that Jelsoft are using that is causing most of the errors?

Brad 07-13-2005 05:12 AM

Quote:

Originally Posted by Dream
sorry kinda confused, is this a phpdoc compilation of beta 4? are you going to update it in each new version

Yes this is beta 4 as noted in the zip file :). With each version I will generate new files.

I do plan on going back and cleaning up the .html files, right now they are what phpdoc generated with no modification.

Quote:

Originally Posted by merk
Brad: Did you manage to reduce the number of errors by changing configurations or is it the syntax that Jelsoft are using that is causing most of the errors?

You can see the error log at /docs/vbsource/errors.html, while there are a lot listed there note that many of them are because of two things. Illegal use of 'var' and redeclared defines.

One thing for others that want to make their own phpdoc files, you need to tell phpdoc to pick up on a custom tag vB uses. Make sure you tell it to look for 'date' so it will extract @date.

Keep in mind that we are dealing with beta code, and I'm no phpdoc expert :). Even with the errors phpdoc still pulls a ton of useful information ;)

Chris M 07-13-2005 09:11 AM

Quote:

2. Upload the folder /docs/ to your admin cp directory.
So why is the navigation link pointing to /forums/docs/ instead of /forums/admincp/docs/ ?:p

Remove the [high]/[/high] before the docs in the link in the .xml file :p

Satan

Abe1 07-13-2005 12:02 PM

Brad, in the xml you should replace:
<link>/docs/vbsource/index.html</link>

with:
<link>./docs/vbsource/index.html</link>

bigcurt 07-13-2005 07:30 PM

doh! I got ya now, I guess I was thinking about somthing else/dreaming :-D

Brad 07-13-2005 08:57 PM

Hmmm strange it was right on localhost but wrong in the zip file, updating zip now (the joy of uploading 1.29MB on a 16.8k connection :rolleyes:)

Brad 07-13-2005 09:16 PM

Zip file updated, I also included a new screenshot as I thought the first one was kinda bare.

mcncyo 08-10-2005 05:05 PM

Is this going to be updated?

DeMiNe0 08-22-2005 07:12 PM

Doesn't look like it.

Kirk Y 08-23-2005 07:08 PM

He said he'd update it with each new release... I'd like to have this too... but I'm running RC2.

Brad 08-23-2005 07:19 PM

Quote:

Originally Posted by acidburn0520
He said he'd update it with each new release... I'd like to have this too... but I'm running RC2.

I have not generated new docs in some time, I will make a note for myself to do so after I get out of class tonight.

Kirk Y 08-23-2005 07:24 PM

Excellent, looking forward to it! Many thanks.

Brad 08-24-2005 05:31 AM

Quote:

Originally Posted by acidburn0520
Excellent, looking forward to it! Many thanks.

I have to grab the latest version from the members area, off to bed atm cause I have class in the morning but I'll set this to download tonight ;).

If I don't update tomorrow morning expect it sometime after lunch. :)

Brad 09-17-2005 07:47 AM

I did an update, now 3.5 RC3 documation is included in the zip file. :)

WOTC_Boe 10-05-2005 07:44 PM

Hello,

Thanks for providing the framework for getting phpDoc working with the admincp framework. is there any way you could post the phpdoc command you use to generate the documentation?

Also, do you use a *.ini file with phpDoc to generate the documentation? Can you share your config file?

Thanks Much!

Boe


All times are GMT. The time now is 04:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03068 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete