Commit dd190545 authored by Hubert Chathi's avatar Hubert Chathi
Browse files

fix doc building. Thanks to Jonas Smedegaard.

parent 99088629
Pipeline #15970 passed with stages
in 4 minutes and 51 seconds
Changes in `3.2.10 <https://gitlab.matrix.org/matrix-org/olm/tags/3.2.10>`_ Changes in `3.2.10 <https://gitlab.matrix.org/matrix-org/olm/tags/3.2.10>`_
========================================================================= ===========================================================================
This release includes no change since 3.2.9, but is created to be able to This release includes no change since 3.2.9, but is created to be able to
publish again the Android library on MavenCentral. publish again the Android library on MavenCentral.
...@@ -113,11 +113,13 @@ Changes in `3.1.5 <https://gitlab.matrix.org/matrix-org/olm/tags/3.1.5>`_ ...@@ -113,11 +113,13 @@ Changes in `3.1.5 <https://gitlab.matrix.org/matrix-org/olm/tags/3.1.5>`_
This release includes the following changes since 3.1.4: This release includes the following changes since 3.1.4:
* Build improvements: * Build improvements:
* Fix CMake handling when installing in a non-standard location. Thanks to * Fix CMake handling when installing in a non-standard location. Thanks to
Alexey Rusakov. Alexey Rusakov.
* Add support in the Makefile for creating a WASM-ready archive. Thanks to * Add support in the Makefile for creating a WASM-ready archive. Thanks to
stoically. stoically.
* Improve support for LLVM is Makefile. Thanks to caywin25 for reporting. * Improve support for LLVM is Makefile. Thanks to caywin25 for reporting.
* Add a TypeScript definition file. * Add a TypeScript definition file.
* Some documentation and example fixes. * Some documentation and example fixes.
* Add list of bindings to the README. * Add list of bindings to the README.
......
...@@ -401,6 +401,9 @@ $(BUILD_DIR)/fuzzers/fuzz_%_msan: fuzzing/fuzzers/fuzz_%.cpp $(FUZZER_MSAN_OBJEC ...@@ -401,6 +401,9 @@ $(BUILD_DIR)/fuzzers/fuzz_%_msan: fuzzing/fuzzers/fuzz_%.cpp $(FUZZER_MSAN_OBJEC
%.html: %.rst %.html: %.rst
rst2html $< $@ rst2html $< $@
%.html: %.md
pandoc --from markdown --to html5 --standalone --lua-filter gitlab-math.lua --katex -o $@ $<
### dependencies ### dependencies
-include $(RELEASE_OBJECTS:.o=.d) -include $(RELEASE_OBJECTS:.o=.d)
......
function Math(el)
if el.mathtype == "InlineMath" then
if el.text:sub(1,1) == '`' and el.text:sub(#el.text) == '`' then
local text = el.text:sub(2,#el.text-1)
return pandoc.Math(el.mathtype, text)
else
local cont = pandoc.read(el.text)
return { pandoc.Str("$") } .. cont.blocks[1].content .. { pandoc.Str("$") }
end
end
end
function CodeBlock(el)
if el.classes[1] == "math" then
return pandoc.Para({ pandoc.Math("DisplayMath", el.text) })
end
end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment