commit | 06dc65b0fa6130aae73927399269bdea1b7658d8 | [log] [tgz] |
---|---|---|
author | NĂcolas F. R. A. Prado <nfraprado@protonmail.com> | Tue Oct 13 23:13:11 2020 +0000 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Thu Oct 15 07:49:38 2020 +0200 |
tree | 55001f37d51eff4fe327db993ba9278839f35155 | |
parent | 2791f47d26d1e49a747a0a1aa2d694e6aab447ab [diff] |
docs: automarkup.py: Use new C roles in Sphinx 3 While Sphinx 2 used a single c:type role for struct, union, enum and typedef, Sphinx 3 uses a specific role for each one. To keep backward compatibility, detect the Sphinx version and use the correct roles for that version. Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@protonmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>