chiark / gitweb /
blog.git
7 years agotheme: support for archived articles.
Vladimír Vondruš [Tue, 16 Jan 2018 17:03:45 +0000 (18:03 +0100)]
theme: support for archived articles.

7 years agotheme: different styling for updated articles in the footer.
Vladimír Vondruš [Tue, 16 Jan 2018 13:03:29 +0000 (14:03 +0100)]
theme: different styling for updated articles in the footer.

7 years agom.dox: some patches to make this work with the cppreference tag file.
Vladimír Vondruš [Tue, 16 Jan 2018 12:54:29 +0000 (13:54 +0100)]
m.dox: some patches to make this work with the cppreference tag file.

7 years agoAdded flat button style.
Vladimír Vondruš [Tue, 16 Jan 2018 12:53:43 +0000 (13:53 +0100)]
Added flat button style.

7 years agocss: separately configurable value for button background color.
Vladimír Vondruš [Tue, 16 Jan 2018 11:45:09 +0000 (12:45 +0100)]
css: separately configurable value for button background color.

In particular, had to use a darker color than the default background
color of the dark theme as the contrast was too little with danger and
info buttons.

7 years agocss: At least some padding on full-width buttons.
Vladimír Vondruš [Tue, 16 Jan 2018 11:42:57 +0000 (12:42 +0100)]
css: At least some padding on full-width buttons.

When tucking the full-width buttons in a table that had many columns
there was no padding at all, looking extra ugly.

7 years agocss: removed min-width of header menu sub items.
Vladimír Vondruš [Tue, 16 Jan 2018 11:41:46 +0000 (12:41 +0100)]
css: removed min-width of header menu sub items.

Caused horizontal scrollbar when the rightmost item had a submenu. Now
it's a bit ugly, but at least without the scrollbar.

7 years agocss: make also the bottom rounded on flat figures.
Vladimír Vondruš [Tue, 9 Jan 2018 21:30:21 +0000 (22:30 +0100)]
css: make also the bottom rounded on flat figures.

It looks weirdly cut off when there is no border.

7 years agocss: figure border radius should be configurable as well.
Vladimír Vondruš [Tue, 9 Jan 2018 21:30:00 +0000 (22:30 +0100)]
css: figure border radius should be configurable as well.

7 years agocss: updated postprocessed files.
Vladimír Vondruš [Fri, 5 Jan 2018 16:44:56 +0000 (17:44 +0100)]
css: updated postprocessed files.

7 years agocss: for some reason div.m-scroll was missing from here.
Vladimír Vondruš [Fri, 5 Jan 2018 16:43:50 +0000 (17:43 +0100)]
css: for some reason div.m-scroll was missing from here.

7 years agocss: rework button markup.
Vladimír Vondruš [Fri, 5 Jan 2018 16:39:31 +0000 (17:39 +0100)]
css: rework button markup.

Default to centered button, because that's what one usually wants. This
also resolves the problem with the following markup not having spacing
after and thus being too sticky to content that immediately follows it.

    <div class="m-text-centered">
      <a class="m-button m-success" href="#">...</a>
    </div>

The new markup is thus this, the .m-text-centered class no longer
needed. Adding .m-fullwidth to the <div> works as expected.

    <div class="m-button m-success">
      <a href="#">...</a>
    </div>

Sorry for potential breakages of your content.

7 years agosite: updated footer.
Vladimír Vondruš [Fri, 5 Jan 2018 00:51:26 +0000 (01:51 +0100)]
site: updated footer.

No silly jokes anymore. THIS IS SERIOUS SHIT, YA?

7 years agodoxygen: improve diagnostic output.
Vladimír Vondruš [Fri, 5 Jan 2018 00:32:10 +0000 (01:32 +0100)]
doxygen: improve diagnostic output.

Not printing info about every file in the default case anymore, printing
just the warnings. In order to make that usable, all warnings are now
prefixed with name of file that's being processed.

Documentation goal, like with stock Doxygen, is to have zero console
output.

