chiark / gitweb /
blog.git
6 years agocss: use concrete font weight value.
Vladimír Vondruš [Sun, 17 Jun 2018 09:54:13 +0000 (11:54 +0200)]
css: use concrete font weight value.

I'm using semibold version of Source Sans Pro, which is 600, not 800.

6 years agocss: make code font size configurable from the theme.
Vladimír Vondruš [Sun, 17 Jun 2018 09:52:18 +0000 (11:52 +0200)]
css: make code font size configurable from the theme.

Not every combination of font and monospace font works with scaling the
code to 0.9 -- the light theme has base font size only 14px and there
the code would be too small. Also use `em` instead of `rem` so it
follows surrounding text size.

6 years agocss: properly handle variable declarations with comments in postprocess.py.
Vladimír Vondruš [Sun, 17 Jun 2018 09:50:01 +0000 (11:50 +0200)]
css: properly handle variable declarations with comments in postprocess.py.

6 years agodoxygen: don't crash on anchors with IDs that don't match the compound.
Vladimír Vondruš [Sun, 17 Jun 2018 09:41:20 +0000 (11:41 +0200)]
doxygen: don't crash on anchors with IDs that don't match the compound.

6 years agom.components: provide roles for labels.
Vladimír Vondruš [Thu, 14 Jun 2018 11:58:41 +0000 (13:58 +0200)]
m.components: provide roles for labels.

I got extremely tired of writing this myself *every time*.

6 years agocss: strip trailing comments also for lines with variables.
Vladimír Vondruš [Wed, 13 Jun 2018 21:55:57 +0000 (23:55 +0200)]
css: strip trailing comments also for lines with variables.

I am back at 8.9 kB, yay!

6 years agoMake the latex2svg caching fully optional.
Vladimír Vondruš [Wed, 13 Jun 2018 10:20:07 +0000 (12:20 +0200)]
Make the latex2svg caching fully optional.

6 years agocss: separate page layout styling out from m-components.css.
Vladimír Vondruš [Wed, 13 Jun 2018 10:08:01 +0000 (12:08 +0200)]
css: separate page layout styling out from m-components.css.

For the presentation framework I need the responsiveness,
typography, components but definitely not popup menus or jumbo article
styling. So away it goes, into a new m-layout.css file.

This also means the theme setup is now in a separate m-theme-*.css file
and the m-dark.css / m-light.css is just a "driver file" that imports
everything else. There will be a m-dark-presentation.css /
m-light-presentation.css driver file as well.

6 years agocss: reduce excessive line length.
Vladimír Vondruš [Wed, 13 Jun 2018 09:50:06 +0000 (11:50 +0200)]
css: reduce excessive line length.

6 years agocss: deduplicate parser code in the CSS preprocessor.
Vladimír Vondruš [Wed, 13 Jun 2018 09:17:06 +0000 (11:17 +0200)]
css: deduplicate parser code in the CSS preprocessor.

No change in the output (which was desired).

6 years agoExclude the third-party latex2svg.py from code coverage.
Vladimír Vondruš [Mon, 11 Jun 2018 13:42:31 +0000 (15:42 +0200)]
Exclude the third-party latex2svg.py from code coverage.

6 years agoInclude general symbols for math rendering.
Vladimír Vondruš [Mon, 11 Jun 2018 13:35:07 +0000 (15:35 +0200)]
Include general symbols for math rendering.

I needed that for the \degree symbol.

6 years agoImplement caching of rendered math output.
Vladimír Vondruš [Mon, 11 Jun 2018 13:32:49 +0000 (15:32 +0200)]
Implement caching of rendered math output.

Stores the output of divsvgm in a dict and (de)serializes that in the
filesystem to preserve it across runs. Rough speedup:

 * For the Magnum website, initial generation went down from 14 seconds
   to 9, with subsequent runs just 2.5 seconds.
 * For the Magnum docs, generation time went down from 1:33 to just 14
   seconds.

