Don't download and embed images for C# docs (#179)
With the `--self-contained` flag to Pandoc, we were downloading the NuGet version badges at build time and embedding them in the generated HTML as data URIs. We actually want those to be fetched anew each time someone renders the page so they see the latest version, not the version that was current when the page was generated. This should also get rid of the build failures we were seeing when shields.io was down.
This commit is contained in:
Родитель
a93f4ce844
Коммит
620022c0a2
|
@ -99,7 +99,7 @@ if (Haskell_PANDOC_EXECUTABLE AND Doxygen_EXECUTABLE)
|
||||||
|
|
||||||
add_pandoc_markdown (src/bond_cs.md
|
add_pandoc_markdown (src/bond_cs.md
|
||||||
CODE "cs,numberLines"
|
CODE "cs,numberLines"
|
||||||
OPTIONS --self-contained --table-of-contents
|
OPTIONS --table-of-contents
|
||||||
OUTPUT_DIR manual)
|
OUTPUT_DIR manual)
|
||||||
|
|
||||||
add_pandoc_markdown (src/reference_index.md
|
add_pandoc_markdown (src/reference_index.md
|
||||||
|
|
Загрузка…
Ссылка в новой задаче