-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doxygen support #89
Doxygen support #89
Conversation
Groups are now in categories, this should make the documentation more readable. Note: In order for the groups to be collapsed by default, we need to modify $(document).ready(function() { init_search(); }); with $(document).ready(function() { init_search(); toggleLevel(1); }); I think that this pull request is ready for merging, here is the final result: http://devnoname120.legtux.org/vitaheadershtml/index.html |
well.. can you check result after swap new header part(define group) and license part(file brief). |
I tried to swap them, but then the section |
well, many code licenses suggest their information attach to top of file. problem might be IMO, generated doc can allow missing license info. |
few minute ago, i checked this pr in my local. my doxygen version is 1.8.11, and both case(swap and non-swap) out same result. so please swap these. ;-) |
Without changing anything:/**
* \addtogroup Kernel Kernel
* Modules, Processes, Threads, Memory blocks
* \{
*/
/**
* \addtogroup SceThreadMgr Thread Manager Library
* List the running threads, start, stop and send a message.
*/
/** \} */
/**
* \defgroup SceThreadMgrUser User
* \ingroup SceThreadMgr
* Exports for User
*
* ------------------------
* ### Using this library in your project ###
* Include the header file in your project:
* \code
* #include <psp2/kernel/threadmgr.h>
* \endcode
*
* Link the library in your makefile:
* \code
* -lSceKernel_stub
* \endcode
* ------------------------
* \{
*/
/**
* \file
* \brief Header file related to thread management
*
* Copyright (C) 2015 PSP2SDK Project
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ Adding the file at the top:/**
* \file
* \brief Header file related to thread management
*
* Copyright (C) 2015 PSP2SDK Project
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* \addtogroup Kernel Kernel
* Modules, Processes, Threads, Memory blocks
* \{
*/
/**
* \addtogroup SceThreadMgr Thread Manager Library
* List the running threads, start, stop and send a message.
*/
/** \} */
/**
* \defgroup SceThreadMgrUser User
* \ingroup SceThreadMgr
* Exports for User
*
* ------------------------
* ### Using this library in your project ###
* Include the header file in your project:
* \code
* #include <psp2/kernel/threadmgr.h>
* \endcode
*
* Link the library in your makefile:
* \code
* -lSceKernel_stub
* \endcode
* ------------------------
* \{
*/ |
In the second case, the section I think that licenses should be at the top of the files, without using Doxygen-style comments. But this is outside the scope of this pull request, I can open another one if you wish in order to fix this. |
if not allocate that position, it occur broke link in that file. yeah i got it, anyway, i'm not use doxygen in my personal projects for the documentation, so i don't know right or common format. and remain review thing;
it's still long but IDK fix method :/ anyway your work is great, doxygen result look awesome ;) |
Hm, I can't seem to see your review comments. Also, I will define some special aliases so as to make the include/library hint less verbose. Thanks! |
I have simplified the way grouping works by defining the group hierarchy in Here is what a header now looks like: /**
* \usergroup{SceAppUtil}
* \usage{psp2/apputil.h,-lSceAppUtil_stub}
*/ I have not merged the doxygen comments since we now only have one for the whole grouping, and it makes easier to visually distinguish it with the license part. Is there anything else to change? |
look nice, but that patch was added |
Done. |
Add Doxygen support.
WIP:
- [ ] Merge multi-line comments- [ ] Move license to the top without using doxygen-type commentsHTML documentation can be generated using:
Preview: http://devnoname120.legtux.org/vitaheadershtml/index.html