From 5780a4521e51e71fa8f2e20bb96d5d41ca3357f4 Mon Sep 17 00:00:00 2001 From: Danny Hermes Date: Fri, 7 Aug 2015 09:22:57 -0700 Subject: [PATCH] Removing unused CSS and normalizing indents in docs/conf.py. --- docs/_static/css/github.min.css | 1 - docs/_templates/layout.html | 4 ++-- docs/conf.py | 20 ++++++++++---------- scripts/versions.html.template | 1 - 4 files changed, 12 insertions(+), 14 deletions(-) delete mode 100755 docs/_static/css/github.min.css diff --git a/docs/_static/css/github.min.css b/docs/_static/css/github.min.css deleted file mode 100755 index 2bd26b60f15d..000000000000 --- a/docs/_static/css/github.min.css +++ /dev/null @@ -1 +0,0 @@ -.hljs{display:block;padding:.5em;color:#333;background:#f8f8f8}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#099}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.tex .hljs-formula{color:#d14}.hljs-title,.hljs-id,.coffeescript .hljs-params,.scss .hljs-preprocessor{color:#900;font-weight:bold}.javascript .hljs-title,.lisp .hljs-title,.clojure .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body{color:#008080}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in,.lisp .hljs-title,.clojure .hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa} \ No newline at end of file diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 497013eec089..1227333d5d20 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,6 +1,6 @@ -{% extends "basic/layout.html" %} +{% extends "!layout.html" %} {% set script_files = ['_static/js/vendor/modernizr-2.6.2.min.js'] %} -{% set css_files = css_files + ['_static/css/normalize.css', '_static/css/github.min.css'] %} +{% set css_files = css_files + ['_static/css/normalize.css'] %} {%- block doctype -%} diff --git a/docs/conf.py b/docs/conf.py index afc383fbb989..7671a599e5c1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,9 +46,9 @@ # Add any paths that contain templates here, relative to this directory. if ON_READ_THE_DOCS or LOCAL_READ_THE_DOCS: - templates_path = [] + templates_path = [] else: - templates_path = ['_templates'] + templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -112,10 +112,10 @@ # a list of builtin themes. if LOCAL_READ_THE_DOCS: - html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + html_theme = 'sphinx_rtd_theme' + html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] elif not ON_READ_THE_DOCS: - html_style = 'css/main.css' + html_style = 'css/main.css' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -213,8 +213,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'gcloud.tex', u'gCloud Documentation', - author, 'manual'), + ('index', 'gcloud.tex', u'gCloud Documentation', + author, 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -257,9 +257,9 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'gcloud', u'gCloud Documentation', - author, 'gcloud', 'Python API for Google Cloud.', - 'Miscellaneous'), + ('index', 'gcloud', u'gCloud Documentation', + author, 'gcloud', 'Python API for Google Cloud.', + 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. diff --git a/scripts/versions.html.template b/scripts/versions.html.template index 97400bd9778a..b00ea8c86778 100644 --- a/scripts/versions.html.template +++ b/scripts/versions.html.template @@ -9,7 +9,6 @@ -