The ``latex2svg.py`` utility from :gh:`tuxu/latex2svg` can be used to generate
SVG representation of your LaTeX math formulas. Assuming you have some LaTeX
-distribution and `dvisvgm <http://dvisvgm.bplaced.net/>`_ installed, the usage
-is simple:
+distribution and `dvisvgm <https://dvisvgm.de/>`_ installed, the usage is:
.. code:: sh
.. role:: html(code)
:language: html
-Inspired by `Bootstrap <http://getbootstrap.com>`_, the grid system is the
+Inspired by `Bootstrap <https://getbootstrap.com>`_, the grid system is the
heart of a responsive website layout. The `m-grid.css <{filename}/css.rst>`_
file contains all the setup you need for it, it's completely standalone.
Besides that, in order to have devices recognize your website properly as
:language: sh
A modern, mobile-friendly drop-in replacement for the stock
-`Doxygen <http://www.doxygen.org>`_ HTML output, with a first-class search
+`Doxygen <https://www.doxygen.org>`_ HTML output, with a first-class search
functionality. Generated from Doxygen-produced XML files, filenames and URLs
are fully compatible with the stock output to avoid broken links once you
switch.
-.. button-success:: http://doc.magnum.graphics
+.. button-success:: https://doc.magnum.graphics
Live demo
If you want to know more, the search functionality implementation and
features are detailed
- `in this blog post <http://blog.magnum.graphics/meta/implementing-a-fast-doxygen-search/>`_.
+ `in this blog post <https://blog.magnum.graphics/meta/implementing-a-fast-doxygen-search/>`_.
`Important differences to stock HTML output`_
---------------------------------------------
Centered.
@endparblock
- @m_div{m-button m-primary} <a href="http://doc.magnum.graphics/">@m_div{m-big}See
+ @m_div{m-button m-primary} <a href="https://doc.magnum.graphics/">@m_div{m-big}See
it live! @m_enddiv @m_div{m-small} uses the m.css theme @m_enddiv </a> @m_enddiv
This text contains a @span{m-text m-success} green @endspan word.
Centered.
- .. button-primary:: http://doc.magnum.graphics
+ .. button-primary:: https://doc.magnum.graphics
See it live!
:summary: This article has a cool summary.
This article has not only cool summary, but also has cool contents. Lorem?
- *Ipsum.* `Hi, google! <http://google.com>`_
+ *Ipsum.* `Hi, google! <https://google.com>`_
If you did everything right, the auto-reload script should pick the file up and
process it (check the console output). Then it's just a matter of refreshing
.. code:: py
M_BLOG_NAME = "Your Brand Blog"
- M_BLOG_URL = 'http://blog.your.brand/'
+ M_BLOG_URL = 'https://blog.your.brand/'
M_BLOG_DESCRIPTION = "Your Brand is the brand that provides all that\'s needed."
M_SOCIAL_TWITTER_SITE = '@your.brand'
M_SOCIAL_TWITTER_SITE_ID = 1234567890
- M_SOCIAL_IMAGE = 'http://your.brand/static/site.png'
+ M_SOCIAL_IMAGE = 'https://your.brand/static/site.png'
M_SOCIAL_BLOG_SUMMARY = "This is the brand you need"
.. _global-site-image:
.. note-success::
You can see how this block looks on the Magnum Engine main page:
- http://magnum.graphics
+ https://magnum.graphics
`(Social) meta tags for pages`_
-------------------------------
============
Repeated link to `Google`_. Anonymous links that share the same titles
- `here <http://blog.mosra.cz>`__ and `here <http://magnum.graphics/>`__.
+ `here <http://blog.mosra.cz>`__ and `here <https://magnum.graphics/>`__.
Link to `an anchor`_ above.
.. _an anchor:
<h2><a href="#a-heading">A heading</a></h2>
Repeated link to `Google`_. Anonymous links that share the same titles
- `here <http://blog.mosra.cz>`__ and `here <http://magnum.graphics/>`__.
+ `here <http://blog.mosra.cz>`__ and `here <https://magnum.graphics/>`__.
Link to `an anchor`_ above.
.. raw:: html
M_HTMLSANITY_SMART_QUOTES = True
M_HTMLSANITY_HYPHENATION = True
-Hyphenation (see below) requires the `Pyphen <http://pyphen.org/>`_ library,
+Hyphenation (see below) requires the `Pyphen <https://pyphen.org/>`_ library,
either install it via ``pip`` or your distribution package manager or disable
it with the above setting.
screens of mobile devices, where there is just way too much blank space because
of long words being wrapped on new lines.
-The hyphenation is done using `Pyphen <http://pyphen.org/>`_ and is applied to
+The hyphenation is done using `Pyphen <https://pyphen.org/>`_ and is applied to
whole document contents and fields that are included in the :py:`FORMATTED_FIELDS`.
All other fields including document title are excluded from hyphenation, the
same goes for literal and raw blocks and links with URL (or e-mail) as a title.
so it does the right thing also when dealing with absolute URLs and even when
they start with just ``//``.
-For example, if :py:`SITEURL` is :py:`'http://your.site'` and you apply
-``format_siteurl`` to :py:`'about/'`, then you get ``http://your.site/about/``;
+For example, if :py:`SITEURL` is :py:`'https://your.site'` and you apply
+``format_siteurl`` to :py:`'about/'`, then you get ``https://your.site/about/``;
but if you apply it to :py:`'https://github.com/mosra/m.css'`, then you get
just ``https://github.com/mosra/m.css``.
S₂ -> S₂ [label="1"]
For more information check the official
-`GraphViz Reference <http://www.graphviz.org/doc/info/>`_, in particular the
-extensive `attribute documentation <http://www.graphviz.org/doc/info/attrs.html>`_.
+`GraphViz Reference <https://www.graphviz.org/doc/info/>`_, in particular the
+extensive `attribute documentation <https://www.graphviz.org/doc/info/attrs.html>`_.
.. note-warning::
- `Self link <{filename}/page.rst>`_ (overriden URL)
- `Self link with more params added <{filename}/page.rst#so=this&works="bad">`_
- `Link to other page <{filename}/landing.rst>`_ (it doesn't have URL overriden)
-- `Link outside <http://a.site/?and&in&url="">`_.
+- `Link outside <https://a.site/?and&in&url="">`_.