chiark / gitweb /
Vladimír Vondruš [Mon, 11 Dec 2017 10:22:15 +0000 (11:22 +0100)]
doxygen: fix M_EXPAND_INNER_TYPES option.
Vladimír Vondruš [Mon, 11 Dec 2017 10:15:08 +0000 (11:15 +0100)]
doxygen: make it possible to not display Doxygen version in output.
Makes testing on Other People Machines actually possible.
Vladimír Vondruš [Mon, 11 Dec 2017 10:13:37 +0000 (11:13 +0100)]
doxygen: use native Doxyfile booleans instead of 0/1.
Vladimír Vondruš [Mon, 11 Dec 2017 02:24:22 +0000 (03:24 +0100)]
m.images: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:23:59 +0000 (03:23 +0100)]
m.math: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:02:57 +0000 (03:02 +0100)]
m.gl: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:02:40 +0000 (03:02 +0100)]
m.gh: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:02:25 +0000 (03:02 +0100)]
m.dox: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 01:39:52 +0000 (02:39 +0100)]
m.filesize: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 01:22:53 +0000 (02:22 +0100)]
m.code: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 01:22:33 +0000 (02:22 +0100)]
m.components: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 00:47:02 +0000 (01:47 +0100)]
m.abbr: fix case of empty title, test it.
Vladimír Vondruš [Mon, 11 Dec 2017 00:32:41 +0000 (01:32 +0100)]
m.htmlsanity: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 00:35:26 +0000 (01:35 +0100)]
m.htmlsanity: remove more docutils cruft from the markup.
Vladimír Vondruš [Sun, 10 Dec 2017 23:42:15 +0000 (00:42 +0100)]
m.htmlsanity: properly use raw string literals.
Vladimír Vondruš [Mon, 11 Dec 2017 01:50:34 +0000 (02:50 +0100)]
Move the latex2svg code out of "m" plugins, as it is not a plugin.
Vladimír Vondruš [Mon, 11 Dec 2017 01:13:19 +0000 (02:13 +0100)]
Move the ansilexer code out of the "m" plugins, as it's not a plugin.
Vladimír Vondruš [Mon, 11 Dec 2017 00:11:08 +0000 (01:11 +0100)]
Update testing docs, move all developer docs to CONTRIBUTING.rst.
So the first-time passerbys are not confused by it.
Vladimír Vondruš [Mon, 11 Dec 2017 00:33:15 +0000 (01:33 +0100)]
theme: dehyphenate summary and description in <meta> tags.
3rd party websites and other tools might not expect that and it can
cause weird look in some cases.
Vladimír Vondruš [Sun, 10 Dec 2017 23:39:11 +0000 (00:39 +0100)]
theme: properly HTML-escape all content and test the results.
Vladimír Vondruš [Sun, 10 Dec 2017 14:44:14 +0000 (15:44 +0100)]
theme: test page rendering.
Vladimír Vondruš [Sat, 9 Dec 2017 23:01:23 +0000 (00:01 +0100)]
theme: test blog rendering.
Vladimír Vondruš [Sat, 9 Dec 2017 20:58:56 +0000 (21:58 +0100)]
theme: tests for the global layout.
Otherwise the things go over my head to an unmaintainable mess pretty
fast.
Vladimír Vondruš [Sun, 10 Dec 2017 23:41:45 +0000 (00:41 +0100)]
theme: explicit hyphenation of hardcoded content.
Vladimír Vondruš [Sun, 10 Dec 2017 23:36:50 +0000 (00:36 +0100)]
theme: superfluous whitespace.
Vladimír Vondruš [Sun, 10 Dec 2017 14:41:18 +0000 (15:41 +0100)]
theme: page header is not supported on landing pages.
Vladimír Vondruš [Sun, 10 Dec 2017 14:40:56 +0000 (15:40 +0100)]
theme: group all the <link> elements together in <head>.
My OCD is happy.
Vladimír Vondruš [Sun, 10 Dec 2017 14:40:20 +0000 (15:40 +0100)]
theme: more compact page markup.
Vladimír Vondruš [Sun, 10 Dec 2017 14:37:50 +0000 (15:37 +0100)]
theme: rename :navbar_brand_hidden: option to :hide_navbar_brand:.
Sorry about the breakage (again). For consistency with naming of all
other "do something" options (:collapse_first:, :hide_summary: etc.).
Vladimír Vondruš [Sun, 10 Dec 2017 12:43:08 +0000 (13:43 +0100)]
theme: make the index and archives page completely equivalent.
Pagination can be enabled/disabled for either of them.
Vladimír Vondruš [Sun, 10 Dec 2017 12:40:36 +0000 (13:40 +0100)]
theme: fix layout for sites that don't use tags at all.
Vladimír Vondruš [Sat, 9 Dec 2017 23:03:46 +0000 (00:03 +0100)]
theme: add a clearfix for consistency.
The article header will include per-category avatar soon and this
clearfix is needed for that.
Vladimír Vondruš [Sat, 9 Dec 2017 23:03:23 +0000 (00:03 +0100)]
theme: superfluous whitespace if no article author exists.
Vladimír Vondruš [Sat, 9 Dec 2017 23:02:48 +0000 (00:02 +0100)]
theme: simpler markup in minimal cases of articles.
Vladimír Vondruš [Sat, 9 Dec 2017 22:14:31 +0000 (23:14 +0100)]
theme: trim output coming from Pelican to avoid ugly empty lines.
Vladimír Vondruš [Sat, 9 Dec 2017 22:07:24 +0000 (23:07 +0100)]
theme: better empty behavior in the blog.
Vladimír Vondruš [Sat, 9 Dec 2017 22:06:32 +0000 (23:06 +0100)]
theme: some welcome message for the First Run.
Vladimír Vondruš [Sat, 9 Dec 2017 22:06:05 +0000 (23:06 +0100)]
theme: make the archives page work without pagination set up.
Vladimír Vondruš [Sat, 9 Dec 2017 22:04:48 +0000 (23:04 +0100)]
theme: more compact markup for jumbo articles.
Vladimír Vondruš [Sat, 9 Dec 2017 21:45:56 +0000 (22:45 +0100)]
theme: if there are no navbar links, don't even show the hamburger.
Vladimír Vondruš [Sat, 9 Dec 2017 21:45:19 +0000 (22:45 +0100)]
theme: make single-column navbar full width.
So the items can have long names.
Vladimír Vondruš [Sat, 9 Dec 2017 21:43:01 +0000 (22:43 +0100)]
theme: sane default fine print, ability to hide (parts of) the footer.
Vladimír Vondruš [Sat, 9 Dec 2017 21:40:05 +0000 (22:40 +0100)]
theme: nice defaults if M_BLOG_{NAME,URL} / M_SITE_LOGO_TEXT not defined.
Vladimír Vondruš [Mon, 11 Dec 2017 00:34:49 +0000 (01:34 +0100)]
doc: hint proper use of the `e` Jinja2 filter.
Vladimír Vondruš [Sun, 10 Dec 2017 23:41:14 +0000 (00:41 +0100)]
doc: mention how to make inverted jumbo article cover.
Vladimír Vondruš [Sun, 10 Dec 2017 23:40:54 +0000 (00:40 +0100)]
doc: mention that the :description: field should be formatted.
Vladimír Vondruš [Sun, 10 Dec 2017 12:53:49 +0000 (13:53 +0100)]
doc: clarify pagination etc. behavior in default Pelican setup.
Vladimír Vondruš [Thu, 7 Dec 2017 17:27:23 +0000 (18:27 +0100)]
doc++
Vladimír Vondruš [Sat, 9 Dec 2017 22:17:12 +0000 (23:17 +0100)]
doxygen: symlink files instead of making copies.
Vladimír Vondruš [Sat, 9 Dec 2017 21:44:06 +0000 (22:44 +0100)]
doxygen: expected is *second* in the assertSomething() functions.
Vladimír Vondruš [Thu, 7 Dec 2017 17:21:08 +0000 (18:21 +0100)]
site: fix double-escaped URL.
Vladimír Vondruš [Thu, 7 Dec 2017 10:34:03 +0000 (11:34 +0100)]
doc: document the additional pain inflicted on macOS LaTeX users.
Bridouz [Thu, 7 Dec 2017 10:25:20 +0000 (11:25 +0100)]
doc: fix pelicanconf.py parameters.
This is probably the first thing anyone will do and so there isn't any
pre-existing PLUGIN_PATHS or PLUGINS variable that could be added to.
Vladimír Vondruš [Thu, 7 Dec 2017 10:21:58 +0000 (11:21 +0100)]
theme: make the top navbar markup a bit more compact.
Vladimír Vondruš [Thu, 7 Dec 2017 10:21:14 +0000 (11:21 +0100)]
doxygen: no need for the .h.nostrip language.
Doxygen actually has a STRIP_CODE_COMMENTS option, which does exactly
what's needed.
Vladimír Vondruš [Thu, 7 Dec 2017 10:20:57 +0000 (11:20 +0100)]
doc: use the compiled CSS file in Doxygen test page.
Vladimír Vondruš [Thu, 7 Dec 2017 01:31:18 +0000 (02:31 +0100)]
css: I *am* stupid.
Vladimír Vondruš [Thu, 7 Dec 2017 01:14:09 +0000 (02:14 +0100)]
doxygen: doc++
Vladimír Vondruš [Thu, 7 Dec 2017 01:03:06 +0000 (02:03 +0100)]
doxygen: rework image support.
* The text after is not an alt text, but rather a figure caption. So
render a figure in that case.
* That means it's also not an error if the caption is not present. So
don't warn about it.
* Doxygen, if it wouldn't be so broken, would copy the images to the
XML output directory as well. So there's no need to juggle with
IMAGE_PATH. I love the smell of burning code.
Vladimír Vondruš [Thu, 7 Dec 2017 01:01:51 +0000 (02:01 +0100)]
doxygen: be consistent with spacing in non-paired HTML tags.
There is a space before the slash everywhere else, so have it here also.
Vladimír Vondruš [Wed, 6 Dec 2017 23:46:30 +0000 (00:46 +0100)]
doxygen: avoid useless warning.
Vladimír Vondruš [Wed, 6 Dec 2017 23:24:39 +0000 (00:24 +0100)]
doxygen: parsing <linebreak> tags.
Vladimír Vondruš [Wed, 6 Dec 2017 22:50:37 +0000 (23:50 +0100)]
doxygen: prevent add_wbr() from breaking HTML tags.
Vladimír Vondruš [Wed, 6 Dec 2017 22:47:51 +0000 (23:47 +0100)]
doxygen: add a test for add_wbr().
Doesn't do the right thing at all times. That's why I'm adding it, ha.
Vladimír Vondruš [Wed, 6 Dec 2017 22:47:29 +0000 (23:47 +0100)]
doxygen: make the <p> stripper work with empty content.
Vladimír Vondruš [Wed, 6 Dec 2017 22:46:59 +0000 (23:46 +0100)]
doxygen: verify that empty table cells work.
Nope. It asserts.
Vladimír Vondruš [Wed, 6 Dec 2017 21:48:37 +0000 (22:48 +0100)]
doxygen: table parsing.
Vladimír Vondruš [Wed, 6 Dec 2017 21:47:10 +0000 (22:47 +0100)]
doxygen: assert more instead of ignoring things.
Vladimír Vondruš [Wed, 6 Dec 2017 21:46:51 +0000 (22:46 +0100)]
doxygen: reduce recursion a bit.
Vladimír Vondruš [Wed, 6 Dec 2017 20:56:01 +0000 (21:56 +0100)]
doxygen: don't overwrite stuff from included Doxyfiles.
Vladimír Vondruš [Wed, 6 Dec 2017 20:35:46 +0000 (21:35 +0100)]
doxygen: support one more level of Markdown headings.
Vladimír Vondruš [Wed, 6 Dec 2017 20:22:43 +0000 (21:22 +0100)]
doxygen: test and document behavior with code blocks inside lists.
It was asserting when wrongly-delimited code block was inside a list.
Vladimír Vondruš [Wed, 6 Dec 2017 19:17:01 +0000 (20:17 +0100)]
doxygen: rework of the <para> patching number 67.
Argh!
* No longer having <p> around markdown headings (what!), <ul>, <ol>
and <image> elements.
* If ba list item, parameter description or return value description
has multiple paragraphs, they are preserved. Brief description is
still strictly single paragraph.
* A special casing of simple nested lists, where item containing a
sublist shouldn't be wrapped in a <p>.
* Documented list behavior, explained how to make inflated lists even
out of single-paragraph items.
Vladimír Vondruš [Wed, 6 Dec 2017 13:10:28 +0000 (14:10 +0100)]
doxygen: improve heuristics for inline code.
Now it should be finally robust. The test passes again.
Vladimír Vondruš [Wed, 6 Dec 2017 13:02:57 +0000 (14:02 +0100)]
doxygen: test case for problematic \snippet call.
Somehow Doxygen is not wrapping \snippet in a paragraph, which causes
the inline code detection to fail.
Vladimír Vondruš [Wed, 6 Dec 2017 12:57:57 +0000 (13:57 +0100)]
doxygen: strip whitespace at the beginning of new inserted paragraph.
Vladimír Vondruš [Wed, 6 Dec 2017 12:56:01 +0000 (13:56 +0100)]
doxygen: fix another nested paragraph corner case.
Vladimír Vondruš [Wed, 6 Dec 2017 12:47:08 +0000 (13:47 +0100)]
doxygen: test data for yet another nested paragraph corner case.
With expected output that currently fails.
Vladimír Vondruš [Mon, 4 Dec 2017 11:14:09 +0000 (12:14 +0100)]
css: batch file to postprocess all CSS files.
Vladimír Vondruš [Sat, 18 Nov 2017 17:42:00 +0000 (18:42 +0100)]
Initial implementation of the Doxygen theme generator.
Vladimír Vondruš [Wed, 6 Dec 2017 19:01:43 +0000 (20:01 +0100)]
css: make it possible and nice-looking to use <p> inside <li> and <td>.
Paragraphs inside list items and table cells are neither justified nor
indented, because it's often undesirable in such constrained spaces.
Also, in case of <li>, the padding after block elements is not removed
in order to have the spacing consistent.
Vladimír Vondruš [Wed, 6 Dec 2017 12:02:31 +0000 (13:02 +0100)]
css: wtf.
Vladimír Vondruš [Wed, 6 Dec 2017 11:41:01 +0000 (12:41 +0100)]
theme: more flexibility for the footer navigation.
Vladimír Vondruš [Wed, 6 Dec 2017 11:36:58 +0000 (12:36 +0100)]
theme: ability to control article expansion and summary appearance.
Vladimír Vondruš [Wed, 6 Dec 2017 11:30:52 +0000 (12:30 +0100)]
doc: improve the article examples a bit.
Vladimír Vondruš [Wed, 6 Dec 2017 09:19:48 +0000 (10:19 +0100)]
theme: expect Python-like boolean value for navbar_brand_hidden field.
Vladimír Vondruš [Wed, 6 Dec 2017 09:07:17 +0000 (10:07 +0100)]
css: ability to configure paragraph appearance from the theme.
Someone might hate the justification or indent, make their lives easier.
Vladimír Vondruš [Mon, 4 Dec 2017 11:05:37 +0000 (12:05 +0100)]
doc: this is needless, it's not testing anything that's not elsewhere.
Vladimír Vondruš [Mon, 4 Dec 2017 11:04:47 +0000 (12:04 +0100)]
css: support <h4>, <h5> and <h6> inside .m-block, .m-note, .m-frame.
Vladimír Vondruš [Sun, 3 Dec 2017 13:39:29 +0000 (14:39 +0100)]
doc: clean up the CSS style docs and make them consistent.
Vladimír Vondruš [Sun, 3 Dec 2017 13:32:49 +0000 (14:32 +0100)]
css: updated postprocessed files.
Vladimír Vondruš [Sun, 3 Dec 2017 13:32:08 +0000 (14:32 +0100)]
css: ability to skip imports and redirect output of postprocess.py.
Vladimír Vondruš [Sun, 3 Dec 2017 13:31:32 +0000 (14:31 +0100)]
css: save the whole command-line in postprocess.py.
Vladimír Vondruš [Sun, 3 Dec 2017 13:31:00 +0000 (14:31 +0100)]
css: strip trailing comments in postprocess.py.
Could get me back under 9 kB.
Vladimír Vondruš [Sun, 3 Dec 2017 11:40:06 +0000 (12:40 +0100)]
theme: ability to add a spacer into the bottom navigation.
Vladimír Vondruš [Mon, 4 Dec 2017 18:17:04 +0000 (19:17 +0100)]
doc: make it clear that Python 3 is required by the theme and plugins.
Paolo Miotto [Sun, 3 Dec 2017 16:10:58 +0000 (17:10 +0100)]
theme: let every page have its language
Vladimír Vondruš [Fri, 1 Dec 2017 10:33:07 +0000 (11:33 +0100)]
m.images: don't freak out if there's no EXIF.
Instead it just doesn't display anything as a caption.
Vladimír Vondruš [Fri, 1 Dec 2017 10:23:57 +0000 (11:23 +0100)]
m.images: simplify code.
Vladimír Vondruš [Fri, 1 Dec 2017 10:22:48 +0000 (11:22 +0100)]
css: avoid ugly vertical scrollbar for math in latest Chrome.
Not sure what's wrong there.