From f0eba6c6d743a005bb5c748e7b33693b35631d81 Mon Sep 17 00:00:00 2001 From: TianYuan Date: Fri, 29 Oct 2021 09:27:35 +0000 Subject: [PATCH] fix demos --- docs/source/_static/custom.css | 5 + docs/source/conf.py | 3 + docs/source/tts/demo.rst | 490 +++++++++++++++++++++++++-------- 3 files changed, 387 insertions(+), 111 deletions(-) create mode 100644 docs/source/_static/custom.css diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css new file mode 100644 index 000000000..2987ae048 --- /dev/null +++ b/docs/source/_static/custom.css @@ -0,0 +1,5 @@ +.wy-nav-content { + max-width: 80%; +} +.table table{ background:#b9b9b9} +.table table td{ background:#FFF} diff --git a/docs/source/conf.py b/docs/source/conf.py index c41884ef8..f2f75ce3e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -79,6 +79,9 @@ smartquotes = False # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] html_logo = '../images/paddle.png' +html_css_files = [ + 'custom.css', +] # -- Extension configuration ------------------------------------------------- # numpydoc_show_class_members = False diff --git a/docs/source/tts/demo.rst b/docs/source/tts/demo.rst index 948fc056e..20208d2ca 100644 --- a/docs/source/tts/demo.rst +++ b/docs/source/tts/demo.rst @@ -27,74 +27,106 @@ Analysis/synthesis Audio samples generated from ground-truth spectrograms with a vocoder. .. raw:: html - + LJSpeech(English)

- + +
+
- - + + + + + + + + + + + + + - + + + + + + + + + +
GT WaveFlow Text GT WaveFlow
Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and crafts represented in the Exhibition + + + +
in being comparatively modern. - + + +
For although the Chinese took impressions from wood blocks engraved in relief for centuries before the woodcutters of the Netherlands, by a similar process +
produced the block books, which were the immediate predecessors of the true printed book + +
the invention of movable metal letters in the middle of the fifteenth century may justly be considered as the invention of the art of printing. +