From 9e587a94b8985f8cd007dcec47290c1d5022d867 Mon Sep 17 00:00:00 2001 From: Trevor Bekolay Date: Fri, 19 Jan 2024 13:35:10 -0600 Subject: [PATCH] Fix CSS and move CSS file here Previously the CSS file was served through nengo.ai. Moving it here simplifies future development, and ensures that future changes to CSS don't affect older doc builds. --- .nengobones.yml | 2 + MANIFEST.in | 2 + nengo_sphinx_theme/theme/layout.html | 1 - .../theme/static/gradient-bottom-blue.svg | 17 + .../static/gradient-bottom-center-blue.svg | 17 + .../theme/static/gradient-center-blue.svg | 17 + .../theme/static/gradient-top-blue.svg | 17 + nengo_sphinx_theme/theme/static/nengo.css | 12303 ++++++++++++++++ nengo_sphinx_theme/theme/theme.conf | 1 + nengo_sphinx_theme/version.py | 2 +- 10 files changed, 12377 insertions(+), 2 deletions(-) create mode 100644 nengo_sphinx_theme/theme/static/gradient-bottom-blue.svg create mode 100644 nengo_sphinx_theme/theme/static/gradient-bottom-center-blue.svg create mode 100644 nengo_sphinx_theme/theme/static/gradient-center-blue.svg create mode 100644 nengo_sphinx_theme/theme/static/gradient-top-blue.svg create mode 100644 nengo_sphinx_theme/theme/static/nengo.css diff --git a/.nengobones.yml b/.nengobones.yml index 271ea7f..34ca1bc 100644 --- a/.nengobones.yml +++ b/.nengobones.yml @@ -22,6 +22,8 @@ manifest_in: global-include: - "*.conf" - "*.html" + - "*.css" + - "*.svg" setup_py: entry_points: diff --git a/MANIFEST.in b/MANIFEST.in index 78b0f83..4328c79 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -39,3 +39,5 @@ global-exclude *.pyc *.pyo *.pyd # Repo-specific files global-include *.conf global-include *.html +global-include *.css +global-include *.svg diff --git a/nengo_sphinx_theme/theme/layout.html b/nengo_sphinx_theme/theme/layout.html index cf0564c..1f3faa4 100644 --- a/nengo_sphinx_theme/theme/layout.html +++ b/nengo_sphinx_theme/theme/layout.html @@ -6,7 +6,6 @@ - {%- if theme_nengo_logo_color %}