7 years agocss: updated postprocessed files.
Vladimír Vondruš [Fri, 5 Jan 2018 00:29:25 +0000 (01:29 +0100)]
css: updated postprocessed files.

7 years agocss: better color for cover image background.
Vladimír Vondruš [Fri, 5 Jan 2018 00:28:24 +0000 (01:28 +0100)]
css: better color for cover image background.

The previous was too much grey and too little blue.

7 years agocss: improved styling for landing page title.
Vladimír Vondruš [Fri, 5 Jan 2018 00:27:12 +0000 (01:27 +0100)]
css: improved styling for landing page title.

It's a bit bigger now, with some more padding around and a possibility
to control its casing.

7 years agocss: fix jumbo article header behavior on very narrow / very wide screens.
Vladimír Vondruš [Fri, 5 Jan 2018 00:23:09 +0000 (01:23 +0100)]
css: fix jumbo article header behavior on very narrow / very wide screens.

In some cases the content after got floated right after the article
title, on iOS Safari the content was even overlapping the header. Also
added a minimal font size so the (sub)title and date/author text don't
get scaled below 1rem.

Now the cover image also slides a bit under the summary / content, like
it is on landing pages.

7 years agopackage/ci: use Doxygen 1.8.14 on Travis.
Vladimír Vondruš [Mon, 1 Jan 2018 19:57:23 +0000 (20:57 +0100)]
package/ci: use Doxygen 1.8.14 on Travis.

7 years agoUpdate copyright year.
Vladimír Vondruš [Mon, 1 Jan 2018 22:48:02 +0000 (23:48 +0100)]
Update copyright year.

7 years agodoc: Doxygen 1.8.14 with all the patches was released.
Vladimír Vondruš [Mon, 1 Jan 2018 20:35:54 +0000 (21:35 +0100)]
doc: Doxygen 1.8.14 with all the patches was released.

7 years agom.dox: not just pages can have sections.
Vladimír Vondruš [Mon, 1 Jan 2018 20:22:48 +0000 (21:22 +0100)]
m.dox: not just pages can have sections.

7 years agodoc: update documentation of the m.dox plugin.
Vladimír Vondruš [Mon, 1 Jan 2018 20:13:17 +0000 (21:13 +0100)]
doc: update documentation of the m.dox plugin.

7 years agom.dox: ability to link to documentation index pages.
Vladimír Vondruš [Mon, 1 Jan 2018 20:09:03 +0000 (21:09 +0100)]
m.dox: ability to link to documentation index pages.

7 years agom.dox: render the link as code only if there's no custom title.
Vladimír Vondruš [Mon, 1 Jan 2018 20:08:23 +0000 (21:08 +0100)]
m.dox: render the link as code only if there's no custom title.

And properly test this case.

7 years agom.dox: properly extract and use page titles from the tagfile.
Vladimír Vondruš [Mon, 1 Jan 2018 20:05:08 +0000 (21:05 +0100)]
m.dox: properly extract and use page titles from the tagfile.

7 years agom.dox: remove dead code.
Vladimír Vondruš [Mon, 1 Jan 2018 19:58:53 +0000 (20:58 +0100)]
m.dox: remove dead code.

7 years agocss: updated postprocessed files.
Vladimír Vondruš [Mon, 1 Jan 2018 19:40:58 +0000 (20:40 +0100)]
css: updated postprocessed files.

7 years agocss: improve code background color.
Vladimír Vondruš [Mon, 1 Jan 2018 19:32:17 +0000 (20:32 +0100)]
css: improve code background color.

In the dark theme it's still the same as header background color, but
with 50% transparency. To avoid unnecessary transparency and browser
perfomance issues coming out of that (yes I *do* care about that), a
pre-calculated value combining it with background color is used.

Also, until now, code inside colored notes was looking awful. Now it's
using the 50% transparency and looks good. In order to avoid combinatory
explosion of variables, the transparency *is* used in case of notes, but
since cases like that are much less common, I don't think this is a
problem.

The light theme is not changed at all, except for adding a matching
semi-transparent variable.

Huge thanks to @Squareys for this suggestion.

