Updates to fix Doxygen documentation generation

We had way too much going on with the Doxygen manpage generation. Clean it
up quite a bit by removing directory manpages, using relative paths, not
having a manpage for every single alpm function, and ensuring internal
functions are not documented publicly.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-10-14 17:29:32 -05:00
parent 5adb8d4b5a
commit 0adedc536f
5 changed files with 11 additions and 13 deletions

View file

@ -24,7 +24,7 @@ ABBREVIATE_BRIEF = "The $name class" \
the the
ALWAYS_DETAILED_SEC = YES ALWAYS_DETAILED_SEC = YES
INLINE_INHERITED_MEMB = NO INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES FULL_PATH_NAMES = NO
STRIP_FROM_PATH = STRIP_FROM_PATH =
STRIP_FROM_INC_PATH = STRIP_FROM_INC_PATH =
SHORT_NAMES = NO SHORT_NAMES = NO
@ -68,7 +68,7 @@ GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS = ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30 MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES SHOW_USED_FILES = YES
SHOW_DIRECTORIES = YES SHOW_DIRECTORIES = NO
FILE_VERSION_FILTER = FILE_VERSION_FILTER =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to warning and progress messages # configuration options related to warning and progress messages
@ -165,7 +165,7 @@ RTF_EXTENSIONS_FILE =
GENERATE_MAN = YES GENERATE_MAN = YES
MAN_OUTPUT = . MAN_OUTPUT = .
MAN_EXTENSION = .3 MAN_EXTENSION = .3
MAN_LINKS = YES MAN_LINKS = NO
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the XML output # configuration options related to the XML output
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------

View file

@ -42,7 +42,7 @@ if USE_DOXYGEN
all: doxygen.in all: doxygen.in
doxygen.in: doxygen.in:
doxygen $(srcdir)/Doxyfile $(DOXYGEN) $(srcdir)/Doxyfile
endif endif
if USE_ASCIIDOC if USE_ASCIIDOC

View file

@ -31,6 +31,8 @@ extern "C" {
#include <time.h> /* for time_t */ #include <time.h> /* for time_t */
#include <stdarg.h> /* for va_list */ #include <stdarg.h> /* for va_list */
#include <alpm_list.h>
#define DEPRECATED __attribute__((deprecated)) #define DEPRECATED __attribute__((deprecated))
/* /*
@ -41,8 +43,6 @@ extern "C" {
* Structures * Structures
*/ */
typedef struct __alpm_list_t alpm_list_t;
typedef struct __pmdb_t pmdb_t; typedef struct __pmdb_t pmdb_t;
typedef struct __pmpkg_t pmpkg_t; typedef struct __pmpkg_t pmpkg_t;
typedef struct __pmgrp_t pmgrp_t; typedef struct __pmgrp_t pmgrp_t;

View file

@ -25,8 +25,6 @@
extern "C" { extern "C" {
#endif #endif
#include "alpm.h"
/** /**
* @brief Linked list type used by libalpm. * @brief Linked list type used by libalpm.
* *
@ -34,14 +32,14 @@ extern "C" {
* lists of their own; however, it is not required that the front end uses * lists of their own; however, it is not required that the front end uses
* it. * it.
*/ */
struct __alpm_list_t { typedef struct __alpm_list_t {
/** data held by the list node */ /** data held by the list node */
void *data; void *data;
/** pointer to the previous node */ /** pointer to the previous node */
struct __alpm_list_t *prev; struct __alpm_list_t *prev;
/** pointer to the next node */ /** pointer to the next node */
struct __alpm_list_t *next; struct __alpm_list_t *next;
}; } alpm_list_t;
#define FREELIST(p) do { alpm_list_free_inner(p, free); alpm_list_free(p); p = NULL; } while(0) #define FREELIST(p) do { alpm_list_free_inner(p, free); alpm_list_free(p); p = NULL; } while(0)

View file

@ -18,9 +18,6 @@
* MA 02110-1301 USA * MA 02110-1301 USA
*/ */
/**
* \file md5.h
*/
#ifndef _MD5_H #ifndef _MD5_H
#define _MD5_H #define _MD5_H
@ -29,6 +26,7 @@ extern "C" {
#endif #endif
/** /**
* \internal
* \brief MD5 context structure * \brief MD5 context structure
*/ */
typedef struct typedef struct
@ -40,6 +38,7 @@ typedef struct
md5_context; md5_context;
/** /**
* \internal
* \brief Output = MD5( input buffer ) * \brief Output = MD5( input buffer )
* *
* \param input buffer holding the data * \param input buffer holding the data
@ -50,6 +49,7 @@ void md5( unsigned char *input, int ilen,
unsigned char *output ); unsigned char *output );
/** /**
* \internal
* \brief Output = MD5( file contents ) * \brief Output = MD5( file contents )
* *
* \param path input file name * \param path input file name