chiark / gitweb /
blog.git
2 years agodocumentation/doxygen: cleanup, test, support overriding the file too.
Vladimír Vondruš [Sun, 15 Sep 2024 18:06:52 +0000 (20:06 +0200)]
documentation/doxygen: cleanup, test, support overriding the file too.

Not just the header name, but also where the link points to. None of
this is possible for namespaces, functions or other symbols, which is a
bit sad, but that's Doxygen we're dealing with here.

2 years agodocumentation/doxygen: support for STRIP_FROM{,_INC}_PATH.
Maxime Schmitt [Sat, 12 Jun 2021 21:07:02 +0000 (23:07 +0200)]
documentation/doxygen: support for STRIP_FROM{,_INC}_PATH.

Doxygen support for STRIP_FROM_INC_PATH is applied to class/struct and
enums through the <includes> xml tag. m.css additionaly shows such
information for functions, enum, namespaces, typedef, variables and
defines through the information extracted from the <location file="xx"/>
tag.

However the location available through the <location file="xx"/> is not
stripped using STRIP_FROM_INC_PATH, only STRIP_FROM_PATH.

This patch provides STRIP_FROM_INC_PATH support by building the prefixes
(STRIP_FROM_INC_PATH stripped from STRIP_FROM_PATH) and stripping the
longest match when constructing the include html.

Co-authored-by: Yuri Edward <nicolas1.fraysse@epitech.eu>
Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
2 years agodocumentation/doxygen: add support for class-specific location.
Maxime Schmitt [Sat, 12 Jun 2021 15:00:42 +0000 (17:00 +0200)]
documentation/doxygen: add support for class-specific location.

When documenting a class, a struct or an union, Doxygen allows the user
to specify a custom header.

Doxygen doc:
  \class <name> [<header-file>] [<header-name>]
  \struct <name> [<header-file>] [<header-name>]
  \union <name> [<header-file>] [<header-name>]

The specified <header-name> can be retrieved between the
<includes></includes> tag of the generated xml for the
classes/structs/unions constructs.

This patch uses <header-name> instead of the default path extracted from
the <location file="xx"/> without modifying the location.

This also fixes #137 for these three constructs when the user does not
define the <header-file>/<header-name>, because the value present inside
the <includes> tag is stripped using the Doxygen STRIP_FROM_INC_PATH
option, whereas <location file="xx"/> is not. Hence, there is still an
issue for namespaces, free functions, enums, typedefs, variables and
defines which are not part of a class/struct or union.

Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
2 years agodoc: show pybind11 and doxygen versions in the build status page.
Vladimír Vondruš [Sun, 15 Sep 2024 14:24:16 +0000 (16:24 +0200)]
doc: show pybind11 and doxygen versions in the build status page.

2 years agoUpdate credits in all files.
Vladimír Vondruš [Sun, 15 Sep 2024 13:54:18 +0000 (15:54 +0200)]
Update credits in all files.

Compared to other projects, where I make sure to do this, I was quite
winging it here, heh.

2 years agodocumentation/doxygen: support img alt properties.
Wojciech Jarosz [Mon, 30 Aug 2021 16:30:13 +0000 (12:30 -0400)]
documentation/doxygen: support img alt properties.

Co-authored-by: Vladimír Vondruš <mosra@centrum.cz>
2 years agodocumentation/doxygen: ignore unsupported languages instead of blowing up.
Vladimír Vondruš [Sun, 15 Sep 2024 12:31:22 +0000 (14:31 +0200)]
documentation/doxygen: ignore unsupported languages instead of blowing up.

Should have done this from the beginning instead of repeatedly telling
people that the cannot include JS or python files as part of the doc
build.

Interestingly enough, file.js gets still treated as C++. Had to switch to
Java to make it detect as something that's not C++.

2 years agoIt's high time I updated the copyright year.
Vladimír Vondruš [Sun, 15 Sep 2024 00:00:57 +0000 (02:00 +0200)]
It's high time I updated the copyright year.

2 years agopelican-theme: don't attempt to query a Pelican version in the test.
Vladimír Vondruš [Sat, 14 Sep 2024 23:28:51 +0000 (01:28 +0200)]
pelican-theme: don't attempt to query a Pelican version in the test.

