diff --git a/_shared_assets/themes/nextcloud_com/static/styles.css b/_shared_assets/themes/nextcloud_com/static/styles.css index 8ee969e1b..743c1111f 100644 --- a/_shared_assets/themes/nextcloud_com/static/styles.css +++ b/_shared_assets/themes/nextcloud_com/static/styles.css @@ -1153,7 +1153,8 @@ li.next { max-width: 40%; min-width: 200px; } -.figure.figure-with-code + .code.html { +.figure.figure-with-code + .code.html, +.figure.figure-with-code + .highlight-html { max-width: 59%; } diff --git a/developer_manual/conf.py b/developer_manual/conf.py index cf0807356..9ce75ea69 100644 --- a/developer_manual/conf.py +++ b/developer_manual/conf.py @@ -292,3 +292,12 @@ epub_copyright = u'2012-2017, The Nextcloud developers' # Include todos? todo_include_todos = True + + +from sphinx.builders.html import StandaloneHTMLBuilder +StandaloneHTMLBuilder.supported_image_types = [ + 'image/svg+xml', + 'image/gif', + 'image/png', + 'image/jpeg' +] diff --git a/developer_manual/design/navigation.rst b/developer_manual/design/navigation.rst index ac669e84d..485c2d708 100644 --- a/developer_manual/design/navigation.rst +++ b/developer_manual/design/navigation.rst @@ -28,7 +28,7 @@ Basic layout :alt: Navigation screenshot :figclass: figure-with-code -.. code:: html +.. code-block:: html