semvec/pypi-packages huggingface dataset:
sphinxjp.themes.htmlslide 0.1.4
A sphinx theme for generate HTML Slide presentation. #sphinxjp
License: MIT
Keywords: sphinx,reStructuredText,presentation

HTML Slide style presetation theme for Sphinx.

Features
========
* Provide ``htmlslide`` theme for render presentation.
* Provide paging control by swipe action (for iPad but slow)


Output Sample
==============
:output: http://packages.python.org/sphinxjp.themes.htmlslide/
:source: http://packages.python.org/sphinxjp.themes.htmlslide/_sources/index.txt


Setup
=====
Make environment with easy_install::

    $ easy_install sphinxjp.themes.htmlslide


Convert Usage
==============
setup conf.py with::

    extensions = ['sphinxjp.themecore']
    html_theme = 'htmlslide'
    pygments_style = 'monokai'

and run::

    $ make html


Requirements
============
* sphinx 1.0.x or later.
* sphinxjp.themecore


Presentation Environments
==========================
* HTML5 ready browsers (Chrome, Safari)
* Non HTML5 ready browsers only show slide (no-animation)


License
=======
Licensed under the `MIT license <http://www.opensource.org/licenses/mit-license.php>`_ .
See the LICENSE file for specific terms.



AUTHORS
========

Sphinx template, css, packaging
--------------------------------
* Takayuki SHIMIZUKAWA <shimizukawa AT gmail.com> sphinx-users.jp

HTML Slide javascript (slide.js)
---------------------------------
* Original code: http://jsdo.it/os0x/slide
* Forked code: http://jsdo.it/nabetama/k6lQ

TODOS
======

Features
---------

* Add more paging animation types.
* Provide default settings: i.e. slide animation type.

Bugs
-----
* paging links are not working with iPad.


History
=======

0.1.4 (2012/4/22)
------------------
* fix: recover dropped template values `css_files` and `script_files`.

0.1.3 (2012/3/25)
------------------
* fixed less template: genindex.html, thank you @usaturn!

0.1.2 (2011/7/6)
------------------
* fixed namespace package declaration missing, thank you @togakushi!

0.1.1 (2011/2/20)
------------------
* update slide css, filename, pygments_style.
* add sample document in tgz package.

0.1.0 (2011/2/12)
------------------
* first release
django-template-mail 0.1
A Django application to send email using django's templating system
License: MIT

==========
Django-Template-Mail
==========
:Info: A Django application to send email using django's templating system
:Author: Benoît Bar (http://github.com/benoitbar, http://twitter.com/benoitbar)

Get started
===========

Installing
----------
::

    pip install django-template-mail

Configure your mail backend
---------------------------

django-template-mail ships with same backends as Django (https://docs.djangoproject.com/en/dev/topics/email/#email-backends). Just replace **django.core.mail** by **templatemail** ::

    EMAIL_BACKEND = 'templatemail.backends.smtp.EmailBackend'

Convert HTML into plain text
----------------------------

By default, django-template-backend use a minimalist process to convert HTML into plain text. I suggest you to use **html2text** (https://github.com/aaronsw/html2text) ::

    EMAIL_HTML2TEXT = 'html2text.html2text'

You can also write your own method and use it ::

    EMAIL_HTML2TEXT = 'your.module.yourhtml2textmethod'

Sending emails
==============

To send email with django-template-mail you simply should use the method described in the Django documentation (https://docs.djangoproject.com/en/dev/topics/email/) and replacing the **message** attribute as a tuple **('directory_template/template.html', {'key': 'value'}, context_instance)** ::
    
    from django.core.mail import send_mail
    send_mail( 
        'Welcome', 
        (
            'mail/welcome.html', 
            {
                'username': request.user.username, 
                'full_name': request.user.get_full_name(),
                'signup_date': request.user.date_joined
            }
        ),
        'from@example.com', 
        ['to@example.com'], 
        fail_silently=False
    )

django-template-mail looked in django template directories/loaders ::

    <p>Hi {{full_name}},</p> 
    <p>
        You just signed up using:
        <ul>      
            <li>username: {{username}}</li>
            <li>join date: {{signup_date}}</li>
        </ul>
    </p>
    <p>Thanks!</p>