Because I rely on ancient pygments (gotta fix that too), I cannot use
Pelican 4.9.0+ as it requires a newer version. And on Python 3.12
pelican.__version__ with Pelican 4.8.0 says "unknown" (probably due to
not being ported to the new packaging thingy or whatever), breaking the
version parser in the test.

I'm querying the version just to skip a test that relies on a PR that I
opened in 2017 and didn't have time to get back to. I likely won't have
for another decade, so can just skip this always.

2 years agopackage/ci: test on Python 3.11 and 3.12, and Doxygen 1.9 and 1.11 also.
Vladimír Vondruš [Sat, 14 Sep 2024 20:30:10 +0000 (22:30 +0200)]
package/ci: test on Python 3.11 and 3.12, and Doxygen 1.9 and 1.11 also.

1.12 has extremely broken typedef merging which is making too many tests
failing, so can't test on that one, or at least until my PR is merged.

2 years agodocumentation/python: fix annotation extracting for typing.Any on 3.11+.
Vladimír Vondruš [Sat, 14 Sep 2024 22:34:43 +0000 (00:34 +0200)]
documentation/python: fix annotation extracting for typing.Any on 3.11+.

2 years agodocumentation/python. adapt inspect tests to Python 3.11 / 3.12 changes.
Vladimír Vondruš [Sat, 14 Sep 2024 22:31:28 +0000 (00:31 +0200)]
documentation/python. adapt inspect tests to Python 3.11 / 3.12 changes.

2 years agodocumentation/python: adapt builtin method filters to changes in 3.11+.
Vladimír Vondruš [Sat, 14 Sep 2024 22:11:23 +0000 (00:11 +0200)]
documentation/python: adapt builtin method filters to changes in 3.11+.

2 years agodocumentation/python: match the filtered builtin functions to the source.
Vladimír Vondruš [Sat, 14 Sep 2024 22:05:59 +0000 (00:05 +0200)]
documentation/python: match the filtered builtin functions to the source.

So when a new Python version changes the docstring, it can be easily
found.

2 years agodocumentation/python: don't use test skipping for version branching.
Vladimír Vondruš [Sat, 14 Sep 2024 21:25:30 +0000 (23:25 +0200)]
documentation/python: don't use test skipping for version branching.

So much duplication, ew.

2 years agodocumentation/python: enum.IntFlag in newer Python doesn't like NPOT.
Vladimír Vondruš [Sat, 14 Sep 2024 21:23:49 +0000 (23:23 +0200)]
documentation/python: enum.IntFlag in newer Python doesn't like NPOT.

The FLAG_SEVENTEEN _is_ there if I explicitly call it, but it doesn't
show up in autocompletion or help. Turning it into a power-of-two value
makes it appear.

Heh. Heh.

2 years agodocumentation/doxygen: properly escape HTML <>s in a test.
Vladimír Vondruš [Sat, 14 Sep 2024 23:46:59 +0000 (01:46 +0200)]
documentation/doxygen: properly escape HTML <>s in a test.

This was making Doxygen 1.10 + 1.11 fail parsing the link title,
substituting for an empty text. Funnily enough 1.12 doesn't suffer from
that anymore, which is what made me think that was a Doxygen bug and not
mine. Well it still *is* a Doxygen bug, but at least now I can have
consistent output everywhere.

2 years agodocumentation/doxygen: adapt test to spacing changes in math in 1.9.x.
Vladimír Vondruš [Sat, 14 Sep 2024 22:45:24 +0000 (00:45 +0200)]
documentation/doxygen: adapt test to spacing changes in math in 1.9.x.

Not sure which version, really. Don't want to plow through the
messy changelogs.

2 years agodocumentation/doxygen: undo the crap Doxygen does to inline namespaces.
Vladimír Vondruš [Sat, 14 Sep 2024 20:03:12 +0000 (22:03 +0200)]
documentation/doxygen: undo the crap Doxygen does to inline namespaces.