6 years agom.math: properly reset formula counter on page breaks.
Vladimír Vondruš [Mon, 11 Jun 2018 13:28:57 +0000 (15:28 +0200)]
m.math: properly reset formula counter on page breaks.

Otherwise the output was not deterministic anymore.

6 years agodoxygen: warn if included code snippet is empty.
Vladimír Vondruš [Sat, 9 Jun 2018 15:07:23 +0000 (17:07 +0200)]
doxygen: warn if included code snippet is empty.

Very useful since Doxygen stays silent in this case.

6 years agoplugins: new m.vk plugin.
Vladimír Vondruš [Mon, 4 Jun 2018 07:21:40 +0000 (09:21 +0200)]
plugins: new m.vk plugin.

6 years agoplugins: avoid dependency on __init__.py for simple link plugins.
Vladimír Vondruš [Mon, 4 Jun 2018 07:04:47 +0000 (09:04 +0200)]
plugins: avoid dependency on __init__.py for simple link plugins.

Duplicated the common code over. It's fully covered, so it's okay.

6 years agodoxygen: mention that block-level \m_class has to be separated by a
Vladimír Vondruš [Mon, 4 Jun 2018 06:28:57 +0000 (08:28 +0200)]
doxygen: mention that block-level \m_class has to be separated by a
newline.

I *really tried* to make it work, but it was not worth the pain.

6 years agodoxygen: <image> doesn't have to be always in <para>.
Vladimír Vondruš [Mon, 21 May 2018 20:20:41 +0000 (22:20 +0200)]
doxygen: <image> doesn't have to be always in <para>.

6 years agom.code: don't blow up if inline literal doesn't have language.
Vladimír Vondruš [Sat, 19 May 2018 11:31:02 +0000 (13:31 +0200)]
m.code: don't blow up if inline literal doesn't have language.

6 years agodoxygen: implement <small>.
Vladimír Vondruš [Sat, 19 May 2018 11:24:24 +0000 (13:24 +0200)]
doxygen: implement <small>.

6 years agodoxygen: implement <hruler/>.
Vladimír Vondruš [Sat, 19 May 2018 11:23:21 +0000 (13:23 +0200)]
doxygen: implement <hruler/>.

6 years agodoc: include client search tests in Build Status.
Vladimír Vondruš [Sat, 19 May 2018 09:05:09 +0000 (11:05 +0200)]
doc: include client search tests in Build Status.

6 years agodoxygen: support \section etc. in function documentation.
Vladimír Vondruš [Sat, 19 May 2018 08:54:00 +0000 (10:54 +0200)]
doxygen: support \section etc. in function documentation.

Not rendered into <section> tags as that breaks the style, it's just
basic <hX> tags. Also ensuring that \param, \return etc. are propagated
from there.

6 years agodoxygen: minor cleanup.
Vladimír Vondruš [Sat, 19 May 2018 08:50:09 +0000 (10:50 +0200)]
doxygen: minor cleanup.

6 years agodoxygen: proper <hX> hierarchy for headings in non-top-level description.
Vladimír Vondruš [Sat, 19 May 2018 08:29:16 +0000 (10:29 +0200)]
doxygen: proper <hX> hierarchy for headings in non-top-level description.

Also don't emit the \section warning for these, it does not make sense.

7 years agom.plots: matplotlib otherwise keeps everything in memory.
Vladimír Vondruš [Wed, 16 May 2018 10:31:41 +0000 (12:31 +0200)]
m.plots: matplotlib otherwise keeps everything in memory.

Huh.

7 years agom.plots: work around test failure on Travis.
Vladimír Vondruš [Wed, 16 May 2018 10:12:48 +0000 (12:12 +0200)]
m.plots: work around test failure on Travis.

Only one ID is different, which is still okay to validate a separate
test case.

7 years agom.plots: make the font configurable so we can pass the CI.
Vladimír Vondruš [Wed, 16 May 2018 09:49:40 +0000 (11:49 +0200)]
m.plots: make the font configurable so we can pass the CI.

