Commit f181132d authored by Andrej Shadura's avatar Andrej Shadura

New upstream version 4.0.1

parent 37d86a6b
[bumpversion]
current_version = 2.3.3
current_version = 4.0.1
commit = True
tag = True
[bumpversion:file:setup.py]
[bumpversion:file:README.rst]
[bumpversion:file:docs/conf.py]
[bumpversion:file:src/darkslide/__init__.py]
......
......@@ -16,11 +16,12 @@ cookiecutter:
full_name: Ionel Cristian Mărieș
github_username: ionelmc
landscape: 'yes'
license: Apache Software License 2.0
linter: flake8
package_name: darkslide
project_name: Darkslide
project_short_description: Lightweight markup language-based html5 slideshow generator.
Forked from landslide.
release_date: today
project_short_description: Lightweight markup language-based html5 slideshow generator. Forked from Landslide.
release_date: '2016-05-15'
repo_name: python-darkslide
requiresio: 'yes'
scrutinizer: 'yes'
......@@ -30,6 +31,6 @@ cookiecutter:
test_matrix_separate_coverage: 'no'
test_runner: pytest
travis: 'yes'
version: 2.3.0
version: 2.3.3
website: http://blog.ionelmc.ro
year: 2015-2016
year: 2015-2017
......@@ -4,8 +4,10 @@ source =
*/site-packages/darkslide
[run]
branch = True
source = darkslide
branch = true
source =
darkslide
tests
parallel = true
[report]
......
language: python
python: '3.5'
sudo: false
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
matrix:
- TOXENV=check
- TOXENV=docs
- TOXENV=examples,publish
- TOXENV=py27,coveralls,codecov
- TOXENV=py33,coveralls,codecov
- TOXENV=py34,coveralls,codecov
- TOXENV=py35,coveralls,codecov
- TOXENV=pypy,coveralls,codecov
matrix:
include:
- python: '2.7'
env:
- TOXENV=py27,report,coveralls,codecov
- python: '3.3'
env:
- TOXENV=py33,report,coveralls,codecov
- python: '3.4'
env:
- TOXENV=py34,report,coveralls,codecov
- python: '3.5'
env:
- TOXENV=py35,report,coveralls,codecov
- python: '3.6'
env:
- TOXENV=py36,report,coveralls,codecov
- python: 'pypy-5.4'
env:
- TOXENV=pypy,report,coveralls,codecov
before_install:
- |
if [[ "${TOXENV}" =~ "publish" ]]; then
......@@ -40,11 +54,6 @@ script:
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- $HOME/.cache/pip
notifications:
email:
on_success: never
......
......@@ -2,6 +2,50 @@
Changelog
=========
Darkslide v4.0.1 (2017-10-19)
=============================
* Fixed print css a bit.
* Fixed missing scrolling to current when changing slides while in overview mode.
Darkslide v4.0.0 (2017-10-17)
=============================
* Dropped MathJax support. Something less to maintain (also, didn't work as expected with ``--embed``). User that need this
should just use the ``user_js`` option. Or a custom theme.
* Changed themes to use a space-adjusted Alegreya Sans as a fallback.
Darkslide v3.2.0 (2017-10-17)
=============================
* Changed themes to use Rosario as a fallback. For better or worse it's smaller and has same width as Candara.
Darkslide v3.1.0 (2017-10-17)
=============================
* Changed themes to embed a Candara fallback webfont (Alegreya Sans). It's slightly narrower but looks more similar than the other
alternatives better matching Candara's width (Acme, Galdeano). It even has ligatures.
Darkslide v3.0.1 (2017-10-15)
=============================
* Fixed slightly broken slide class changing.
* Made expose mode scroll to current slide.
* Running presenter mode with no target won't break
anymore if target window is gone.
* Fixed display of presenter notes.
Darkslide v3.0.0 (2017-10-05)
=============================
* Removed "expanded mode". It was too buggy and doesn't really have a purpose.
* Changed "show context" to be "show next slide" (so two slides at a time). This is way more useful than showing little
bits of next and prev slides.
* Fixed ``--direct`` on Python 3.
* Fixed glitches when TOC/Help are open.
* Made possible to switch slides when TOC/Help/Overview are open.
Darkslide v2.3.3 (2016-05-15)
=============================
......
......@@ -49,7 +49,7 @@ To set up `python-darkslide` for local development:
Now you can make your changes locally.
4. When you're done making changes, run all the checks, doc builder and spell checker with `tox <http://tox.readthedocs.org/en/latest/install.html>`_ one command::
4. When you're done making changes, run all the checks, doc builder and spell checker with `tox <http://tox.readthedocs.io/en/latest/install.html>`_ one command::
tox
......
......@@ -14,7 +14,8 @@ Overview
| |coveralls| |codecov|
| |landscape| |scrutinizer| |codacy| |codeclimate|
* - package
- |version| |downloads| |wheel| |supported-versions| |supported-implementations|
- | |version| |wheel| |supported-versions| |supported-implementations|
| |commits-since|
.. |docs| image:: https://readthedocs.org/projects/python-darkslide/badge/?style=flat
:target: https://readthedocs.org/projects/python-darkslide
......@@ -52,27 +53,27 @@ Overview
:target: https://codeclimate.com/github/ionelmc/python-darkslide
:alt: CodeClimate Quality Status
.. |version| image:: https://img.shields.io/pypi/v/darkslide.svg?style=flat
.. |version| image:: https://img.shields.io/pypi/v/darkslide.svg
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/darkslide
.. |downloads| image:: https://img.shields.io/pypi/dm/darkslide.svg?style=flat
:alt: PyPI Package monthly downloads
:target: https://pypi.python.org/pypi/darkslide
.. |commits-since| image:: https://img.shields.io/github/commits-since/ionelmc/python-darkslide/v4.0.1.svg
:alt: Commits since latest release
:target: https://github.com/ionelmc/python-darkslide/compare/v4.0.1...master
.. |wheel| image:: https://img.shields.io/pypi/wheel/darkslide.svg?style=flat
.. |wheel| image:: https://img.shields.io/pypi/wheel/darkslide.svg
:alt: PyPI Wheel
:target: https://pypi.python.org/pypi/darkslide
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/darkslide.svg?style=flat
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/darkslide.svg
:alt: Supported versions
:target: https://pypi.python.org/pypi/darkslide
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/darkslide.svg?style=flat
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/darkslide.svg
:alt: Supported implementations
:target: https://pypi.python.org/pypi/darkslide
.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/ionelmc/python-darkslide/master.svg?style=flat
.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/ionelmc/python-darkslide/master.svg
:alt: Scrutinizer Status
:target: https://scrutinizer-ci.com/g/ionelmc/python-darkslide/
......@@ -208,7 +209,7 @@ your system:
::
$ landslide README.md -d readme.pdf
$ darkslide README.md -d readme.pdf
$ open readme.pdf
Viewing
......@@ -270,7 +271,6 @@ Several options are available using the command line:
auto-regenerate the presentation
-x EXTENSIONS, --extensions=EXTENSIONS
Comma-separated list of extensions for Markdown
-m, --math-output Enable mathematical output using mathjax
Presentation Configuration
==========================
......@@ -306,7 +306,7 @@ To generate the presentation as configured, just run:
::
$ cd /path/to/my/presentation/sources
$ landslide config.cfg
$ darkslide config.cfg
Macros
======
......@@ -403,53 +403,43 @@ Setting Custom Destination File
::
$ landslide slides.md -d ~/MyPresentations/presentation.html
$ darkslide slides.md -d ~/MyPresentations/presentation.html
Working with Directories
------------------------
::
$ landslide slides/
$ darkslide slides/
Working with Direct Output
--------------------------
::
$ landslide slides.md -o | tidy
$ darkslide slides.md -o | tidy
Using an Alternate Landslide Theme
----------------------------------
::
$ landslide slides.md -t mytheme
$ landslide slides.md -t /path/to/theme/dir
$ darkslide slides.md -t mytheme
$ darkslide slides.md -t /path/to/theme/dir
Embedding Base-64-Encoded Images
--------------------------------
::
$ landslide slides.md -i
$ darkslide slides.md -i
Exporting to PDF
----------------
::
$ landslide slides.md -d presentation.pdf
Enabling mathematical notation
------------------------------
::
Note that this require writing the slides in ReST format as well as
using Docutils 0.8 or newer.
$ landslide slides.rst -m
$ darkslide slides.md -d presentation.pdf
Enabling Markdown Extensions
----------------------------
......@@ -459,12 +449,12 @@ See documentation on available Markdown extensions
::
$ landslide slides.md -x abbr
$ darkslide slides.md -x abbr
Theming
-------
A Landslide theme is a directory following this simple structure:
A Darkslide theme is a directory following this simple structure:
::
......@@ -480,11 +470,11 @@ If a theme does not provide HTML and JS files, those from the default
theme will be used. CSS is not optional.
Last, you can also copy the whole theme directory to your presentation
one by passing the ``--copy-theme`` option to the ``landslide`` command:
one by passing the ``--copy-theme`` option to the ``darkslide`` command:
::
$ landslide slides.md -t /path/to/some/theme --copy-theme
$ darkslide slides.md -t /path/to/some/theme --copy-theme
User stylesheets and Javascripts
================================
......@@ -492,12 +482,13 @@ User stylesheets and Javascripts
If you don't want to bother making your own theme, you can include your
own user css and js files to the generated presentation.
This feature is only available if you use a landslide configuration
This feature is only available if you use a Darkslide configuration
file, by setting the ``css`` and/or ``js`` flags:
::
[landslide]
[darkslide]
; the old [landslide] is still supported
theme = /path/to/my/beautiful/theme
source = slides.mdown
css = custom.css
......@@ -509,7 +500,7 @@ and ``powerpoint.js`` files within the ``<head>`` section of the
presentation html file.
**NOTE:** Paths to the css and js files must be relative to the
directory you're running the ``landslide`` command from.
directory you're running the ``darkslide`` command from.
Publishing your Presentation Online
===================================
......@@ -520,11 +511,11 @@ have all asset links relative to the root of your presentation;
::
$ landslide slides.md --relative --copy-theme
$ darkslide slides.md --relative --copy-theme
That way, you'll just have to host the whole presentation directory to a
webserver. Of course, no Python nor PHP nor anything else than a HTTP
webserver (like Apache) is required to host a landslide presentation.
webserver (like Apache) is required to host a Darkslide presentation.
`Here's an example <http://www.akei.com/presentations/2011-Djangocong/index.html>`__.
......
......@@ -7,48 +7,63 @@ environment:
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
matrix:
- TOXENV: check
TOXPYTHON: C:\Python27\python.exe
PYTHON_HOME: C:\Python27
PYTHON_VERSION: '2.7'
PYTHON_ARCH: '32'
- TOXENV: 'py27,codecov'
- TOXENV: 'py27,report,codecov'
TOXPYTHON: C:\Python27\python.exe
PYTHON_HOME: C:\Python27
PYTHON_VERSION: '2.7'
PYTHON_ARCH: '32'
- TOXENV: 'py27,codecov'
- TOXENV: 'py27,report,codecov'
TOXPYTHON: C:\Python27-x64\python.exe
WINDOWS_SDK_VERSION: v7.0
PYTHON_HOME: C:\Python27-x64
PYTHON_VERSION: '2.7'
PYTHON_ARCH: '64'
- TOXENV: 'py34,codecov'
- TOXENV: 'py33,report,codecov'
TOXPYTHON: C:\Python33\python.exe
PYTHON_HOME: C:\Python33
PYTHON_VERSION: '3.3'
PYTHON_ARCH: '32'
- TOXENV: 'py33,report,codecov'
TOXPYTHON: C:\Python33-x64\python.exe
WINDOWS_SDK_VERSION: v7.1
PYTHON_HOME: C:\Python33-x64
PYTHON_VERSION: '3.3'
PYTHON_ARCH: '64'
- TOXENV: 'py34,report,codecov'
TOXPYTHON: C:\Python34\python.exe
PYTHON_HOME: C:\Python34
PYTHON_VERSION: '3.4'
PYTHON_ARCH: '32'
- TOXENV: 'py34,codecov'
- TOXENV: 'py34,report,codecov'
TOXPYTHON: C:\Python34-x64\python.exe
WINDOWS_SDK_VERSION: v7.1
PYTHON_HOME: C:\Python34-x64
PYTHON_VERSION: '3.4'
PYTHON_ARCH: '64'
- TOXENV: 'py35,codecov'
- TOXENV: 'py35,report,codecov'
TOXPYTHON: C:\Python35\python.exe
PYTHON_HOME: C:\Python35
PYTHON_VERSION: '3.5'
PYTHON_ARCH: '32'
- TOXENV: 'py35,codecov'
- TOXENV: 'py35,report,codecov'
TOXPYTHON: C:\Python35-x64\python.exe
PYTHON_HOME: C:\Python35-x64
PYTHON_VERSION: '3.5'
PYTHON_ARCH: '64'
- TOXENV: 'py36,report,codecov'
TOXPYTHON: C:\Python36\python.exe
PYTHON_HOME: C:\Python36
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '32'
- TOXENV: 'py36,report,codecov'
TOXPYTHON: C:\Python36-x64\python.exe
PYTHON_HOME: C:\Python36-x64
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '64'
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
......
......@@ -18,15 +18,17 @@ BASE_URL = "https://www.python.org/ftp/python/"
GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
GET_PIP_PATH = "C:\get-pip.py"
URLS = {
("2.7", "64"): BASE_URL + "2.7.10/python-2.7.10.amd64.msi",
("2.7", "32"): BASE_URL + "2.7.10/python-2.7.10.msi",
("2.7", "64"): BASE_URL + "2.7.13/python-2.7.13.amd64.msi",
("2.7", "32"): BASE_URL + "2.7.13/python-2.7.13.msi",
# NOTE: no .msi installer for 3.3.6
("3.3", "64"): BASE_URL + "3.3.3/python-3.3.3.amd64.msi",
("3.3", "32"): BASE_URL + "3.3.3/python-3.3.3.msi",
("3.4", "64"): BASE_URL + "3.4.3/python-3.4.3.amd64.msi",
("3.4", "32"): BASE_URL + "3.4.3/python-3.4.3.msi",
("3.5", "64"): BASE_URL + "3.5.0/python-3.5.0-amd64.exe",
("3.5", "32"): BASE_URL + "3.5.0/python-3.5.0.exe",
("3.3", "64"): BASE_URL + "3.3.5/python-3.3.5.amd64.msi",
("3.3", "32"): BASE_URL + "3.3.5/python-3.3.5.msi",
("3.4", "64"): BASE_URL + "3.4.4/python-3.4.4.amd64.msi",
("3.4", "32"): BASE_URL + "3.4.4/python-3.4.4.msi",
("3.5", "64"): BASE_URL + "3.5.4/python-3.5.4-amd64.exe",
("3.5", "32"): BASE_URL + "3.5.4/python-3.5.4.exe",
("3.6", "64"): BASE_URL + "3.6.2/python-3.6.2-amd64.exe",
("3.6", "32"): BASE_URL + "3.6.2/python-3.6.2.exe",
}
INSTALL_CMD = {
# Commands are allowed to fail only if they are not the last command. Eg: uninstall (/x) allowed to fail.
......@@ -37,6 +39,7 @@ INSTALL_CMD = {
"3.4": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
"3.5": [["{path}", "/quiet", "TargetDir={home}"]],
"3.6": [["{path}", "/quiet", "TargetDir={home}"]],
}
......
:: To build extensions for 64 bit Python 3, we need to configure environment
:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
:: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1)
::
:: To build extensions for 64 bit Python 2, we need to configure environment
:: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of:
:: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0)
::
:: 32 bit builds do not require specific environment configurations.
::
:: Note: this script needs to be run with the /E:ON and /V:ON flags for the
:: cmd interpreter, at least for (SDK v7.0)
::
:: More details at:
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
:: http://stackoverflow.com/a/13751649/163740
::
:: Author: Olivier Grisel
:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
:: Very simple setup:
:: - if WINDOWS_SDK_VERSION is set then activate the SDK.
:: - disable the WDK if it's around.
SET COMMAND_TO_RUN=%*
SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows
SET WIN_WDK="c:\Program Files (x86)\Windows Kits\10\Include\wdf"
ECHO SDK: %WINDOWS_SDK_VERSION% ARCH: %PYTHON_ARCH%
IF "%PYTHON_VERSION%"=="3.5" (
IF EXIST %WIN_WDK% (
REM See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
REN %WIN_WDK% 0wdf
)
GOTO main
)
IF "%PYTHON_ARCH%"=="32" (
GOTO main
IF EXIST %WIN_WDK% (
REM See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
REN %WIN_WDK% 0wdf
)
IF "%WINDOWS_SDK_VERSION%"=="" GOTO main
SET DISTUTILS_USE_SDK=1
SET MSSdk=1
......@@ -41,6 +19,5 @@ SET MSSdk=1
CALL "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release
:main
ECHO Executing: %COMMAND_TO_RUN%
CALL %COMMAND_TO_RUN% || EXIT 1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import os
import sys
from os.path import abspath
from os.path import dirname
from os.path import exists
from os.path import join
if __name__ == "__main__":
base_path = dirname(dirname(abspath(__file__)))
print("Project path: {0}".format(base_path))
env_path = join(base_path, ".tox", "bootstrap")
if sys.platform == "win32":
bin_path = join(env_path, "Scripts")
else:
bin_path = join(env_path, "bin")
if not exists(env_path):
import subprocess
print("Making bootstrap env in: {0} ...".format(env_path))
try:
subprocess.check_call(["virtualenv", env_path])
except subprocess.CalledProcessError:
subprocess.check_call([sys.executable, "-m", "virtualenv", env_path])
print("Installing `jinja2` into bootstrap environment...")
subprocess.check_call([join(bin_path, "pip"), "install", "jinja2"])
activate = join(bin_path, "activate_this.py")
# noinspection PyCompatibility
exec(compile(open(activate, "rb").read(), activate, "exec"), dict(__file__=activate))
import jinja2
import subprocess
jinja = jinja2.Environment(
loader=jinja2.FileSystemLoader(join(base_path, "ci", "templates")),
trim_blocks=True,
lstrip_blocks=True,
keep_trailing_newline=True
)
tox_environments = [
line.strip()
# WARNING: 'tox' must be installed globally or in the project's virtualenv
for line in subprocess.check_output(['tox', '--listenvs'], universal_newlines=True).splitlines()
]
tox_environments = [line for line in tox_environments if line not in ['clean', 'report', 'docs', 'check',
'examples', 'publish']]
for name in os.listdir(join("ci", "templates")):
with open(join(base_path, name), "w") as fh:
fh.write(jinja.get_template(name).render(tox_environments=tox_environments))
print("Wrote {}".format(name))
print("DONE.")
language: python
sudo: false
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
matrix:
- TOXENV=check
- TOXENV=docs
- TOXENV=examples,publish
matrix:
include:
{%- for env in tox_environments %}{{ '' }}
- python: '{{ '{0[0]}-5.4'.format(env.split('-')) if env.startswith('pypy') else '{0[2]}.{0[3]}'.format(env) }}'
env:
- TOXENV={{ env }},report,coveralls,codecov
{%- endfor %}{{ '' }}
before_install:
- |
if [[ "${TOXENV}" =~ "publish" ]]; then
openssl aes-256-cbc -K $encrypted_fabbc4622c56_key -iv $encrypted_fabbc4622c56_iv -in publish-key.enc -out ~/.ssh/publish-key -d
chmod u=rw,og= ~/.ssh/publish-key
echo "Host github.com" >> ~/.ssh/config
echo " IdentityFile ~/.ssh/publish-key" >> ~/.ssh/config
git --version
git remote set-url origin git@github.com:ionelmc/python-darkslide.git
git fetch origin -f gh-pages:gh-pages
fi
- python --version
- uname -a
- lsb_release -a
install:
- pip install tox
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
script:
- tox -v
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: never
on_failure: always
version: '{branch}-{build}'
build: off
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
global:
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
matrix:
- TOXENV: check
TOXPYTHON: C:\Python27\python.exe
PYTHON_HOME: C:\Python27
PYTHON_VERSION: '2.7'
PYTHON_ARCH: '32'
{% for env in tox_environments %}{{ '' }}{% if env.startswith(('py2', 'py3')) %}
- TOXENV: '{{ env }},report,codecov'
TOXPYTHON: C:\Python{{ env[2:4] }}\python.exe
PYTHON_HOME: C:\Python{{ env[2:4] }}
PYTHON_VERSION: '{{ env[2] }}.{{ env[3] }}'
PYTHON_ARCH: '32'
- TOXENV: '{{ env }},report,codecov'
TOXPYTHON: C:\Python{{ env[2:4] }}-x64\python.exe
{%- if env.startswith(('py2', 'py33', 'py34')) %}
WINDOWS_SDK_VERSION: v7.{{ '1' if env.startswith('py3') else '0' }}
{%- endif %}
PYTHON_HOME: C:\Python{{ env[2:4] }}-x64
PYTHON_VERSION: '{{ env[2] }}.{{ env[3] }}'
PYTHON_ARCH: '64'
{% endif %}{% endfor %}
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
- python -u ci\appveyor-bootstrap.py
- '%PYTHON_HOME%\Scripts\virtualenv --version'
- '%PYTHON_HOME%\Scripts\easy_install --version'
- '%PYTHON_HOME%\Scripts\pip --version'
- '%PYTHON_HOME%\Scripts\tox --version'
test_script:
- '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'
on_failure:
- ps: dir "env:"
- ps: get-content .tox\*\log\*
artifacts:
- path: dist\*
### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
......@@ -23,10 +23,10 @@ if os.getenv('SPELLCHECK'):
source_suffix = '.rst'
master_doc = 'index'
project = 'Darkslide'
year = '2015-2016'
year = '2015-2017'
author = 'Ionel Cristian Mărieș'
copyright = '{0}, {1}'.format(year, author)
version = release = '2.3.3'
version = release = '4.0.1'
pygments_style = 'trac'
templates_path = ['.']
......@@ -43,7 +43,7 @@ html_theme_options = {
html_use_smartypants = True
html_last_updated_fmt = '%b %d, %Y'
html_split_index = True
html_split_index = False
html_sidebars = {
'**': ['searchbox.html', 'globaltoc.html', 'sourcelink.html'],
}
......
[landslide]
[darkslide]
source = ../markdown
../restructuredtext
../textile
../multiple-files
../other-features
math_output = true
# Title Slide
.footer: [default theme](.) | [abyss theme](abyss.html) | [void theme](void.html) | [github](https://github.com/ionelmc/python-darkslide)
.footer: [default theme](.) | [abyss theme](abyss.html) | [void theme](void.html) | [white theme](white.html) | [github](https://github.com/ionelmc/python-darkslide)
---
......@@ -39,6 +39,20 @@ lacinia fermentum augue.
---
# First heading: *lorem ipsum* dolor sit
## Second: *lorem ipsum* dolor sfi amet, consecte
### Third: *lorem ipsum* dolor sit amet, consectetur adipiscing
* 1
* 2
* 3
* 4
* 5
* 6
* 7
---
# Lists
## Unordered List
......
# Other Features
# Other Features: QR
---
# Math
MathJax rendering is available for presentations compiled with the `-m` flag
\\[ \\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\]
---