Like, COME ON, WAS THAT "CONVENIENCE FEATURE" REALLY WORTH THE EXTREME
ADDED PAIN FOR EVERYBODY ELSE??? Fuck me.

2 years agodocumentation/doxygen: this bug with includes happens only on < 1.8.20.
Vladimír Vondruš [Sat, 14 Sep 2024 17:07:03 +0000 (19:07 +0200)]
documentation/doxygen: this bug with includes happens only on < 1.8.20.

2 years agodocumentation/doxygen: use a correct condition in the test.
Vladimír Vondruš [Sat, 14 Sep 2024 17:05:55 +0000 (19:05 +0200)]
documentation/doxygen: use a correct condition in the test.

It's broken like that in 1.9.7 already. That's what I get for pushing
09ddeebf4e77b8912bd8c914c5f75b25dd79d8a1 to master at 4 AM.

2 years agodocumentation/doxygen: Doxygen 1.11 can already produce <sect6>.
Vladimír Vondruš [Sat, 14 Sep 2024 02:47:53 +0000 (04:47 +0200)]
documentation/doxygen: Doxygen 1.11 can already produce <sect6>.

What an amazing piece of thing.

2 years agodocumentation/doxygen: work around Doxyen stupidly making XMLs useless.
Vladimír Vondruš [Sat, 14 Sep 2024 02:08:57 +0000 (04:08 +0200)]
documentation/doxygen: work around Doxyen stupidly making XMLs useless.

I still hope that particular change can be reverted, but so far it's
just the least possible amount of work to make this tool not hit a
sanity assert.

2 years agodocumentation/doxygen: avoid hitting the typedef dedup bug in tests.
Vladimír Vondruš [Sat, 14 Sep 2024 02:40:22 +0000 (04:40 +0200)]
documentation/doxygen: avoid hitting the typedef dedup bug in tests.

https://github.com/doxygen/doxygen/pull/11141

Sigh. I'd really like to have at least one Doxygen version newer than
1.8.18 on the CI, but it's a minefield because my tests work as designed
and hit each and every regression and silly bug.

2 years agodocumentation/doxygen: adapt this test file to whitespace normalization.
Vladimír Vondruš [Sat, 14 Sep 2024 02:06:30 +0000 (04:06 +0200)]
documentation/doxygen: adapt this test file to whitespace normalization.

The latex output is extremely random so I ignore those tests locally,
yet this particular bit is what 50a7fc5324198f45cde042c87c7a0b4f651b3d25
should have contained also.

2 years agodocumentation/doxygen: two more ElementTree deprecation warnings.
Vladimír Vondruš [Sat, 14 Sep 2024 02:06:00 +0000 (04:06 +0200)]
documentation/doxygen: two more ElementTree deprecation warnings.

Missed those in 2588ef1a9a5420fa6b0dc39769ce582ce5dc5bd3.

2 years agom.plots: replace hashes in test files before comparing.
Vladimír Vondruš [Fri, 13 Sep 2024 00:24:49 +0000 (02:24 +0200)]
m.plots: replace hashes in test files before comparing.

Similarly to what I did for doxygen, the damn thing now has hashes
differing even between machines. How the hell is one supposed to make
reproducible builds with that, I don't know.

The 3.4 variant got removed, because it differs from 3.2 only in those
hashes, so it isn't needed anymore. Now I can finally unpin it from 3.7
on the CI and stop being afraid that it changes again with 3.9.3.

2 years agodocumentation/doxygen: use a type with known stable hash in a test.
Vladimír Vondruš [Sat, 14 Sep 2024 00:21:06 +0000 (02:21 +0200)]
documentation/doxygen: use a type with known stable hash in a test.

Because every const, < or > matters with this thing. Every new release
is different hashes, FFS. This handcrafted name fortunately has the same
URL hash in both 1.8.16 and 1.12.

2 years agodocumentation/doxygen: superfluous } in a test.
Vladimír Vondruš [Sat, 14 Sep 2024 00:10:43 +0000 (02:10 +0200)]
documentation/doxygen: superfluous } in a test.

KDevelop complains, Doxygen didn't even notice this was a bug I guess.

