Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

theme for ablog

Project description

This theme is a modified “alabaster” Sphinx theme (https://github.com/bitprophet/alabaster)

Add sidebar top in mobile view

Installation

pip install alabastermobile

Or

git clone https://github.com/fraoustin/alabastermobile.git
cd alabastermobile
python setup.py install

Use

In your conf.py

import alabastermobile
html_theme = 'alabastermobile'
html_theme_path = [alabastermobile.get_path()]
extensions = ['alabaster']

html_sidebars = {
    '**': [ 'about.html',
            'postcard.html', 'navigation.html',
            'tagcloud.html',
            'categories.html',  'archives.html',
            'searchbox.html',
            ],
}

0.2.3

add .shortcutsidebar

you can add after first div.document

<div class="shortcutsidebar">
    <ul>
        <li><a href="../old/" ><i class="fa-fw fa fa-2x fa-book"></i></a></li>
        <li><a href="../cloud/"><i class="fa-fw fa fa-2x fa-cloud"></i></a></li>
        <li><a href="../git/"><i class="fa-fw fa fa-2x fa-git"></i></a></li>
    </ul>
</div>

and in div.wy-nav-top mobile

<a href="../old/" class="moreapp"><i class="fa-fw fa fa-book"></i></a>
<a href="../cloud/"class="moreapp"><i class="fa-fw fa fa-2x fa-cloud"></i></a>
<a href="../git/"class="moreapp"><i class="fa-fw fa fa-2x fa-git"></i></a>

0.2.1

correction of css

  • font body
  • div highlight

0.1.9

manage read more

0.1.8

manage text-decoration of menu

manage setup.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
alabastermobile-0.2.3.tar.gz (15.7 kB) Copy SHA256 hash SHA256 Source None Oct 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page