chiark / gitweb /
blog.git
7 years agodoxygen: link text can contain nested elements.
Vladimír Vondruš [Thu, 14 Dec 2017 21:40:50 +0000 (22:40 +0100)]
doxygen: link text can contain nested elements.

7 years agodoxygen: parse more entities.
Vladimír Vondruš [Thu, 14 Dec 2017 21:40:28 +0000 (22:40 +0100)]
doxygen: parse more entities.

7 years agodoxygen: avoid stripping whitespace around inline elements.
Vladimír Vondruš [Thu, 14 Dec 2017 21:39:23 +0000 (22:39 +0100)]
doxygen: avoid stripping whitespace around inline elements.

7 years agodoxygen: test that nested inline elements are parsed properly.
Vladimír Vondruš [Thu, 14 Dec 2017 21:32:43 +0000 (22:32 +0100)]
doxygen: test that nested inline elements are parsed properly.

Not really, the whitespace is stripped where it should be preserved.

7 years agodoxygen: ability to add custom CSS classes to the output.
Vladimír Vondruš [Thu, 14 Dec 2017 19:48:03 +0000 (20:48 +0100)]
doxygen: ability to add custom CSS classes to the output.

7 years agodoc++
Vladimír Vondruš [Thu, 14 Dec 2017 19:44:49 +0000 (20:44 +0100)]
doc++

7 years agodoxygen: minor code reorganization.
Vladimír Vondruš [Thu, 14 Dec 2017 17:48:08 +0000 (18:48 +0100)]
doxygen: minor code reorganization.

7 years agodoxygen: properly handle inline elements at start of inserted paragraphs.
Vladimír Vondruš [Wed, 13 Dec 2017 20:52:44 +0000 (21:52 +0100)]
doxygen: properly handle inline elements at start of inserted paragraphs.

Okay, this should be the last broken thing.

7 years agodoxygen: support the \warning command.
Vladimír Vondruš [Wed, 13 Dec 2017 20:52:02 +0000 (21:52 +0100)]
doxygen: support the \warning command.

7 years agodoxygen: verify that more cases of blocks and code touching work.
Vladimír Vondruš [Wed, 13 Dec 2017 20:30:02 +0000 (21:30 +0100)]
doxygen: verify that more cases of blocks and code touching work.

7 years agodoxygen: code after a note and ending a paragraph is a block one.
Vladimír Vondruš [Wed, 13 Dec 2017 20:22:08 +0000 (21:22 +0100)]
doxygen: code after a note and ending a paragraph is a block one.

Doxygen is stupid and doesn't delimit end of a note from the following
code block with a new paragraph. Ugh. Everything is broken here in its
own special way.

7 years agodoxygen: implemented section merging.
Vladimír Vondruš [Wed, 13 Dec 2017 19:46:18 +0000 (20:46 +0100)]
doxygen: implemented section merging.

So multiple adjacent \attention, \note etc. paragraph of the same kind
are now merged into one, to be consistent with HTML output. Works also
with code blocks.

7 years agodoxygen: rework paragraph patching yet again to avoid duplicate code.
Vladimír Vondruš [Wed, 13 Dec 2017 18:10:52 +0000 (19:10 +0100)]
doxygen: rework paragraph patching yet again to avoid duplicate code.

The test results are almost the same, there's just one less newline
between adjacent block elements extracted out of paragraphs, which is
completely fine.

7 years agopackage/ci: Yes. I made a mistake right when merging to master. Of course.
Vladimír Vondruš [Tue, 12 Dec 2017 00:23:41 +0000 (01:23 +0100)]
package/ci: Yes. I made a mistake right when merging to  Of course.

7 years agopackage/ci: initial Travis config.
Vladimír Vondruš [Mon, 11 Dec 2017 01:21:40 +0000 (02:21 +0100)]
package/ci: initial Travis config.

7 years agoTest math rendering only if LaTeX is installed.
Vladimír Vondruš [Mon, 11 Dec 2017 23:15:23 +0000 (00:15 +0100)]
Test math rendering only if LaTeX is installed.

Had to do this because it's impossible to set this up on 14.04 on Travis
CI :/

7 years agodoc: update utility invocation after files were shuffled around.
Vladimír Vondruš [Mon, 11 Dec 2017 23:14:52 +0000 (00:14 +0100)]
doc: update utility invocation after files were shuffled around.

Also fix shell escaping.

7 years agom.images: display long exposure as 1.5 s instead of 3/2 s.
Vladimír Vondruš [Mon, 11 Dec 2017 15:51:54 +0000 (16:51 +0100)]
m.images: display long exposure as 1.5 s instead of 3/2 s.