2 years agodocumentation/doxygen: omit filename in anchors to the page itself.
Vladimír Vondruš [Sat, 14 Sep 2024 00:07:55 +0000 (02:07 +0200)]
documentation/doxygen: omit filename in anchors to the page itself.

I'm already doing that for all links coming from the template
(crosslinks between member lists and detailed info, section heading
links etc.) but so far it wasn't done for links and references contained
in Doxygen comments themselves.

That not only makes the generated files smaller, especially when there's
a lot of cross-references with large namespace docs full of functions
and typedefs, but also makes the output consistent between 1.8.16 and
1.12, which is why I'm doing this in the first place.

2 years agodocumentation/doxygen: avoid another version-specific parsing behavior.
Vladimír Vondruš [Fri, 13 Sep 2024 23:38:35 +0000 (01:38 +0200)]
documentation/doxygen: avoid another version-specific parsing behavior.

While the empty paragraph made 1.8.16 turn the second item into a
paragraph as well, 1.12 now treats that as the end of the list. Use
another sentence instead, which behaves the same on both.

2 years agodocumentation/doxygen: don't rely on a Markdown parsing bug in a test.
Vladimír Vondruš [Fri, 13 Sep 2024 23:24:55 +0000 (01:24 +0200)]
documentation/doxygen: don't rely on a Markdown parsing bug in a test.

This was deemed to be an error in
https://github.com/doxygen/doxygen/commit/5f75ff14582400a77068df5ff0f4f0ec0693adee
and 1.9.3+ doesn't behave like that anymore.

2 years agodocumentation/doxygen: anonymous namespaces no longer garbage in 1.9.7+.
Vladimír Vondruš [Fri, 13 Sep 2024 23:13:59 +0000 (01:13 +0200)]
documentation/doxygen: anonymous namespaces no longer garbage in 1.9.7+.

They no longer have <compoundname> containing some randomly generated
string containing @, but it's empty instead. Similar as with enums that
were adapted to in c0194a3eb81057a3b029e66cf389a35f64375eef.

2 years agodocumentation/doxygen: some Markdown autobrief insanities gone in 1.12.
Vladimír Vondruš [Fri, 13 Sep 2024 22:52:29 +0000 (00:52 +0200)]
documentation/doxygen: some Markdown autobrief insanities gone in 1.12.

2 years agodocumentation/doxygen: noexcept and constexpr no longer leaks into types.
Vladimír Vondruš [Fri, 13 Sep 2024 21:25:09 +0000 (23:25 +0200)]
documentation/doxygen: noexcept and constexpr no longer leaks into types.

Since Doxygen 1.11. Which means I now have to use the attributes. No
change to the test files is needed, without this change 1.11+ would
produce output that doesn't have noexcept and constexpr.

2 years agodocumentation/doxygen: Doxygen 1.12 can produce up to <sect6>.
Vladimír Vondruš [Fri, 13 Sep 2024 21:23:25 +0000 (23:23 +0200)]
documentation/doxygen: Doxygen 1.12 can produce up to <sect6>.

And is slightly less broken when encountering Markdown headers where
it's not #'s at the start of the line but underneath.

2 years agodocumentation/doxygen: normalize hashes before comparing files.
Vladimír Vondruš [Fri, 13 Sep 2024 21:21:40 +0000 (23:21 +0200)]
documentation/doxygen: normalize hashes before comparing files.

Each Doxygen version differs slightly in those and I just have no
patience for it. The actual on-disk files keep the originals so anchors
and everything works, but they're replaced when comparing.

2 years agodocumentation/doxygen: properly adapt all tests to graphviz 10.
Vladimír Vondruš [Fri, 13 Sep 2024 22:28:15 +0000 (00:28 +0200)]
documentation/doxygen: properly adapt all tests to graphviz 10.

Forgot this in 182939f4d403c42c061b6d37907fab2286b6da24.

2 years agodocumentation/doxygen: remove static keyword from variable types as well.
Vladimír Vondruš [Fri, 13 Sep 2024 22:16:34 +0000 (00:16 +0200)]
documentation/doxygen: remove static keyword from variable types as well.