7 years agocss: advertise the Pelican theme from the CSS page layout docs.
Vladimír Vondruš [Mon, 1 Jan 2018 18:41:46 +0000 (19:41 +0100)]
css: advertise the Pelican theme from the CSS page layout docs.

7 years agocss: support for colored figures.
Vladimír Vondruš [Mon, 1 Jan 2018 18:41:28 +0000 (19:41 +0100)]
css: support for colored figures.

7 years agoSupport for page cover images.
Vladimír Vondruš [Mon, 1 Jan 2018 18:30:24 +0000 (19:30 +0100)]
Support for page cover images.

Like landing pages, but trading some of the flexibility for easier use.

7 years agocss: renamed .m-navbar-jumbo to .m-navbar-cover.
Vladimír Vondruš [Mon, 1 Jan 2018 17:58:42 +0000 (18:58 +0100)]
css: renamed .m-navbar-jumbo to .m-navbar-cover.

Breaking change: if you aren't using the Pelican theme, make sure to
change all occurences of m-navbar-jumbo to m-navbar-cover in your HTML
markup in order to retain the feature of semi-transparent navbar on
jumbo articles.

7 years agocss: slide the landing page cover image even more under the content.
Vladimír Vondruš [Mon, 1 Jan 2018 17:48:13 +0000 (18:48 +0100)]
css: slide the landing page cover image even more under the content.

7 years agocss: minor reorganization.
Vladimír Vondruš [Mon, 1 Jan 2018 17:47:52 +0000 (18:47 +0100)]
css: minor reorganization.

7 years agodox: mention the include directive among essentials.
Vladimír Vondruš [Mon, 1 Jan 2018 17:47:02 +0000 (18:47 +0100)]
dox: mention the include directive among essentials.

7 years agocss: make it possible to style <svg> as .m-image
Vladimír Vondruš [Mon, 1 Jan 2018 17:45:30 +0000 (18:45 +0100)]
css: make it possible to style <svg> as .m-image

7 years agocss: proper cursor for links in SVG files consistently in *all* browsers.
Vladimír Vondruš [Mon, 1 Jan 2018 17:21:51 +0000 (18:21 +0100)]
css: proper cursor for links in SVG files consistently in *all* browsers.

Why, stock Chrome, why? Every other browsers including Chrome derivates
(Vivaldi) gets it right.

7 years agodoc: improve the CSS themes docs.
Vladimír Vondruš [Mon, 1 Jan 2018 17:21:21 +0000 (18:21 +0100)]
doc: improve the CSS themes docs.

7 years agocss: merge styling of article cover image and landing page image.
Vladimír Vondruš [Mon, 1 Jan 2018 17:03:57 +0000 (18:03 +0100)]
css: merge styling of article cover image and landing page image.

7 years agodoc: add TOC to the m.metadata plugin docs.
Vladimír Vondruš [Mon, 1 Jan 2018 16:59:06 +0000 (17:59 +0100)]
doc: add TOC to the m.metadata plugin docs.

7 years agodoc: simplify path handling for example articles.
Vladimír Vondruš [Thu, 21 Dec 2017 22:51:01 +0000 (23:51 +0100)]
doc: simplify path handling for example articles.

Finally I can like how it is.

7 years agom.images: don't display exif tags if there is no exif present.
Jelmer Vernooij [Thu, 21 Dec 2017 22:50:21 +0000 (23:50 +0100)]
m.images: don't display exif tags if there is no exif present.

7 years agom.images: test with a file that has no EXIF data whatsoever.
Vladimír Vondruš [Thu, 21 Dec 2017 22:46:16 +0000 (23:46 +0100)]
m.images: test with a file that has no EXIF data whatsoever.

Crashes. Wtf, I thought this is already handled.

7 years agosite: no need for a leading slash.
Vladimír Vondruš [Thu, 21 Dec 2017 17:56:54 +0000 (18:56 +0100)]
site: no need for a leading slash.

7 years agodoc: proper use of em-dashes.
Vladimír Vondruš [Thu, 21 Dec 2017 17:55:48 +0000 (18:55 +0100)]
doc: proper use of em-dashes.