7 years agom.plots: matplotlib uses X by default?!
Vladimír Vondruš [Wed, 16 May 2018 09:13:25 +0000 (11:13 +0200)]
m.plots: matplotlib uses X by default?!

7 years agopackage/ci: install matplotlib.
Vladimír Vondruš [Wed, 16 May 2018 09:09:48 +0000 (11:09 +0200)]
package/ci: install matplotlib.

7 years agoplugins: new m.plots plugin for rendering inline SVG plots.
Vladimír Vondruš [Tue, 15 May 2018 21:52:58 +0000 (23:52 +0200)]
plugins: new m.plots plugin for rendering inline SVG plots.

7 years agodoc: fix breadcrumb.
Vladimír Vondruš [Wed, 16 May 2018 09:00:56 +0000 (11:00 +0200)]
doc: fix breadcrumb.

7 years agodoxygen: be nicer to KDevelop syntax highlighter.
Vladimír Vondruš [Tue, 15 May 2018 16:54:01 +0000 (18:54 +0200)]
doxygen: be nicer to KDevelop syntax highlighter.

7 years agodoxygen: verify that latex blow up is handled properly.
Vladimír Vondruš [Tue, 15 May 2018 16:53:43 +0000 (18:53 +0200)]
doxygen: verify that latex blow up is handled properly.

7 years agoplugins: properly print error from latex2svg when something fails.
Vladimír Vondruš [Tue, 15 May 2018 16:52:57 +0000 (18:52 +0200)]
plugins: properly print error from latex2svg when something fails.

7 years agodoxygen: don't crash during search building on too long function arguments.
Vladimír Vondruš [Tue, 15 May 2018 15:25:25 +0000 (17:25 +0200)]
doxygen: don't crash during search building on too long function arguments.

In some very pathological cases the function parameter list might exceed
256 characters, which won't fit in the serialized data. But that also
won't fit in the search result list so there's no point in storing so
much. Truncating to 65 characters and adding an ellipsis after.

7 years agodoxygen: make KDevelop higlighting happier.
Vladimír Vondruš [Tue, 15 May 2018 15:28:27 +0000 (17:28 +0200)]
doxygen: make KDevelop higlighting happier.

7 years agodoxygen: fix crash with class inheritance outside of a namespace.
Vladimír Vondruš [Mon, 7 May 2018 20:53:05 +0000 (22:53 +0200)]
doxygen: fix crash with class inheritance outside of a namespace.

Amazing that I didn't come across this until now.

7 years agodoxygen: bundle a matching favicon by default.
Vladimír Vondruš [Sun, 6 May 2018 12:54:34 +0000 (14:54 +0200)]
doxygen: bundle a matching favicon by default.

7 years agoplugins: new plugin m.alias.
Vladimír Vondruš [Sun, 6 May 2018 12:33:47 +0000 (14:33 +0200)]
plugins: new plugin m.alias.

7 years agodoc: highlight the Doxygen search functionality a bit more.
Vladimír Vondruš [Sun, 6 May 2018 11:16:20 +0000 (13:16 +0200)]
doc: highlight the Doxygen search functionality a bit more.

7 years agotheme: render the draft status in article footer.
Vladimír Vondruš [Sun, 6 May 2018 11:07:56 +0000 (13:07 +0200)]
theme: render the draft status in article footer.

7 years agodoc: mention the m.css Doxygen theme in m.dox documentation.
Vladimír Vondruš [Sun, 6 May 2018 11:07:17 +0000 (13:07 +0200)]
doc: mention the m.css Doxygen theme in m.dox documentation.

7 years agom.dox: make it possible to link to arbitrary anchors.
Vladimír Vondruš [Sun, 6 May 2018 10:49:24 +0000 (12:49 +0200)]
m.dox: make it possible to link to arbitrary anchors.

Yes, this would clash with anchors inserted by Doxygen itself, but that
use case doesn't make any sense anyway.