Like was done in a74bdefc58a34b8054e61e84b480ad6cf0105ad2 for functions.
I didn't notice until now, but Doxygen 1.11 finally fixed that, which
uncovered the mistake in the test_compound.Listing test.

2 years agodocumentation/doxygen: normalize spacing around inline <mcss:*> tags.
Vladimír Vondruš [Fri, 13 Sep 2024 21:47:00 +0000 (23:47 +0200)]
documentation/doxygen: normalize spacing around inline <mcss:*> tags.

Those are \xmlonly, and Doxygen 1.12 (or anything between 1.12 and
1.8.16) seems to put one more space there, causing useless differences
in test files. Replacing those with just one space to have a consistent
output across all versions.

2 years agotest: fix Python 3.12 warnings about invalid escape sequences.
Vladimír Vondruš [Fri, 13 Sep 2024 21:20:25 +0000 (23:20 +0200)]
test: fix Python 3.12 warnings about invalid escape sequences.

Or maybe 3.11 warned too and I just didn't notice?

2 years agodocumentation/python: adapt to changes in Python 3.12 builtins docs.
Vladimír Vondruš [Fri, 13 Sep 2024 21:14:52 +0000 (23:14 +0200)]
documentation/python: adapt to changes in Python 3.12 builtins docs.

2 years agodocumentation/doxygen: whoops, bad test filename.
Vladimír Vondruš [Fri, 13 Sep 2024 00:14:23 +0000 (02:14 +0200)]
documentation/doxygen: whoops, bad test filename.

Broken since 182939f4d403c42c061b6d37907fab2286b6da24.

2 years agodocumentation/doxygen: fix hopefully all ElementTree deprecation warnings.
Vladimír Vondruš [Tue, 10 Sep 2024 13:35:10 +0000 (15:35 +0200)]
documentation/doxygen: fix hopefully all ElementTree deprecation warnings.

No, it didn't get any better with this change. Only more brittle.

2 years agodocumentation/doxygen: fix anonymous enum parsing with 1.9.7+.
Vladimír Vondruš [Tue, 10 Sep 2024 10:07:15 +0000 (12:07 +0200)]
documentation/doxygen: fix anonymous enum parsing with 1.9.7+.

2 years agodocumentation/doxygen: expand the enum test with anonymous enums.
Vladimír Vondruš [Tue, 10 Sep 2024 09:41:09 +0000 (11:41 +0200)]
documentation/doxygen: expand the enum test with anonymous enums.

This was verified only in an "integration" test along with a ton of other
features, better to have a dedicated case for it as well.

2 years agoTweak capitalization
Colin Watson [Sun, 1 Sep 2024 13:31:03 +0000 (14:31 +0100)]
Tweak capitalization

2 years agoFree software activity in August 2024
Colin Watson [Sun, 1 Sep 2024 13:29:55 +0000 (14:29 +0100)]
Free software activity in August 2024

2 years agodocummentation/python: adapt __weakref__ ignore to Python 3.11.
Vladimír Vondruš [Wed, 21 Aug 2024 11:50:08 +0000 (13:50 +0200)]
docummentation/python: adapt __weakref__ ignore to Python 3.11.

2 years agopackage/ci: pin to numpy and pybind11 that work together.
Vladimír Vondruš [Wed, 21 Aug 2024 08:44:57 +0000 (10:44 +0200)]
package/ci: pin to numpy and pybind11 that work together.

Without breaking my tests. Gah, I hate this pointless churn.

2 years agodoc: adapt Build Status to codecov API changes.
Vladimír Vondruš [Wed, 21 Aug 2024 10:38:18 +0000 (12:38 +0200)]
doc: adapt Build Status to codecov API changes.

2 years agodoc: updated credits.
Vladimír Vondruš [Wed, 21 Aug 2024 10:31:22 +0000 (12:31 +0200)]
doc: updated credits.

2 years agom.htmlsanity: traverse() is deprecated since docutils 0.18.
Vladimír Vondruš [Wed, 21 Aug 2024 10:23:57 +0000 (12:23 +0200)]
m.htmlsanity: traverse() is deprecated since docutils 0.18.