7 years agosite: make the locale work on Windows as well.
Vladimír Vondruš [Thu, 21 Dec 2017 17:04:33 +0000 (18:04 +0100)]
site: make the locale work on Windows as well.

7 years agoPreserve the original SVG file that was used to develop the color theme.
Vladimír Vondruš [Thu, 21 Dec 2017 14:56:17 +0000 (15:56 +0100)]
Preserve the original SVG file that was used to develop the color theme.

7 years agodoc: cross-link to related Pelican plugins from CSS components page.
Vladimír Vondruš [Thu, 21 Dec 2017 12:04:05 +0000 (13:04 +0100)]
doc: cross-link to related Pelican plugins from CSS components page.

7 years agoNew m.metadata plugin.
Vladimír Vondruš [Tue, 19 Dec 2017 15:47:45 +0000 (16:47 +0100)]
New m.metadata plugin.

Provides per-category, per-author and per-tag metadata:

 * Author and category image and "badge" (short description)
 * Author, category and tag description on their filter page, filling
   social meta tags as well
 * Ability to specify author twitter handle for social meta tags

7 years agodoc: better inter-page linking.
Vladimír Vondruš [Tue, 19 Dec 2017 19:32:39 +0000 (20:32 +0100)]
doc: better inter-page linking.

7 years agodoc: fix links and dependencies of code/math plugins.
Vladimír Vondruš [Tue, 19 Dec 2017 19:31:42 +0000 (20:31 +0100)]
doc: fix links and dependencies of code/math plugins.

7 years agom.htmlsanity: improve detection for applying typography improvements.
Vladimír Vondruš [Tue, 19 Dec 2017 15:46:32 +0000 (16:46 +0100)]
m.htmlsanity: improve detection for applying typography improvements.

Previously smart quotes were applied to arbitrary fields and even field
names. Ugh. And author was hyphenated + smart quoted but a category/tag
not.

Also, have fun spotting the differences in the test files :P

7 years agoplugins: adapt to theme changes, reduce unnecessary noise.
Vladimír Vondruš [Sat, 16 Dec 2017 17:53:10 +0000 (18:53 +0100)]
plugins: adapt to theme changes, reduce unnecessary noise.

7 years agotheme: reduce random noise in test files.
Vladimír Vondruš [Sat, 16 Dec 2017 17:52:30 +0000 (18:52 +0100)]
theme: reduce random noise in test files.

7 years agotheme: ability to disable rendering of all social meta tags.
Vladimír Vondruš [Sat, 16 Dec 2017 17:37:08 +0000 (18:37 +0100)]
theme: ability to disable rendering of all social meta tags.

The testing was already unbearable.

7 years agopackage/ci: notify gitter on build status changes.
Vladimír Vondruš [Sat, 16 Dec 2017 16:54:21 +0000 (17:54 +0100)]
package/ci: notify gitter on build status changes.

7 years agosite: use the new global social meta tags.
Vladimír Vondruš [Sat, 16 Dec 2017 16:52:20 +0000 (17:52 +0100)]
site: use the new global social meta tags.

7 years agotheme: ability to set global social meta tags.
Vladimír Vondruš [Sat, 16 Dec 2017 16:31:21 +0000 (17:31 +0100)]
theme: ability to set global social meta tags.

7 years agotheme: put the description <meta> tag before all the social stuff.
Vladimír Vondruš [Sat, 16 Dec 2017 16:25:06 +0000 (17:25 +0100)]
theme: put the description <meta> tag before all the social stuff.

7 years agotheme: forgot to check against some test files.
Vladimír Vondruš [Sat, 16 Dec 2017 11:25:28 +0000 (12:25 +0100)]
theme: forgot to check against some test files.

7 years agotheme: provide social meta tags for category/author/tag pages.
Vladimír Vondruš [Sat, 16 Dec 2017 11:24:58 +0000 (12:24 +0100)]
theme: provide social meta tags for category/author/tag pages.