7 years agodoxygen: avoid needless dependency on Pelican and docutils.
Vladimír Vondruš [Sun, 6 May 2018 10:31:57 +0000 (12:31 +0200)]
doxygen: avoid needless dependency on Pelican and docutils.

These were pulled in transitively from m.math and I was not aware of
that. Sorry. Now it's just jinja2 and Pygments needed, as documented.

7 years agodoxygen: properly support CASE_SENSE_NAMES set to NO.
Vladimír Vondruš [Mon, 30 Apr 2018 14:21:54 +0000 (16:21 +0200)]
doxygen: properly support CASE_SENSE_NAMES set to NO.

I was working around the indexpage/index name mismatch by using
<compoundname> for pages, but that doesn't work well when
CASE_SENSE_NAMES is disabled. This fixes it.

7 years agodoxygen: implement table caption parsing.
Vladimír Vondruš [Fri, 27 Apr 2018 15:03:03 +0000 (17:03 +0200)]
doxygen: implement table caption parsing.

7 years agodoxygen: don't crash when encountering sections with _1 in them.
Vladimír Vondruš [Fri, 27 Apr 2018 14:56:31 +0000 (16:56 +0200)]
doxygen: don't crash when encountering sections with _1 in them.

7 years agodoxygen: use state.current_compound.url instead of state.current_url.
Vladimír Vondruš [Fri, 27 Apr 2018 14:40:13 +0000 (16:40 +0200)]
doxygen: use state.current_compound.url instead of state.current_url.

Makes it more flexible for future additions.

7 years agoDoc++
Vladimír Vondruš [Wed, 25 Apr 2018 15:06:47 +0000 (17:06 +0200)]
Doc++

7 years agodoxygen: JAVADOC_AUTOBRIEF is... wow. I need to take a shower.
Vladimír Vondruš [Wed, 25 Apr 2018 11:40:23 +0000 (13:40 +0200)]
doxygen: JAVADOC_AUTOBRIEF is... wow. I need to take a shower.

Or, don't blow up on an unfortunate series of bad events.

1. If a file has a copyright header starting with /// and delimited with
   **** and JAVADOC_AUTOBRIEF is set to ON, Doxygen treats the first ***
   line as a brief documentation, which then made m.css fail because it
   doesn't expect stuff like <para><hruler/></para> inside
   <briefdescriptions>. The <hruler/> is still not implemented yet,
   though.

2. Who would have thought that

       /// A brief docs.
       /// @{
       /// Some detailed docs.

   would be understood as a two-paragraph brief?!

3. And who would have thought that

       /// ============
       /// The Thing
       /// ============

    would create a brief containing some === characters and a <heading>
    inside?! Here I just give up and ignore the whole thing.

7 years agodoxygen: actually, just abort when CREATE_SUBDIRS is enabled.
Vladimír Vondruš [Wed, 25 Apr 2018 11:18:01 +0000 (13:18 +0200)]
doxygen: actually, just abort when CREATE_SUBDIRS is enabled.

7 years agodoxygen: it's CREATE_SUBDIRS, not GENERATE_SUBDIRS. Stupid me.
Vladimír Vondruš [Wed, 25 Apr 2018 11:11:55 +0000 (13:11 +0200)]
doxygen: it's CREATE_SUBDIRS, not GENERATE_SUBDIRS. Stupid me.

7 years agoTreat *.h files as C++.
Vladimír Vondruš [Wed, 25 Apr 2018 09:24:37 +0000 (11:24 +0200)]
Treat *.h files as C++.

7 years agoMake the GitHub language bar prettier.
Vladimír Vondruš [Wed, 25 Apr 2018 09:21:08 +0000 (11:21 +0200)]
Make the GitHub language bar prettier.

7 years agodoxygen: warn if GENERATE_SUBDIRS is enabled.
Vladimír Vondruš [Wed, 25 Apr 2018 06:22:44 +0000 (08:22 +0200)]
doxygen: warn if GENERATE_SUBDIRS is enabled.