Looks like it got changed to an iterator to be faster, unfortunately
Sphinx relied on it returning a list, so it got changed back and
deprecated in favor of findall().

Using the new name and adding it as an alias for traverse() on older
versions.

2 years agom.code: reprunicode() is also gone in docutils 0.21.
Vladimír Vondruš [Wed, 21 Aug 2024 10:19:13 +0000 (12:19 +0200)]
m.code: reprunicode() is also gone in docutils 0.21.

Their changelog says it was there just for compatibility with Python 2,
which m.css never supported anyway.

Co-authored-by: John Turner <7strbass@gmail.com>
2 years agom.code: stop using stuff removed in docutils 0.21.
Vladimír Vondruš [Wed, 21 Aug 2024 10:10:15 +0000 (12:10 +0200)]
m.code: stop using stuff removed in docutils 0.21.

The uses were just copypaste from the upstream implementation, and out
of all imports only the error string was used. The documentation
suggests using just str() instead, which is what I do, even though it's
different from what ErrorString actually formatted.

2 years agom.dot: adapt test to differences in output with graphviz 10.
Vladimír Vondruš [Wed, 21 Aug 2024 10:05:24 +0000 (12:05 +0200)]
m.dot: adapt test to differences in output with graphviz 10.

Or 9, or maybe 8 or 7. The version I tested with before was 2.44, no
idea why was it so important to suddenly change the versioning scheme
like this.

2 years agom.plots: adapt tests to different output with matplotlib 3.6+.
Vladimír Vondruš [Wed, 21 Aug 2024 10:02:33 +0000 (12:02 +0200)]
m.plots: adapt tests to different output with matplotlib 3.6+.

Unfortunately version 3.8+ has different output YET AGAIN, meaning I
have to pin again until I build up the patience to retry all this.

2 years agom.qr: adapt to different output in qrcode 7.4.
Vladimír Vondruš [Wed, 21 Aug 2024 10:00:29 +0000 (12:00 +0200)]
m.qr: adapt to different output in qrcode 7.4.

2 years agoStop using deprecated distutils.version.LooseVersion in tests.
Vladimír Vondruš [Wed, 21 Aug 2024 09:23:20 +0000 (11:23 +0200)]
Stop using deprecated distutils.version.LooseVersion in tests.

I was waiting *half a decade* for this to get resolved in a less than
insane way, but NOPE. Instead of using builtin functionality for such a
basic operation as version comparison (heck, even CMake has that
builtin!!) we're now instructed to PIP INSTALL PACKAGING. Where did the
"batteries included" spirit go? Why is everything increasingly
overengineered? Why can't a project stay in place for a few years, WHY
DO I HAVE TO ADAPT TO MEANINGLESS CHANGES ALL THE TIME?!

2 years agoFree software activity in July 2024
Colin Watson [Fri, 2 Aug 2024 12:31:20 +0000 (13:31 +0100)]
Free software activity in July 2024

2 years agoFree software activity in June 2024
Colin Watson [Tue, 2 Jul 2024 12:02:47 +0000 (13:02 +0100)]
Free software activity in June 2024

2 years agoFree software activity in May 2024
Colin Watson [Sun, 2 Jun 2024 10:58:14 +0000 (11:58 +0100)]
Free software activity in May 2024

2 years agoConvert playing-with-rich to rST
Colin Watson [Mon, 13 May 2024 10:02:09 +0000 (11:02 +0100)]
Convert playing-with-rich to rST

2 years agoAdd m.code and pygments-default.css
Colin Watson [Mon, 13 May 2024 10:00:41 +0000 (11:00 +0100)]
Add m.code and pygments-default.css

CSS generated using:

  pygmentize -f html -S default -a .m-code >static/pygments-default.css

This will only work with posts that have been converted to
reStructuredText.

2 years agoMerge commit '523506668a61646603ed299e1b60b7f77a8ebd77'
Colin Watson [Mon, 13 May 2024 09:29:34 +0000 (10:29 +0100)]
Merge commit '523506668a61646603ed299e1b60b7f77a8ebd77'