7 years agom.images: gracefully handle sparse EXIF info in image grid.
Vladimír Vondruš [Mon, 11 Dec 2017 15:09:46 +0000 (16:09 +0100)]
m.images: gracefully handle sparse EXIF info in image grid.

And document EXIF modification for future self.

7 years agodoxygen: don't render the project name twice in main page title.
Vladimír Vondruš [Mon, 11 Dec 2017 14:50:24 +0000 (15:50 +0100)]
doxygen: don't render the project name twice in main page title.

7 years agoPut license header blob into all test scripts as well.
Vladimír Vondruš [Mon, 11 Dec 2017 14:43:11 +0000 (15:43 +0100)]
Put license header blob into all test scripts as well.

7 years agodoc: mention minimal Python versions for theme and plugins.
Vladimír Vondruš [Mon, 11 Dec 2017 14:36:06 +0000 (15:36 +0100)]
doc: mention minimal Python versions for theme and plugins.

7 years agom.math: test only on Python 3.5+.
Vladimír Vondruš [Mon, 11 Dec 2017 14:24:52 +0000 (15:24 +0100)]
m.math: test only on Python 3.5+.

7 years agotheme: mention the unmerged PR in a skipped test.
Vladimír Vondruš [Mon, 11 Dec 2017 13:46:59 +0000 (14:46 +0100)]
theme: mention the unmerged PR in a skipped test.

7 years agodoxygen: use single quotes for non-prose text.
Vladimír Vondruš [Mon, 11 Dec 2017 13:46:35 +0000 (14:46 +0100)]
doxygen: use single quotes for non-prose text.

7 years agodoxygen: split out tests that depend on unreleased Doxygen features.
Vladimír Vondruš [Mon, 11 Dec 2017 13:46:12 +0000 (14:46 +0100)]
doxygen: split out tests that depend on unreleased Doxygen features.

7 years agotheme: don't include the keywords meta tag if there are no tags.
Vladimír Vondruš [Mon, 11 Dec 2017 11:46:16 +0000 (12:46 +0100)]
theme: don't include the keywords meta tag if there are no tags.

7 years agotheme, plugins: make the tests working under Python 3.4.
Vladimír Vondruš [Mon, 11 Dec 2017 11:42:12 +0000 (12:42 +0100)]
theme, plugins: make the tests working under Python 3.4.

7 years agotheme: of course it's wrong.
Vladimír Vondruš [Mon, 11 Dec 2017 11:41:54 +0000 (12:41 +0100)]
theme: of course it's wrong.

7 years agom.htmlsanity: improve the test.
Vladimír Vondruš [Mon, 11 Dec 2017 11:41:19 +0000 (12:41 +0100)]
m.htmlsanity: improve the test.

In particular, hyphenation is used inside the theme itself, verify that
things are not wrongly escaped for example.

7 years agodoxygen: fix M_EXPAND_INNER_TYPES option.
Vladimír Vondruš [Mon, 11 Dec 2017 10:22:15 +0000 (11:22 +0100)]
doxygen: fix M_EXPAND_INNER_TYPES option.

7 years agodoxygen: make it possible to not display Doxygen version in output.
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.

7 years agodoxygen: use native Doxyfile booleans instead of 0/1.
Vladimír Vondruš [Mon, 11 Dec 2017 10:13:37 +0000 (11:13 +0100)]
doxygen: use native Doxyfile booleans instead of 0/1.

7 years agom.images: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:24:22 +0000 (03:24 +0100)]
m.images: initial test.

7 years agom.math: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:23:59 +0000 (03:23 +0100)]
m.math: initial test.

7 years agom.gl: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:02:57 +0000 (03:02 +0100)]
m.gl: initial test.

7 years agom.gh: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:02:40 +0000 (03:02 +0100)]
m.gh: initial test.

7 years agom.dox: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 02:02:25 +0000 (03:02 +0100)]
m.dox: initial test.

7 years agom.filesize: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 01:39:52 +0000 (02:39 +0100)]
m.filesize: initial test.

7 years agom.code: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 01:22:53 +0000 (02:22 +0100)]
m.code: initial test.

7 years agom.components: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 01:22:33 +0000 (02:22 +0100)]
m.components: initial test.

7 years agom.abbr: fix case of empty title, test it.
Vladimír Vondruš [Mon, 11 Dec 2017 00:47:02 +0000 (01:47 +0100)]
m.abbr: fix case of empty title, test it.

7 years agom.htmlsanity: initial test.
Vladimír Vondruš [Mon, 11 Dec 2017 00:32:41 +0000 (01:32 +0100)]
m.htmlsanity: initial test.

