=================
- Setting up and using m.css for your own project is described in the
- `documentation <http://mcss.mosra.cz/>`_.
+ `documentation <https://mcss.mosra.cz/>`_.
- Documentation and the website is essential part of the project and every
larger Pelican theme, plugin code or CSS contribution should be reflected
there. Documentation and website content is written in reStructuredText and
The project is built on Travis CI on Linux with Python 3.4, 3.5 and 3.6;
Doxygen theme is tested only on 3.6 and math rendering is disabled as it's
impossible to get it working on the old Ubuntu 14.04 LTS. Build status is over
-at http://mcss.mosra.cz/build-status/.
+at https://mcss.mosra.cz/build-status/.
Contact
=======
-- Website --- http://mcss.mosra.cz
+- Website --- https://mcss.mosra.cz
- GitHub --- https://github.com/mosra/m.css
- Gitter --- https://gitter.im/mosra/m.css
- Twitter --- https://twitter.com/czmosra
make your blood boil and so you rather stay silent? Well, I have something for
you.
-Project website: http://mcss.mosra.cz
+Project website: https://mcss.mosra.cz
Pure CSS and HTML
=================
exactly 0 bytes of JavaScript because *nobody actually needs it*. Even for
responsive websites.
-`Get the CSS <http://mcss.mosra.cz/css/>`_
+`Get the CSS <https://mcss.mosra.cz/css/>`_
Designed for content
====================
forms, progressbars, popups, dropdowns or other cruft. You want fast iteration
times.
-`Use it with Pelican <http://mcss.mosra.cz/pelican/>`_
+`Use it with Pelican <https://mcss.mosra.cz/pelican/>`_
Authoring made easy
===================
way? Or making a complex page without even needing to touch HTML? Everything is
possible.
-`Get Pelican plugins <http://mcss.mosra.cz/plugins/>`_
+`Get Pelican plugins <https://mcss.mosra.cz/plugins/>`_
-------
-*Still not convinced?* Head over to a `detailed explanation <http://mcss.mosra.cz/why/>`_
+*Still not convinced?* Head over to a `detailed explanation <https://mcss.mosra.cz/why/>`_
of this project goals and design decisions.
CONTRIBUTING
Want to learn more about m.css? Found a bug or want to share an awesome idea?
Feel free to visit the project website or contact the author at:
-- Website --- http://mcss.mosra.cz
+- Website --- https://mcss.mosra.cz
- GitHub --- https://github.com/mosra/m.css
- Gitter --- https://gitter.im/mosra/m.css
- Twitter --- https://twitter.com/czmosra
.. code:: py
M_FINE_PRINT = SITENAME + """. Powered by `Pelican <https://getpelican.com>`_
- and `m.css <http://mcss.mosra.cz>`_."""
+ and `m.css <https://mcss.mosra.cz>`_."""
If :py:`M_FINE_PRINT` is set to :py:`None` and none of :py:`M_LINKS_FOOTER1`,
:py:`M_LINKS_FOOTER2`, :py:`M_LINKS_FOOTER3`, :py:`M_LINKS_FOOTER4` is set, the
.. role:: link-flat-big(link)
:class: m-flat m-text m-big
- :link-flat-big:`Look here, this is great! <http://mcss.mosra.cz>`
+ :link-flat-big:`Look here, this is great! <https://mcss.mosra.cz>`
.. role:: link-flat-big(link)
:class: m-flat m-text m-big
- :link-flat-big:`Look here, this is great! <http://mcss.mosra.cz>`
+ :link-flat-big:`Look here, this is great! <https://mcss.mosra.cz>`
`GitHub`_
=========
return serialize_search_data(trie, map, symbol_count, merge_subtrees=merge_subtrees, merge_prefixes=merge_prefixes)
def base85encode_search_data(data: bytearray) -> bytearray:
- return (b"/* Generated by http://mcss.mosra.cz/doxygen/. Do not edit. */\n" +
+ return (b"/* Generated by https://mcss.mosra.cz/doxygen/. Do not edit. */\n" +
b"Search.load('" + base64.b85encode(data, True) + b"');\n")
def parse_xml(state: State, xml: str):
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
{% if M_PAGE_FINE_PRINT == '[default]' %}
- <p>{{ PROJECT_NAME }}{% if PROJECT_BRIEF %} {{ PROJECT_BRIEF }}{% endif %}. Created by <a href="http://doxygen.org/">Doxygen</a> {{ DOXYGEN_VERSION }} and <a href="http://mcss.mosra.cz/">m.css</a>.</p>
+ <p>{{ PROJECT_NAME }}{% if PROJECT_BRIEF %} {{ PROJECT_BRIEF }}{% endif %}. Created by <a href="https://doxygen.org/">Doxygen</a> {{ DOXYGEN_VERSION }} and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
{% else %}
{{ M_PAGE_FINE_PRINT|replace('{doxygen_version}', DOXYGEN_VERSION) }}
{% endif %}
<div class="m-container">
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- <p>My Project. Created by <a href="http://doxygen.org/">Doxygen</a> 1.8.14 and <a href="http://mcss.mosra.cz/">m.css</a>.</p>
+ <p>My Project. Created by <a href="https://doxygen.org/">Doxygen</a> 1.8.14 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
</div>
</div>
</div>
<div class="m-container">
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- <p>My Project. Created by <a href="http://doxygen.org/">Doxygen</a> 1.8.14 and <a href="http://mcss.mosra.cz/">m.css</a>.</p>
+ <p>My Project. Created by <a href="https://doxygen.org/">Doxygen</a> 1.8.14 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
</div>
</div>
</div>
<h1>m.link</h1>
<!-- content -->
<ul>
-<li>URL with no title: <a href="http://mcss.mosra.cz">http://mcss.mosra.cz</a></li>
-<li>URL with a title: <a href="http://mcss.mosra.cz">m.css</a></li>
+<li>URL with no title: <a href="https://mcss.mosra.cz">https://mcss.mosra.cz</a></li>
+<li>URL with a title: <a href="https://mcss.mosra.cz">m.css</a></li>
<li>Link with a class: <a class="m-flat m-text m-strong" href="https://twitter.com/czmosra">https://twitter.com/czmosra</a></li>
</ul>
<!-- /content -->
.. role:: link-flat(link)
:class: m-flat m-text m-strong
-- URL with no title: :link:`http://mcss.mosra.cz`
-- URL with a title: :link:`m.css <http://mcss.mosra.cz>`
+- URL with no title: :link:`https://mcss.mosra.cz`
+- URL with a title: :link:`m.css <https://mcss.mosra.cz>`
- Link with a class: :link-flat:`https://twitter.com/czmosra`
<img src="./mosra.jpg" alt="An Author" />
<h3>Author name, displayed on top of the author page</h3>
<p>Contents of author details, displayed on top of the author page.
- <a href="http://mcss.mosra.cz">Link.</a></p>
+ <a href="https://mcss.mosra.cz">Link.</a></p>
</div>
<article>
<header>
`Link to the author. <{author}an-author>`_
Contents of author details, displayed on top of the author page.
-`Link. <http://mcss.mosra.cz>`_
+`Link. <https://mcss.mosra.cz>`_
`Link to the category. <{category}a-category>`_
Contents of category details, displayed on top of the category page.
-`Link. <http://mcss.mosra.cz>`_
+`Link. <https://mcss.mosra.cz>`_
<img src="./category.jpg" alt="A category" />
<h3>A category name, displayed on top of the category badge/details</h3>
<p>Contents of category details, displayed on top of the category page.
- <a href="http://mcss.mosra.cz">Link.</a></p>
+ <a href="https://mcss.mosra.cz">Link.</a></p>
</div>
<article>
<header>
<div class="m-block m-info">
<h3>Tag name, displayed on top of the tag page</h3>
<p>Contents of tag details, displayed on top of the tag page.
- <a href="http://mcss.mosra.cz">Link.</a></p>
+ <a href="https://mcss.mosra.cz">Link.</a></p>
</div>
<article>
<header>
:summary: Tag summary, used for the social <meta> tags.
Contents of tag details, displayed on top of the tag page.
-`Link. <http://mcss.mosra.cz>`_
+`Link. <https://mcss.mosra.cz>`_
{% if not M_FINE_PRINT is defined or M_FINE_PRINT %}
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- {{ (M_FINE_PRINT or SITENAME + ". Powered by `Pelican <https://getpelican.com>`_ and `m.css <http://mcss.mosra.cz>`_.")|render_rst|indent(8) }}
+ {{ (M_FINE_PRINT or SITENAME + ". Powered by `Pelican <https://getpelican.com>`_ and `m.css <https://mcss.mosra.cz>`_.")|render_rst|indent(8) }}
</div>
</div>
{% endif %}
</div>
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="http://mcss.mosra.cz">m.css</a>.</p>
+ <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="https://mcss.mosra.cz">m.css</a>.</p>
</div>
</div>
</div>
<div class="m-container">
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="http://mcss.mosra.cz">m.css</a>.</p>
+ <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="https://mcss.mosra.cz">m.css</a>.</p>
</div>
</div>
</div>
<div class="m-container">
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="http://mcss.mosra.cz">m.css</a>.</p>
+ <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="https://mcss.mosra.cz">m.css</a>.</p>
</div>
</div>
</div>
<div class="m-container">
<div class="m-row">
<div class="m-col-l-10 m-push-l-1">
- <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="http://mcss.mosra.cz">m.css</a>.</p>
+ <p>A Pelican Blog. Powered by <a href="https://getpelican.com">Pelican</a> and <a href="https://mcss.mosra.cz">m.css</a>.</p>
</div>
</div>
</div>
sys.path.append(os.curdir)
from pelicanconf import *
-SITEURL = 'http://mcss.mosra.cz'
+SITEURL = 'https://mcss.mosra.cz'
OUTPUT_PATH = 'published/'
DELETE_OUTPUT_DIRECTORY = True