2 years agoPlaying with rich
Colin Watson [Fri, 3 May 2024 15:31:23 +0000 (16:31 +0100)]
Playing with rich

2 years agoImprove layout of Markdown-generated code blocks
Colin Watson [Fri, 3 May 2024 15:08:28 +0000 (16:08 +0100)]
Improve layout of Markdown-generated code blocks

2 years agoFree software activity in April 2024
Colin Watson [Wed, 1 May 2024 11:34:51 +0000 (12:34 +0100)]
Free software activity in April 2024

2 years agoAdd Liberapay link
Colin Watson [Wed, 17 Apr 2024 23:12:46 +0000 (00:12 +0100)]
Add Liberapay link

2 years agoFree software activity in March 2024
Colin Watson [Mon, 1 Apr 2024 13:10:56 +0000 (14:10 +0100)]
Free software activity in March 2024

2 years agoTweak title to avoid invalid HTML formatting
Colin Watson [Mon, 1 Apr 2024 13:10:15 +0000 (14:10 +0100)]
Tweak title to avoid invalid HTML formatting

2 years ago"Install everything" in Ubuntu?
Colin Watson [Tue, 19 Mar 2024 07:06:03 +0000 (07:06 +0000)]
"Install everything" in Ubuntu?

2 years agoAvoid typogrify generating invalid markup
Colin Watson [Mon, 4 Mar 2024 12:46:23 +0000 (12:46 +0000)]
Avoid typogrify generating invalid markup

2 years agoFLOSS activity in January/February 2024
Colin Watson [Mon, 4 Mar 2024 10:40:03 +0000 (10:40 +0000)]
FLOSS activity in January/February 2024

2 years agolatex2svg: restrict the libgs workaround to dvisvgm < 3.0.
Vladimír Vondruš [Thu, 22 Feb 2024 15:09:20 +0000 (16:09 +0100)]
latex2svg: restrict the libgs workaround to dvisvgm < 3.0.

On newer versions this isn't needed, and the hardcoded paths aren't
always enough. So better to just not try at all.

2 years agoTask management
Colin Watson [Wed, 17 Jan 2024 13:31:26 +0000 (13:31 +0000)]
Task management

2 years agoOpenUK New Year's Honours
Colin Watson [Mon, 15 Jan 2024 16:17:16 +0000 (16:17 +0000)]
OpenUK New Year's Honours

2 years agoGoing freelance
Colin Watson [Wed, 10 Jan 2024 09:50:54 +0000 (09:50 +0000)]
Going freelance

2 years agoCreate AUTHORS
Maurizio Paglia [Wed, 20 Dec 2023 09:09:22 +0000 (10:09 +0100)]
Create AUTHORS

2 years agoUpdate README.md
Maurizio Paglia [Wed, 20 Dec 2023 09:08:19 +0000 (10:08 +0100)]
Update README.md

Repalced old 'pelican toot' refs with 'Fediverse'

2 years agoFixed typo
[Maurizio Paglia] [Tue, 19 Dec 2023 21:50:43 +0000 (22:50 +0100)]
Fixed typo

Now fediverse is called and no more pelican_toot

2 years agoMove a video from http://people.canonical.com/~cjwatson/
Colin Watson [Mon, 27 Nov 2023 12:50:34 +0000 (12:50 +0000)]
Move a video from people.canonical.com/~cjwatson/

2 years agoMove some images from http://people.canonical.com/~cjwatson/
Colin Watson [Mon, 27 Nov 2023 12:39:27 +0000 (12:39 +0000)]
Move some images from people.canonical.com/~cjwatson/

2 years agoAdd images referenced by content/lp-python3.md
Colin Watson [Mon, 27 Nov 2023 12:36:49 +0000 (12:36 +0000)]
Add images referenced by content/lp-python3.md

3 years agocss: support .m-image and .m-figure for <video> as well.
Vladimír Vondruš [Fri, 3 Nov 2023 12:50:40 +0000 (13:50 +0100)]
css: support .m-image and .m-figure for <video> as well.