7 years agom.htmlsanity: remove more docutils cruft from the markup.
Vladimír Vondruš [Mon, 11 Dec 2017 00:35:26 +0000 (01:35 +0100)]
m.htmlsanity: remove more docutils cruft from the markup.

7 years agom.htmlsanity: properly use raw string literals.
Vladimír Vondruš [Sun, 10 Dec 2017 23:42:15 +0000 (00:42 +0100)]
m.htmlsanity: properly use raw string literals.

7 years agoMove the latex2svg code out of "m" plugins, as it is not a plugin.
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.

7 years agoMove the ansilexer code out of the "m" plugins, as it's 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.

7 years agoUpdate testing docs, move all developer docs to CONTRIBUTING.rst.
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.

7 years agotheme: dehyphenate summary and description in <meta> tags.
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.

7 years agotheme: properly HTML-escape all content and test the results.
Vladimír Vondruš [Sun, 10 Dec 2017 23:39:11 +0000 (00:39 +0100)]
theme: properly HTML-escape all content and test the results.

7 years agotheme: test page rendering.
Vladimír Vondruš [Sun, 10 Dec 2017 14:44:14 +0000 (15:44 +0100)]
theme: test page rendering.

7 years agotheme: test blog rendering.
Vladimír Vondruš [Sat, 9 Dec 2017 23:01:23 +0000 (00:01 +0100)]
theme: test blog rendering.

7 years agotheme: tests for the global layout.
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.

7 years agotheme: explicit hyphenation of hardcoded content.
Vladimír Vondruš [Sun, 10 Dec 2017 23:41:45 +0000 (00:41 +0100)]
theme: explicit hyphenation of hardcoded content.

7 years agotheme: superfluous whitespace.
Vladimír Vondruš [Sun, 10 Dec 2017 23:36:50 +0000 (00:36 +0100)]
theme: superfluous whitespace.

7 years agotheme: page header is not supported on landing pages.
Vladimír Vondruš [Sun, 10 Dec 2017 14:41:18 +0000 (15:41 +0100)]
theme: page header is not supported on landing pages.

7 years agotheme: group all the <link> elements together in <head>.
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.

7 years agotheme: more compact page markup.
Vladimír Vondruš [Sun, 10 Dec 2017 14:40:20 +0000 (15:40 +0100)]
theme: more compact page markup.

7 years agotheme: rename :navbar_brand_hidden: option to :hide_navbar_brand:.
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.).

7 years agotheme: make the index and archives page completely equivalent.
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.

7 years agotheme: fix layout for sites that don't use tags at all.
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.

7 years agotheme: add a clearfix for consistency.
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.

7 years agotheme: superfluous whitespace if no article author exists.
Vladimír Vondruš [Sat, 9 Dec 2017 23:03:23 +0000 (00:03 +0100)]
theme: superfluous whitespace if no article author exists.

7 years agotheme: simpler markup in minimal cases of articles.
Vladimír Vondruš [Sat, 9 Dec 2017 23:02:48 +0000 (00:02 +0100)]
theme: simpler markup in minimal cases of articles.

7 years agotheme: trim output coming from Pelican to avoid ugly empty lines.
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.

7 years agotheme: better empty behavior in the blog.
Vladimír Vondruš [Sat, 9 Dec 2017 22:07:24 +0000 (23:07 +0100)]
theme: better empty behavior in the blog.

7 years agotheme: some welcome message for the First Run.
Vladimír Vondruš [Sat, 9 Dec 2017 22:06:32 +0000 (23:06 +0100)]
theme: some welcome message for the First Run.

7 years agotheme: make the archives page work without pagination set up.
Vladimír Vondruš [Sat, 9 Dec 2017 22:06:05 +0000 (23:06 +0100)]
theme: make the archives page work without pagination set up.

7 years agotheme: more compact markup for jumbo articles.
Vladimír Vondruš [Sat, 9 Dec 2017 22:04:48 +0000 (23:04 +0100)]
theme: more compact markup for jumbo articles.

7 years agotheme: if there are no navbar links, don't even show the hamburger.
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.

7 years agotheme: make single-column navbar full width.
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.

7 years agotheme: sane default fine print, ability to hide (parts of) the footer.
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.

7 years agotheme: nice defaults if M_BLOG_{NAME,URL} / M_SITE_LOGO_TEXT not defined.
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.

7 years agodoc: hint proper use of the `e` Jinja2 filter.
Vladimír Vondruš [Mon, 11 Dec 2017 00:34:49 +0000 (01:34 +0100)]
doc: hint proper use of the `e` Jinja2 filter.

7 years agodoc: mention how to make inverted jumbo article cover.
Vladimír Vondruš [Sun, 10 Dec 2017 23:41:14 +0000 (00:41 +0100)]
doc: mention how to make inverted jumbo article cover.