7 years agodoc: minimal Troubleshooting section for the Pelican theme.
Vladimír Vondruš [Wed, 25 Apr 2018 06:22:08 +0000 (08:22 +0200)]
doc: minimal Troubleshooting section for the Pelican theme.

7 years agodoc: a new Troubleshooting section for the Doxygen theme.
Vladimír Vondruš [Wed, 25 Apr 2018 06:21:30 +0000 (08:21 +0200)]
doc: a new Troubleshooting section for the Doxygen theme.

So I don't have to repeat myself :)

7 years agodoc: more prominent link to the Doxygen theme "demo".
Vladimír Vondruš [Wed, 25 Apr 2018 06:21:05 +0000 (08:21 +0200)]
doc: more prominent link to the Doxygen theme "demo".

7 years agodoxygen: fix <h2></h3>.
Vladimír Vondruš [Thu, 12 Apr 2018 20:14:26 +0000 (22:14 +0200)]
doxygen: fix <h2></h3>.

Amazing when such a glaring issue gets unnoticed in hundreds of test
files.

7 years agodoxygen: minor cleanup.
Vladimír Vondruš [Thu, 12 Apr 2018 16:15:19 +0000 (18:15 +0200)]
doxygen: minor cleanup.

7 years agodoxygen: implement support for the \exception keyword.
Vladimír Vondruš [Thu, 12 Apr 2018 16:14:53 +0000 (18:14 +0200)]
doxygen: implement support for the \exception keyword.

7 years agodoxygen: verify that \param etc. is extracted out of a list as well.
Vladimír Vondruš [Thu, 12 Apr 2018 14:35:21 +0000 (16:35 +0200)]
doxygen: verify that \param etc. is extracted out of a list as well.

Previously this was asserting because I didn't expect Doxygen to be so
shitty and put these *inside* of some random list without ending that
list first. This also uncovers a lot of other nasty Doxygen bugs, so I'm
just creating a very restricted repro case that doesn't trigger them.

I lost all hope with Doxygen. Kill it with fire and start over.

7 years agodoxygen: safety assert so we don't miss \retval that's in weird places.
Vladimír Vondruš [Thu, 12 Apr 2018 14:44:01 +0000 (16:44 +0200)]
doxygen: safety assert so we don't miss \retval that's in weird places.

Missed that when implementing \retval support in
5e6d0bcaae00412c3acbd371f11ef6276af6d0b9.

7 years agodoxygen, m.math: update math rendering tests.
Vladimír Vondruš [Thu, 12 Apr 2018 14:12:28 +0000 (16:12 +0200)]
doxygen, m.math: update math rendering tests.

For some reason the paths are in a different order now.

7 years agodoxygen: prevent particular Doxyfile values from becoming empty.
Vladimír Vondruš [Mon, 9 Apr 2018 10:55:45 +0000 (12:55 +0200)]
doxygen: prevent particular Doxyfile values from becoming empty.

In particular the HTML_EXTRA_STYLESHEET, which is set to empty by the

    doxygen -g

generated Doxyfile.

7 years agodoxygen: be more failproof for depth attribute returned from dvisvgm.
Vladimír Vondruš [Mon, 9 Apr 2018 10:05:38 +0000 (12:05 +0200)]
doxygen: be more failproof for depth attribute returned from dvisvgm.

Sometimes the regex doesn't match and returns None, even though I tried
reaallyy hard to make it match. This fixes it for good.

7 years agodoxygen: make it possible to highlight Jinja templates.
Vladimír Vondruš [Mon, 9 Apr 2018 10:04:37 +0000 (12:04 +0200)]
doxygen: make it possible to highlight Jinja templates.

There's no well-known extension for these and Doxygen \code{.ext}
*requires* an extension inside {} otherwise it blows up.

7 years agodoxygen: don't crash when encountering xrefs in the form of @_1@.
Vladimír Vondruš [Mon, 9 Apr 2018 10:00:19 +0000 (12:00 +0200)]
doxygen: don't crash when encountering xrefs in the form of @_1@.

Triggered by Android NDK docs.

