From bdd29df7c72cd8de6f532540eed1bb5cb35ddb15 Mon Sep 17 00:00:00 2001 From: Jacob Welsh Date: Tue, 30 Sep 2014 15:17:17 -0500 Subject: [PATCH 1/2] Fix DPASTE_SLUG_CHOICES alphabet in documentation --- docs/settings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/settings.rst b/docs/settings.rst index e606646..3ef833e 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -16,7 +16,7 @@ behavior without touching the code: ``DPASTE_SLUG_CHOICES`` String. A string of characters which are used to create the random slug. - Default: ``abcdefghijkmnopqrstuvwwxyzABCDEFGHIJKLOMNOPQRSTUVWXYZ1234567890`` + Default: ``abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ1234567890`` ``DPASTE_LEXER_DEFAULT`` String. The lexer key that is pre-selected in the dropdown. Note that From fa95dc64e8b552d7043d7b7e120bb4d422649f9e Mon Sep 17 00:00:00 2001 From: Jacob Welsh Date: Tue, 30 Sep 2014 15:36:37 -0500 Subject: [PATCH 2/2] Fix non-readthedocs sphinx build Note, this means you have to set the environment variable READTHEDOCS=True to use the RTD theme, which appears to have been the intent. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index eb7f4b2..4f47c3b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -95,7 +95,7 @@ pygments_style = 'sphinx' # -- Options for HTML output ---------------------------------------------- -if not os.environ.get('READTHEDOCS', None) == 'True': +if os.environ.get('READTHEDOCS', None) == 'True': import sphinx_rtd_theme html_theme = "sphinx_rtd_theme" html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]