chiark / gitweb /
Vladimír Vondruš [Sun, 28 Jan 2018 14:53:40 +0000 (15:53 +0100)]
package/ci: no need to pretend that we have coverage for Jinja2.
Vladimír Vondruš [Sun, 28 Jan 2018 14:53:13 +0000 (15:53 +0100)]
doxygen: try to test more stuff on 1.8.13.
Vladimír Vondruš [Thu, 25 Jan 2018 18:03:44 +0000 (19:03 +0100)]
css: clean up and remove redundant stuff from header styling.
By accident the spacing between items was 1.75rem, now it's 2rem. Maybe
too much (but perfectly okay for submenus and the mobile layout), might
change later.
Vladimír Vondruš [Sat, 27 Jan 2018 18:31:26 +0000 (19:31 +0100)]
Added codecov.io badge to README.
Vladimír Vondruš [Sat, 27 Jan 2018 17:46:57 +0000 (18:46 +0100)]
package/ci: upload code coverage to codecov.io.
Vladimír Vondruš [Mon, 22 Jan 2018 13:16:55 +0000 (14:16 +0100)]
site: enable the math-as-code fallback.
Vladimír Vondruš [Mon, 22 Jan 2018 13:13:28 +0000 (14:13 +0100)]
m.math: ability of fallback to rendering math as code blocks.
Vladimír Vondruš [Mon, 22 Jan 2018 12:10:55 +0000 (13:10 +0100)]
m.code: properly preserve backslashes in inline :code:.
The test now passes again.
Vladimír Vondruš [Mon, 22 Jan 2018 12:10:04 +0000 (13:10 +0100)]
m.code: test that backslashes in inline :code: are properly preserved.
They are not.
Vladimír Vondruš [Mon, 22 Jan 2018 08:06:48 +0000 (09:06 +0100)]
doc: properly specify the :css: interpreted text role in doxygen.rst.
Vladimír Vondruš [Sat, 20 Jan 2018 14:45:06 +0000 (15:45 +0100)]
doc: document base/derived classes in the doxygen template.
Vladimír Vondruš [Thu, 18 Jan 2018 22:07:05 +0000 (23:07 +0100)]
doxygen: aaand now the coverage is 100%.
Vladimír Vondruš [Thu, 18 Jan 2018 20:39:29 +0000 (21:39 +0100)]
doxygen: warn when export macros are spotted in the output.
Vladimír Vondruš [Thu, 18 Jan 2018 20:25:36 +0000 (21:25 +0100)]
doxygen: test that example pages work even without breadcrumb/footer nav.
Vladimír Vondruš [Thu, 18 Jan 2018 20:20:23 +0000 (21:20 +0100)]
doxygen: properly ignore empty/private documentation pages.
Vladimír Vondruš [Thu, 18 Jan 2018 20:20:00 +0000 (21:20 +0100)]
doxygen: dedicated test for ignoring empty documentation files.
Vladimír Vondruš [Thu, 18 Jan 2018 14:08:55 +0000 (15:08 +0100)]
doxygen: skip the example test on Doxygen < 1.8.14.
Vladimír Vondruš [Thu, 18 Jan 2018 14:00:12 +0000 (15:00 +0100)]
doxygen: remove pointless restrictions for valid use cases.
And add a test there.
Vladimír Vondruš [Thu, 18 Jan 2018 13:14:29 +0000 (14:14 +0100)]
doxygen: list base and derived classes.
Vladimír Vondruš [Thu, 18 Jan 2018 12:50:23 +0000 (13:50 +0100)]
doxygen: moved test for \m_footernavigation to a better place.
Because I was searching for it everywhere but here.
Vladimír Vondruš [Thu, 18 Jan 2018 12:48:04 +0000 (13:48 +0100)]
doxygen: new \m_examplenavigation command.
This tests the example page for the first time. So I took the
opportunity and also renamed the title suffix to "source" instead of
"example".
Vladimír Vondruš [Thu, 18 Jan 2018 12:11:17 +0000 (13:11 +0100)]
site: build status page.
Basically stolen from Magnum.
Vladimír Vondruš [Thu, 18 Jan 2018 12:10:29 +0000 (13:10 +0100)]
m.gl: ability to link to WebGL extensions.
Vladimír Vondruš [Thu, 18 Jan 2018 12:10:10 +0000 (13:10 +0100)]
doc++
Vladimír Vondruš [Thu, 18 Jan 2018 11:55:18 +0000 (12:55 +0100)]
package/ci: assign unique IDs to builds.
So I can display them in the build status.
Vladimír Vondruš [Thu, 18 Jan 2018 10:40:42 +0000 (11:40 +0100)]
Revert "package/ci: use Doxygen 1.8.14 on Travis."
It depends on libclang.so.6 which is ... well, nowhere to be found.
This reverts commit
4fce7d16e1ab3167fd4f097b504d25c6350d7a93.
Vladimír Vondruš [Wed, 17 Jan 2018 00:45:32 +0000 (01:45 +0100)]
css: updated postprocessed files.
Vladimír Vondruš [Wed, 17 Jan 2018 00:44:38 +0000 (01:44 +0100)]
css: ability to inflate spacing of .m-table by putting .m-big on it.
Vladimír Vondruš [Wed, 17 Jan 2018 00:43:40 +0000 (01:43 +0100)]
css: properly restrict styling to tables marked as .m-table.
Vladimír Vondruš [Wed, 17 Jan 2018 00:42:55 +0000 (01:42 +0100)]
css: ability to put .m-thin on <th> elements.
Vladimír Vondruš [Wed, 17 Jan 2018 00:40:28 +0000 (01:40 +0100)]
css: ability to align text vertically in a table cell.
Vladimír Vondruš [Wed, 17 Jan 2018 00:10:36 +0000 (01:10 +0100)]
Ability to show list of latest news on the index page.
Vladimír Vondruš [Tue, 16 Jan 2018 23:20:19 +0000 (00:20 +0100)]
site: update index page styling.
I'm overusing this thing.
Vladimír Vondruš [Tue, 16 Jan 2018 23:20:06 +0000 (00:20 +0100)]
site: added favicon.
Vladimír Vondruš [Tue, 16 Jan 2018 23:15:30 +0000 (00:15 +0100)]
theme: ability to specify a favicon.
Vladimír Vondruš [Tue, 16 Jan 2018 22:30:30 +0000 (23:30 +0100)]
doxygen: ability to specify favicon.
Vladimír Vondruš [Tue, 16 Jan 2018 22:22:24 +0000 (23:22 +0100)]
doxygen: name the function better.
Vladimír Vondruš [Tue, 16 Jan 2018 21:31:11 +0000 (22:31 +0100)]
doc: link to live version of the Doxygen theme.
Vladimír Vondruš [Tue, 16 Jan 2018 21:29:23 +0000 (22:29 +0100)]
doxygen: make it possible to override top navbar links.
Vladimír Vondruš [Tue, 16 Jan 2018 18:23:59 +0000 (19:23 +0100)]
doxygen: remove M_SHOW_DOXYGEN_VERSION setting.
Was used only for testing, can be supplemented by modifying
M_PAGE_FINE_PRINT.
Vladimír Vondruš [Tue, 16 Jan 2018 17:51:39 +0000 (18:51 +0100)]
doxygen: make it possible to hide the footer altogether.
Makes testing much easier.
Vladimír Vondruš [Tue, 16 Jan 2018 17:43:10 +0000 (18:43 +0100)]
doxygen: test overriding properties, not hiding them, in layout test.
Vladimír Vondruš [Tue, 16 Jan 2018 17:37:37 +0000 (18:37 +0100)]
doxygen: test layout with minimal Doxyfile.
Vladimír Vondruš [Tue, 16 Jan 2018 17:03:45 +0000 (18:03 +0100)]
theme: support for archived articles.
Vladimír Vondruš [Tue, 16 Jan 2018 13:03:29 +0000 (14:03 +0100)]
theme: different styling for updated articles in the footer.
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.
Vladimír Vondruš [Tue, 16 Jan 2018 12:53:43 +0000 (13:53 +0100)]
Added flat button style.
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.
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.
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.
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.
Vladimír Vondruš [Tue, 9 Jan 2018 21:30:00 +0000 (22:30 +0100)]
css: figure border radius should be configurable as well.
Vladimír Vondruš [Fri, 5 Jan 2018 16:44:56 +0000 (17:44 +0100)]
css: updated postprocessed files.
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.
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.
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?
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.
Vladimír Vondruš [Fri, 5 Jan 2018 00:29:25 +0000 (01:29 +0100)]
css: updated postprocessed files.
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.
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.
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.
Vladimír Vondruš [Mon, 1 Jan 2018 19:57:23 +0000 (20:57 +0100)]
package/ci: use Doxygen 1.8.14 on Travis.
Vladimír Vondruš [Mon, 1 Jan 2018 22:48:02 +0000 (23:48 +0100)]
Update copyright year.
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.
Vladimír Vondruš [Mon, 1 Jan 2018 20:22:48 +0000 (21:22 +0100)]
m.dox: not just pages can have sections.
Vladimír Vondruš [Mon, 1 Jan 2018 20:13:17 +0000 (21:13 +0100)]
doc: update documentation of the m.dox plugin.
Vladimír Vondruš [Mon, 1 Jan 2018 20:09:03 +0000 (21:09 +0100)]
m.dox: ability to link to documentation index pages.
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.
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.
Vladimír Vondruš [Mon, 1 Jan 2018 19:58:53 +0000 (20:58 +0100)]
m.dox: remove dead code.
Vladimír Vondruš [Mon, 1 Jan 2018 19:40:58 +0000 (20:40 +0100)]
css: updated postprocessed files.
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.
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.
Vladimír Vondruš [Mon, 1 Jan 2018 18:41:28 +0000 (19:41 +0100)]
css: support for colored figures.
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.
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.
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.
Vladimír Vondruš [Mon, 1 Jan 2018 17:47:52 +0000 (18:47 +0100)]
css: minor reorganization.
Vladimír Vondruš [Mon, 1 Jan 2018 17:47:02 +0000 (18:47 +0100)]
dox: mention the include directive among essentials.
Vladimír Vondruš [Mon, 1 Jan 2018 17:45:30 +0000 (18:45 +0100)]
css: make it possible to style <svg> as .m-image
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.
Vladimír Vondruš [Mon, 1 Jan 2018 17:21:21 +0000 (18:21 +0100)]
doc: improve the CSS themes docs.
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.
Vladimír Vondruš [Mon, 1 Jan 2018 16:59:06 +0000 (17:59 +0100)]
doc: add TOC to the m.metadata plugin docs.
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.
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.
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.
Vladimír Vondruš [Thu, 21 Dec 2017 17:56:54 +0000 (18:56 +0100)]
site: no need for a leading slash.
Vladimír Vondruš [Thu, 21 Dec 2017 17:55:48 +0000 (18:55 +0100)]
doc: proper use of em-dashes.
Vladimír Vondruš [Thu, 21 Dec 2017 17:04:33 +0000 (18:04 +0100)]
site: make the locale work on Windows as well.
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.
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.
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
Vladimír Vondruš [Tue, 19 Dec 2017 19:32:39 +0000 (20:32 +0100)]
doc: better inter-page linking.
Vladimír Vondruš [Tue, 19 Dec 2017 19:31:42 +0000 (20:31 +0100)]
doc: fix links and dependencies of code/math plugins.
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
Vladimír Vondruš [Sat, 16 Dec 2017 17:53:10 +0000 (18:53 +0100)]
plugins: adapt to theme changes, reduce unnecessary noise.
Vladimír Vondruš [Sat, 16 Dec 2017 17:52:30 +0000 (18:52 +0100)]
theme: reduce random noise in test files.
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.
Vladimír Vondruš [Sat, 16 Dec 2017 16:54:21 +0000 (17:54 +0100)]
package/ci: notify gitter on build status changes.