7 years agoBuild status avoid jumpy relayout when loading.
Vladimír Vondruš [Thu, 8 Mar 2018 10:29:16 +0000 (11:29 +0100)]
Build status avoid jumpy relayout when loading.

7 years agoBuild status: no point in showing long stuff like 117 minutes.
Vladimír Vondruš [Thu, 8 Mar 2018 10:28:28 +0000 (11:28 +0100)]
Build status: no point in showing long stuff like 117 minutes.

7 years agodoxygen: don't mark things containing \bug as deprecated.
Vladimír Vondruš [Sun, 11 Feb 2018 23:05:04 +0000 (00:05 +0100)]
doxygen: don't mark things containing \bug as deprecated.

Ugh am I stupid?!

7 years agodoxygen: the search might lead to the same page, so restore the scrollbar.
Vladimír Vondruš [Sun, 11 Feb 2018 21:43:36 +0000 (22:43 +0100)]
doxygen: the search might lead to the same page, so restore the scrollbar.

7 years agodoxygen: eat T / Tab only if no modifier keys are pressed.
Vladimír Vondruš [Sun, 11 Feb 2018 21:42:41 +0000 (22:42 +0100)]
doxygen: eat T / Tab only if no modifier keys are pressed.

Otherwise Ctrl-T and Shift-Tab for opening a new / going to another tab
don't work as they should.

7 years agodoxygen: improve the search help text.
Vladimír Vondruš [Sun, 11 Feb 2018 19:58:47 +0000 (20:58 +0100)]
doxygen: improve the search help text.

7 years agodoxygen: count also all aliases to the search symbol count.
Vladimír Vondruš [Sun, 11 Feb 2018 17:46:33 +0000 (18:46 +0100)]
doxygen: count also all aliases to the search symbol count.

7 years agodoxygen: minor cleanup.
Vladimír Vondruš [Sun, 11 Feb 2018 17:40:20 +0000 (18:40 +0100)]
doxygen: minor cleanup.

7 years agodoc: \section commands elsewhere than top-level docs are not supported.
Vladimír Vondruš [Sun, 11 Feb 2018 17:39:22 +0000 (18:39 +0100)]
doc: \section commands elsewhere than top-level docs are not supported.

The visual layout is not ready for such thing at all.

7 years agodoxygen: propagate keywords from inside sections as well.
Vladimír Vondruš [Sun, 11 Feb 2018 17:38:45 +0000 (18:38 +0100)]
doxygen: propagate keywords from inside sections as well.

7 years agodoxygen: minor cleanup.
Vladimír Vondruš [Sun, 11 Feb 2018 17:26:48 +0000 (18:26 +0100)]
doxygen: minor cleanup.

7 years agodoxygen: go back in history when closing search.
Vladimír Vondruš [Sun, 11 Feb 2018 17:09:29 +0000 (18:09 +0100)]
doxygen: go back in history when closing search.

Instead of polluting it even more. Makes back button and context
preservation behave much better now.

7 years agodoxygen: render the aliases in search better.
Vladimír Vondruš [Sun, 11 Feb 2018 17:03:09 +0000 (18:03 +0100)]
doxygen: render the aliases in search better.

In particular it's more important what's the alias than what's the name
it points to.

7 years agodoxygen: properly bubble up also enum-values-as-keywords from sections.
Vladimír Vondruš [Sun, 11 Feb 2018 10:42:10 +0000 (11:42 +0100)]
doxygen: properly bubble up also enum-values-as-keywords from sections.

7 years agodoxygen: properly bubble search keywords from sections upwards.
Vladimír Vondruš [Sat, 10 Feb 2018 23:26:38 +0000 (00:26 +0100)]
doxygen: properly bubble search keywords from sections upwards.

7 years agodoxygen: test that search keywords inside sections are bubbled up.
Vladimír Vondruš [Sat, 10 Feb 2018 23:23:28 +0000 (00:23 +0100)]
doxygen: test that search keywords inside sections are bubbled up.