3 years agolatex2svg: look for libgs.so.10 in /usr/lib64 as well.
Vladimír Vondruš [Wed, 9 Aug 2023 15:34:09 +0000 (17:34 +0200)]
latex2svg: look for libgs.so.10 in /usr/lib64 as well.

3 years agoDelete pelican_toot.py
Maurizio Paglia [Wed, 2 Aug 2023 09:58:05 +0000 (11:58 +0200)]
Delete pelican_toot.py

Changed name of the plugin in pelican-fediverse

3 years agoCreate pelican-fediverse.py
Maurizio Paglia [Tue, 1 Aug 2023 15:13:42 +0000 (17:13 +0200)]
Create pelican-fediverse.py

3 years agoUpdate README.md
Maurizio Paglia [Tue, 1 Aug 2023 15:12:18 +0000 (17:12 +0200)]
Update README.md

3 years agoUpdate README.md
Maurizio Paglia [Tue, 1 Aug 2023 15:11:52 +0000 (17:11 +0200)]
Update README.md

Changed plugin name from Pelican-toot into pelican-fediverse

3 years agoUpdate copyright year.
Vladimír Vondruš [Wed, 28 Jun 2023 13:58:23 +0000 (15:58 +0200)]
Update copyright year.

Six months in, I could have waited until 2024, heh.

3 years agoStop mentioning Pelican -- it's a general site theme independent of it.
Vladimír Vondruš [Wed, 28 Jun 2023 13:46:14 +0000 (15:46 +0200)]
Stop mentioning Pelican -- it's a general site theme independent of it.

3 years agodoc: properly show that a class directive *is* needed for a table.
Vladimír Vondruš [Wed, 28 Jun 2023 13:44:33 +0000 (15:44 +0200)]
doc: properly show that a class directive *is* needed for a table.

The output markup had it but the snippet not, causing confusion.

3 years agom.code: make it work with newer docutils.
Vladimír Vondruš [Wed, 28 Jun 2023 13:48:24 +0000 (15:48 +0200)]
m.code: make it work with newer docutils.

Not sure when this got broken but omitting the option no longer works.

3 years agodocumentation/python: test external doc overload matching with * and /.
Vladimír Vondruš [Wed, 28 Jun 2023 13:42:36 +0000 (15:42 +0200)]
documentation/python: test external doc overload matching with * and /.

With the previous commit this now "just works", as the placeholders are
dropped from the final signature. The test thus works mainly for
documenting this feature.

3 years agodocumentation/python: recognize / and * in pybind11 signatures.
Vladimír Vondruš [Wed, 28 Jun 2023 12:11:52 +0000 (14:11 +0200)]
documentation/python: recognize / and * in pybind11 signatures.

3 years agodocumentation/python: ignore a new useless builtin on 3.11.
Vladimír Vondruš [Wed, 28 Jun 2023 13:14:51 +0000 (15:14 +0200)]
documentation/python: ignore a new useless builtin on 3.11.

3 years agodocumentation/python: don't use deprecated distutils.
Vladimír Vondruš [Wed, 28 Jun 2023 13:12:59 +0000 (15:12 +0200)]
documentation/python: don't use deprecated distutils.

Turns out the version info can be compared much more easily. Thanks
Python, this is nice.

3 years agolatex2svg: work around dvisvgm < 3.0 not detecting ghostscript 10.
Vladimír Vondruš [Thu, 2 Mar 2023 12:38:11 +0000 (13:38 +0100)]
latex2svg: work around dvisvgm < 3.0 not detecting ghostscript 10.

The latex stack and everything around it is ... interesting. A huge pile
of stuff that randomly breaks in very silent and non-obvious ways, and
it's all so huge and complicated that even distro package maintainers
have no way to know if the packages are mutually compatible.

Now that I figured this out, I still need to comment on that ArchLinux
bug.

3 years agolatex2svg: more robust handling of libgs not being found.
Vladimír Vondruš [Thu, 2 Mar 2023 12:34:20 +0000 (13:34 +0100)]
latex2svg: more robust handling of libgs not being found.

Instead of just looking it up upfront and then hoping for the best,
verify also that dvisvgm actually detected and used it. Because it not
always does, in particular with versions < 3.0 and ghostscript 10.