7 years agotheme: provide social meta tags for the index/archive page.
Vladimír Vondruš [Sat, 16 Dec 2017 01:37:42 +0000 (02:37 +0100)]
theme: provide social meta tags for the index/archive page.

7 years agotheme: introduce og:site_name meta tag.
Vladimír Vondruš [Sat, 16 Dec 2017 01:24:43 +0000 (02:24 +0100)]
theme: introduce og:site_name meta tag.

And also add the prefix attribute to <html>, as every page now has the
og: property.

7 years agotheme: more harmless template updates.
Vladimír Vondruš [Sat, 16 Dec 2017 01:22:19 +0000 (02:22 +0100)]
theme: more harmless template updates.

7 years agotheme: put article/page URLs into <link rel="canonical">.
Vladimír Vondruš [Sat, 16 Dec 2017 01:17:22 +0000 (02:17 +0100)]
theme: put article/page URLs into <link rel="canonical">.

7 years agotheme: meta keywords are no more.
Vladimír Vondruš [Sat, 16 Dec 2017 01:06:41 +0000 (02:06 +0100)]
theme: meta keywords are no more.

No search engine cares about that.

7 years agotheme: more harmless reorganization.
Vladimír Vondruš [Sat, 16 Dec 2017 01:03:34 +0000 (02:03 +0100)]
theme: more harmless reorganization.

7 years agotheme: there's no such thing as twitter:url meta tag.
Vladimír Vondruš [Fri, 15 Dec 2017 23:13:32 +0000 (00:13 +0100)]
theme: there's no such thing as twitter:url meta tag.

7 years agotheme: minor meta tag reordering so similar content appears together.
Vladimír Vondruš [Fri, 15 Dec 2017 22:50:08 +0000 (23:50 +0100)]
theme: minor meta tag reordering so similar content appears together.

7 years agotheme: pages should be marked as a page, not as a website.
Vladimír Vondruš [Fri, 15 Dec 2017 22:41:37 +0000 (23:41 +0100)]
theme: pages should be marked as a page, not as a website.

7 years agotheme: minor code reorganization and unification.
Vladimír Vondruš [Fri, 15 Dec 2017 22:34:50 +0000 (23:34 +0100)]
theme: minor code reorganization and unification.

No effect on anything.

7 years agodoxygen: consistent and tested quote unescaping.
Vladimír Vondruš [Fri, 15 Dec 2017 17:58:17 +0000 (18:58 +0100)]
doxygen: consistent and tested quote unescaping.

7 years agodoxygen: introduce M_PAGE_FINE_PRINT, test the layout options.
Vladimír Vondruš [Fri, 15 Dec 2017 17:53:51 +0000 (18:53 +0100)]
doxygen: introduce M_PAGE_FINE_PRINT, test the layout options.

7 years agodoxygen: a new test base that assumes pre-existing XML files.
Vladimír Vondruš [Fri, 15 Dec 2017 17:50:32 +0000 (18:50 +0100)]
doxygen: a new test base that assumes pre-existing XML files.

7 years agodoxygen: implement &nbsp;.
Vladimír Vondruš [Fri, 15 Dec 2017 00:59:15 +0000 (01:59 +0100)]
doxygen: implement &nbsp;.

7 years agocss: unindent only <p> that are direct children of <td>, <li>, <dd>.
Vladimír Vondruš [Fri, 15 Dec 2017 00:57:51 +0000 (01:57 +0100)]
css: unindent only <p> that are direct children of <td>, <li>, <dd>.

Otherwise the inconsistency when using notes and other components
inside tables etc. is too ugly. Yes, the <dd> element is added new.

7 years agodoxygen: new @m_footernavigation command.
Vladimír Vondruš [Thu, 14 Dec 2017 23:12:33 +0000 (00:12 +0100)]
doxygen: new @m_footernavigation command.

7 years agodoxygen: make it possible to override the bold link text.
Vladimír Vondruš [Thu, 14 Dec 2017 21:42:46 +0000 (22:42 +0100)]
doxygen: make it possible to override the bold link text.

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.