They aren't.

7 years agodoxygen: test another case of result URL merging.
Vladimír Vondruš [Sat, 10 Feb 2018 22:23:20 +0000 (23:23 +0100)]
doxygen: test another case of result URL merging.

This time min() on line 279.

7 years agodoxygen: this is not needed, it was tested elsewhere.
Vladimír Vondruš [Sat, 10 Feb 2018 16:32:10 +0000 (17:32 +0100)]
doxygen: this is not needed, it was tested elsewhere.

7 years agodoxygen: fix heavily nested result URL combining.
Vladimír Vondruš [Sat, 10 Feb 2018 16:31:36 +0000 (17:31 +0100)]
doxygen: fix heavily nested result URL combining.

The test passes again.

7 years agodoxygen: test that nested namespaces have the URL properly combined.
Vladimír Vondruš [Sat, 10 Feb 2018 16:29:06 +0000 (17:29 +0100)]
doxygen: test that nested namespaces have the URL properly combined.

They don't.

7 years agodoxygen: document why a test is skipped.
Vladimír Vondruš [Sat, 10 Feb 2018 16:22:39 +0000 (17:22 +0100)]
doxygen: document why a test is skipped.

7 years agodoxygen: support rendering namespace members in file scope.
Vladimír Vondruš [Sat, 10 Feb 2018 16:11:46 +0000 (17:11 +0100)]
doxygen: support rendering namespace members in file scope.

7 years agodoxygen: properly qualify base/derived classes in other namespaces.
Vladimír Vondruš [Sat, 10 Feb 2018 15:58:46 +0000 (16:58 +0100)]
doxygen: properly qualify base/derived classes in other namespaces.

Previously the prefix was unconditionally omitted, which is confusing in
case a class from one namespace derives from a classs in another
namespace.

7 years agodoxygen: be more strict when parsing symbol IDs.
Vladimír Vondruš [Sat, 10 Feb 2018 12:51:58 +0000 (13:51 +0100)]
doxygen: be more strict when parsing symbol IDs.

In particular, expect that symbol ID base URL is the same as base URL of
the enclosing compound. If that's not the case, there's something wrong
and docs for it should be generated elsewhere.

7 years agodoxygen: be compatible with stock HTML output for undocumented symbols.
Vladimír Vondruš [Sat, 10 Feb 2018 15:06:42 +0000 (16:06 +0100)]
doxygen: be compatible with stock HTML output for undocumented symbols.

In particular, if given compound has neither brief nor detailed docs,
produce output for it only if it's a page or a group (because those need
to be explicitly created). Before only file/dir docs behaved like this,
not namespaces or classes.

7 years agodoxygen: don't populate search data when search is disabled.
Vladimír Vondruš [Sat, 10 Feb 2018 15:00:17 +0000 (16:00 +0100)]
doxygen: don't populate search data when search is disabled.

7 years agodoxygen: explicitly encode all output files as UTF-8.
Vladimír Vondruš [Sat, 10 Feb 2018 11:04:39 +0000 (12:04 +0100)]
doxygen: explicitly encode all output files as UTF-8.

7 years agoFix encoding error on Windows
Arvid Gerstmann [Sat, 10 Feb 2018 08:06:45 +0000 (09:06 +0100)]
Fix encoding error on Windows

7 years agodoxygen: implement remaining kinds of section commands.
Vladimír Vondruš [Fri, 9 Feb 2018 21:43:17 +0000 (22:43 +0100)]
doxygen: implement remaining kinds of section commands.

In particular:

 - \author, \authors, \copyright
 - \version, \since
 - \date
 - \pre, \post, \invariant
 - \par and RCS entries (`$Id: something $`)

The \par is now also able to append to previous sections of any kind if
its title is omitted.

7 years agodoxygen: hide unreachable code from coverage, remove old debug output.
Vladimír Vondruš [Fri, 9 Feb 2018 20:49:38 +0000 (21:49 +0100)]
doxygen: hide unreachable code from coverage, remove old debug output.