From 38dfdcaba3e9130833cd7b695d5e20fec26f5c3f Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 1 May 2014 19:01:34 +0200 Subject: Make index for faq Currently the FAQs are in a numbered list, no index / overview. This patch places the FAQs in paragraphs resulting in a readable overview (in index or with a tableofcontents in HTML --- doc/faq.doc | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/doc/faq.doc b/doc/faq.doc index 92d78f0..356c42b 100644 --- a/doc/faq.doc +++ b/doc/faq.doc @@ -16,8 +16,10 @@ */ /*! \page faq Frequently Asked Questions -
    -
  1. How to get information on the index page in HTML? +\tableofcontents + + +\section faq_index How to get information on the index page in HTML?

    You should use the \ref cmdmainpage "\\mainpage" command inside a comment block like this: \verbatim @@ -35,8 +37,7 @@ You should use the \ref cmdmainpage "\\mainpage" command inside a comment block */ \endverbatim -

  2. Help, some/all of the members of my class / file / namespace - are not documented? +\section fac_al Help, some/all of the members of my class / file / namespace are not documented? Check the following:
      @@ -62,8 +63,7 @@ PREDEFINED = MY_MACRO()= manual for more information.
    -
  3. When I set EXTRACT_ALL to NO none of my functions are shown in the - documentation. +\section faq_extract_allWhen I set EXTRACT_ALL to NO none of my functions are shown in the documentation. In order for global functions, variables, enums, typedefs, and defines to be documented you should document the file in which these commands are @@ -77,7 +77,7 @@ block containing the \ref cmddefgroup "\\defgroup" command. For member functions or functions that are part of a namespace you should document either the class or namespace. -
  4. How can I make doxygen ignore some code fragment? +\section faq_code How can I make doxygen ignore some code fragment? The new and easiest way is to add one comment block with a \ref cmdcond "\\cond" command at the start and one comment block @@ -100,8 +100,7 @@ around the blocks that should be hidden and put: in the config file then all blocks should be skipped by Doxygen as long as \ref cfg_enable_preprocessing "ENABLE_PREPROCESSING" is set to `YES`. -
  5. How can I change what is after the \#include -in the class documentation? +\section faq_code_inc How can I change what is after the \#include in the class documentation? In most cases you can use \ref cfg_strip_from_inc_path "STRIP_FROM_INC_PATH" to strip a user defined part of a path. @@ -132,7 +131,7 @@ quotes instead of angle brackets you should type: */ \endverbatim -
  6. How can I use tag files in combination with compressed HTML? +\section faq_chm How can I use tag files in combination with compressed HTML? If you want to refer from one compressed HTML file \c a.chm to another compressed HTML file @@ -155,14 +154,13 @@ configuration file for project \e a you write: TAGFILES = b.tag=b.chm:: \endverbatim -
  7. I don't like the quick index that is put above each HTML page, what do I do? +\section faq_html I don't like the quick index that is put above each HTML page, what do I do? You can disable the index by setting \ref cfg_disable_index "DISABLE_INDEX" to `YES`. Then you can put in your own header file by writing your own header and feed that to \ref cfg_html_header "HTML_HEADER". -
  8. The overall HTML output looks different, while I only wanted to - use my own html header file +\section faq_html_header The overall HTML output looks different, while I only wanted to use my own html header file You probably forgot to include the stylesheet doxygen.css that doxygen generates. You can include this by putting @@ -171,7 +169,7 @@ doxygen generates. You can include this by putting \endverbatim in the HEAD section of the HTML page. -
  9. Why does doxygen use Qt? +\section faq_use_qt Why does doxygen use Qt? The most important reason is to have a platform abstraction for most Unices and Windows by means of the QFile, QFileInfo, QDir, QDate, @@ -181,7 +179,7 @@ QDict, QString, QArray, QTextStream, QRegExp, QXML etc. The GUI front-end doxywizard uses Qt for... well... the GUI! -
  10. How can I exclude all test directories from my directory tree? +\section faq_excl_dir How can I exclude all test directories from my directory tree? Simply put an exclude pattern like this in the configuration file: @@ -189,14 +187,12 @@ Simply put an exclude pattern like this in the configuration file: EXCLUDE_PATTERNS = */test/* \endverbatim -
  11. Doxygen automatically generates a link to the - class MyClass somewhere in the running text. - How do I prevent that at a certain place? +\section faq_class Doxygen automatically generates a link to the class MyClass somewhere in the running text. How do I prevent that at a certain place? Put a \% in front of the class name. Like this: \%MyClass. Doxygen will then remove the % and keep the word unlinked. -
  12. My favorite programming language is X. Can I still use doxygen? +\section faq_pgm_X My favorite programming language is X. Can I still use doxygen? No, not as such; doxygen needs to understand the structure of what it reads. If you don't mind spending some time on it, there are several options: @@ -212,8 +208,7 @@ If you don't mind spending some time on it, there are several options: write a backend that produces a similar syntax tree as is done by src/scanner.l (and also by src/tagreader.cpp while reading tag files). -
  13. Help! I get the cryptic message - "input buffer overflow, can't enlarge buffer because scanner uses REJECT" +\section faq_lex Help! I get the cryptic message "input buffer overflow, can't enlarge buffer because scanner uses REJECT" This error happens when doxygen's lexical scanner has a rule that matches more than 256K of input characters in one go. I've seen this happening @@ -227,21 +222,21 @@ should send me a code fragment that triggers the message. To work around the problem, put some line-breaks into your file, split it up into smaller parts, or exclude it from the input using EXCLUDE. -
  14. When running make in the latex dir I get "TeX capacity exceeded". Now what? +\section faq_latex When running make in the latex dir I get "TeX capacity exceeded". Now what? You can edit the texmf.cfg file to increase the default values of the various buffers and then run "texconfig init". -
  15. Why are dependencies via STL classes not shown in the dot graphs? +\section faq_stl Why are dependencies via STL classes not shown in the dot graphs? Doxygen is unaware of the STL classes, unless the option \ref cfg_builtin_stl_support "BUILTIN_STL_SUPPORT" is turned on. -
  16. I have problems getting the search engine to work with PHP5 and/or windows +\section faq_search I have problems getting the search engine to work with PHP5 and/or windows Please read this for hints on where to look. -
  17. Can I configure doxygen from the command line? +\section faq_cmdline Can I configure doxygen from the command line? Not via command line options, but doxygen can read from stdin, so you can pipe things through it. Here's an example how to override an option @@ -260,7 +255,7 @@ For Windows the following would do the same: If multiple options with the same name are specified then doxygen will use the last one. To append to an existing option you can use the += operator. -
  18. How did doxygen get its name? +\section faq_name How did doxygen get its name? Doxygen got its name from playing with the words documentation and generator. @@ -274,7 +269,7 @@ At the time I was looking into \c lex and \c yacc, where a lot of things start w "yy", so the "y" slipped in and made things pronounceable (the proper pronouncement is Docs-ee-gen, so with a long "e"). -
  19. What was the reason to develop doxygen? +\section faq_why What was the reason to develop doxygen? I once wrote a GUI widget based on the Qt library (it is still available at http://sourceforge.net/projects/qdbttabular/ but hasn't been updated since 2002). @@ -286,8 +281,6 @@ Doc++ but that just wasn't good enough (it didn't support signals and slots and did not have the Qt look and feel I had grown to like), so I started to write my own tool... -
- \htmlonly Go to the next section or return to the index. -- cgit v0.12 From ea9f3b1d727b22973c0176b2564304fb160aa70b Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 2 May 2014 19:37:59 +0200 Subject: Missing word after \n command in Doxygen rtf output, version 1.8.5 & up After a \par command no space or new line was present resulting in the joining of the \par with the first word after the \n. Inserting an newline solves this problem --- src/rtfdocvisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 67faf98..b90b5a8 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -168,7 +168,7 @@ void RTFDocVisitor::visit(DocLineBreak *) { if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visit(DocLineBreak)}\n"); - m_t << "\\par"; + m_t << "\\par" << endl; m_lastIsPara=TRUE; } -- cgit v0.12