| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Until now the brief description of pages was prepended to the
<detaileddescription> element and the <briefdescription> element was
not present at all, which meant there was no easy way to extract the
brief description for purposes of creating a page index, for example.
With this patch, the brief description is included in both
<briefdescription> and <detaileddescription>, thus duplicated, to
avoid backwards compatibility issues.
|
|\
| |
| | |
Propagate language information to all <programlisting> XML elements
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is based on work done in 141dbfd5a4f79c98da14a1b414c6db4e1b34618b
through ed9acb6e1bb81a2eec334180f7b8c1bf0598b444 and makes a few
behavioral changes to it.
There's a new attribute called `filename` and the `language` was removed,
because it could provide misleading information. This allows for more
flexibility on the user side. In particular:
* For historical reasons, `*.txt` files are marked by Doxygen as C++
(see https://bugzilla.gnome.org/show_bug.cgi?id=760836 for details).
In particular, code snippet included from a CMakeLists.txt file would
be marked and highlighted as C++. So in this case, the language
attribute would be very misleading.
* Doxygen is aware only of a very small subset of languages and thus a
lot of information can be lost when relying on its
extension-to-language-name conversion -- in particular, all
extensions that are not recognized are assumed to be C++. On the other
hand, putting more effort into its language detection algorithms is
not worth the time, as there will always be new languages that fail to
detect. So let's leave that on the user of the XML output instead.
* Using just file extension is not enough, it has to be a full filename.
For example, `*.txt` can be either a plain text file or a
`CMakeLists.txt`.
* The path is not stripped from the filename, as it also may contain
additional information that helps to detect the language better.
In addition to that, filenames of code snippets included via the \include
command and related are propagated to the <programlisting> element as
well.
With this change, (1) code snippets using simply
\code
some code
\endcode
will not produce any `filename` attribute and it's up to the user what to
do -- assume C++, detect language from contents or not highlight
anything.
<programlisting>
some code
</programlisting>
(2) Code snippets using
\code{.cmake}
some code
\endcode
will produce the following:
<programlisting filename=".cmake">
some code
</programlisting>
(3) And finally, \include, \dontinclude and related \skip, \skipline etc.
commands
\include path/to/some-file.py
will produce
<programlisting filename="path/to/some-file.py">
some code
</programlisting>
The tests were updated to check all three cases.
On the user side, when using Pygments for example, it's then just a
matter of calling pygments.lexers.find_lexer_class_for_filename() with
value of the `filename` attribute value and optionally also the code
snippet for additional language analysis.
|
| |
| |
| |
| | |
It has refcounting, copy-on-write and all, but this is still better.
|
|\ \
| | |
| | | |
Code color of , (comma) together with only in use statement
|
| |/
| |
| |
| | |
The comma was colored as part of the word only (keywordtype), this should not be the case.
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Sqlite3 fixes
|
| |
| |
| |
| |
| |
| |
| |
| | |
check return value and in case of failures, print the errmsg.
to print the errmsg, the sqlite3* db is needed along with the
prepared statement, so add a db member to SqlStmt.
Signed-off-by: Adrian Negreanu <groleo@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Adrian Negreanu <groleo@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
executing the multiple statements in the schema, we
also get the indeces created.
Signed-off-by: Adrian Negreanu <groleo@gmail.com>
|
| | |
|
| |
| |
| |
| | |
not recognized by Doxygen
|
| | |
|
|\ \ |
|
| |\ \
| | |/
| |/| |
Update mathjax
|
| | |
| | |
| | |
| | | |
Use async keyword to prevent page load waiting.
|
| |/
| |
| |
| |
| |
| |
| | |
Set the default MATHJAX_RELPATH to the current recommended value:
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/
(See https://www.mathjax.org/cdn-shutting-down/ )
|
|/ |
|
|\
| |
| | |
Provide dot path to plantuml
|
| |
| |
| |
| | |
If HAVE_DOT = YES and DOT_PATH is configured, pass the path to the dot executable to plantuml with the -graphvizdot option.
|
|\ \
| |/
|/| |
Implement "double-space line breaks" syntax in Markdown
|
| |
| |
| |
| |
| | |
Ending a line with two spaces is supposed to create a line break in
Markdown. This implements that syntax.
|
|\ \
| | |
| | | |
clean up CMake code
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This checks the calling from "make tests" to "make test", but lets CMake handle
all the rest.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
target_compile_features() is used
This raises the required CMake version for this branch to get a better error
message. target_compile_features() was introduced in CMake 3.1.
|
| | | |
|
| | |
| | |
| | |
| | | |
Just don't call add_subdirectory() if the build flag is not set.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When some header or library is not found introduce a proper find_* call for it
and use the results. Especially injecting additional link directories would just
confuse the automatic library ordering done by CMake and is basically never the
right solution for any link problem.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Fix https://bugzilla.gnome.org/show_bug.cgi?id=782583.
|
| | |
| | |
| | |
| | | |
Don't write both page name and title to NAME section of man page, if they are the same.
|
|\ \ \
| | | |
| | | | |
Updated translator_de.h to doxygen 1.8.13
|
| |/ / |
|
|/ / |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Bug 557094 - Wrong spacing in function names with french language (latex output)
|
| |/ /
| | |
| | |
| | | |
Removed superfluous space in case of French as output language
|
|/ / |
|
|\ \
| | |
| | | |
build: fix the way lang_cfg.h is generated (regression to #574)
|
|/ /
| |
| |
| |
| | |
All language defines were written onto one line and thus only the first language (normally AM, Armenian, would be active.
Added \n as MESSAGE apparently automatically added it and APPEND doesn't.
|
|\ \ |
|
| | | |
|