7 years agodoc: mention that the :description: field should be formatted.
Vladimír Vondruš [Sun, 10 Dec 2017 23:40:54 +0000 (00:40 +0100)]
doc: mention that the :description: field should be formatted.

7 years agodoc: clarify pagination etc. behavior in default Pelican setup.
Vladimír Vondruš [Sun, 10 Dec 2017 12:53:49 +0000 (13:53 +0100)]
doc: clarify pagination etc. behavior in default Pelican setup.

7 years agodoc++
Vladimír Vondruš [Thu, 7 Dec 2017 17:27:23 +0000 (18:27 +0100)]
doc++

7 years agodoxygen: symlink files instead of making copies.
Vladimír Vondruš [Sat, 9 Dec 2017 22:17:12 +0000 (23:17 +0100)]
doxygen: symlink files instead of making copies.

7 years agodoxygen: expected is *second* in the assertSomething() functions.
Vladimír Vondruš [Sat, 9 Dec 2017 21:44:06 +0000 (22:44 +0100)]
doxygen: expected is *second* in the assertSomething() functions.

7 years agosite: fix double-escaped URL.
Vladimír Vondruš [Thu, 7 Dec 2017 17:21:08 +0000 (18:21 +0100)]
site: fix double-escaped URL.

7 years agodoc: document the additional pain inflicted on macOS LaTeX users.
Vladimír Vondruš [Thu, 7 Dec 2017 10:34:03 +0000 (11:34 +0100)]
doc: document the additional pain inflicted on macOS LaTeX users.

7 years agodoc: fix pelicanconf.py parameters.
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.

7 years agotheme: make the top navbar markup a bit more compact.
Vladimír Vondruš [Thu, 7 Dec 2017 10:21:58 +0000 (11:21 +0100)]
theme: make the top navbar markup a bit more compact.

7 years agodoxygen: no need for the .h.nostrip language.
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.

7 years agodoc: use the compiled CSS file in Doxygen test page.
Vladimír Vondruš [Thu, 7 Dec 2017 10:20:57 +0000 (11:20 +0100)]
doc: use the compiled CSS file in Doxygen test page.

7 years agocss: I *am* stupid.
Vladimír Vondruš [Thu, 7 Dec 2017 01:31:18 +0000 (02:31 +0100)]
css: I *am* stupid.

7 years agodoxygen: doc++
Vladimír Vondruš [Thu, 7 Dec 2017 01:14:09 +0000 (02:14 +0100)]
doxygen: doc++

7 years agodoxygen: rework image support.
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.

7 years agodoxygen: be consistent with spacing in non-paired HTML tags.
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.

7 years agodoxygen: avoid useless warning.
Vladimír Vondruš [Wed, 6 Dec 2017 23:46:30 +0000 (00:46 +0100)]
doxygen: avoid useless warning.

7 years agodoxygen: parsing <linebreak> tags.
Vladimír Vondruš [Wed, 6 Dec 2017 23:24:39 +0000 (00:24 +0100)]
doxygen: parsing <linebreak> tags.

7 years agodoxygen: prevent add_wbr() from breaking HTML tags.
Vladimír Vondruš [Wed, 6 Dec 2017 22:50:37 +0000 (23:50 +0100)]
doxygen: prevent add_wbr() from breaking HTML tags.

7 years agodoxygen: add a test for add_wbr().
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.

7 years agodoxygen: make the <p> stripper work with empty content.
Vladimír Vondruš [Wed, 6 Dec 2017 22:47:29 +0000 (23:47 +0100)]
doxygen: make the <p> stripper work with empty content.

7 years agodoxygen: verify that empty table cells work.
Vladimír Vondruš [Wed, 6 Dec 2017 22:46:59 +0000 (23:46 +0100)]
doxygen: verify that empty table cells work.

Nope. It asserts.

7 years agodoxygen: table parsing.
Vladimír Vondruš [Wed, 6 Dec 2017 21:48:37 +0000 (22:48 +0100)]
doxygen: table parsing.

7 years agodoxygen: assert more instead of ignoring things.
Vladimír Vondruš [Wed, 6 Dec 2017 21:47:10 +0000 (22:47 +0100)]
doxygen: assert more instead of ignoring things.

7 years agodoxygen: reduce recursion a bit.
Vladimír Vondruš [Wed, 6 Dec 2017 21:46:51 +0000 (22:46 +0100)]
doxygen: reduce recursion a bit.

7 years agodoxygen: don't overwrite stuff from included Doxyfiles.
Vladimír Vondruš [Wed, 6 Dec 2017 20:56:01 +0000 (21:56 +0100)]
doxygen: don't overwrite stuff from included Doxyfiles.