Updated documentation.

development
Shawn Davis 4 years ago
parent e5b7b3dbe0
commit 23563b48b4
  1. 14
      docs/source/_static/css/custom.css
  2. 21
      docs/source/conf.py
  3. 3
      setup.py

@ -8,3 +8,17 @@
max-width: 100%;
overflow: visible;
}
.wy-nav-content {
max-width: 100% !important;
}
/*
.wy-side-nav-search {
background: #506a8a !important;
}
.wy-side-scroll {
background: #6e90b5 !important;
}
*/

@ -147,15 +147,18 @@ todo_include_todos = True
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
def setup(app):
# Some csv-table tables in the RTD theme were scrolling horizontally.
# See https://github.com/snide/sphinx_rtd_theme/issues/117
# Apparently the placement of this function is significant. It wasn't
# working at the end of the file.
# See https://github.com/syncany/syncany-docs/blob/82166518720051e413231d621c3b23b9ac35cbf6/source/conf.py#L135
# app.add_javascript("js/custom.js")
app.add_stylesheet("css/custom.css")
# https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html#adding-custom-css-or-javascript-to-sphinx-documentation
html_css_files = [
"css/custom.css",
]
# def setup(app):
# # Some csv-table tables in the RTD theme were scrolling horizontally.
# # See https://github.com/snide/sphinx_rtd_theme/issues/117
# # Apparently the placement of this function is significant. It wasn't
# # working at the end of the file.
# # See https://github.com/syncany/syncany-docs/blob/82166518720051e413231d621c3b23b9ac35cbf6/source/conf.py#L135
# # app.add_javascript("js/custom.js")
# app.add_stylesheet("css/custom.css")
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied

@ -16,10 +16,11 @@ setup(
version=read_file("VERSION.txt"),
description=read_file("DESCRIPTION.txt"),
long_description=read_file("README.markdown"),
long_description_content_type="text/markdown",
author='Shawn Davis',
author_email='shawn@develmaycare.com',
url='https://github.com/develmaycare/python-scripttease',
packages=find_packages(),
packages=find_packages(exclude=["tests"]),
include_package_data=True,
install_requires=[
"jinja2",

Loading…
Cancel
Save