mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
b99bad47b5
- rebase sass files to ./sass - Place all theme files in ./sphinx_rtd_theme - Grunt now uses `default` and `build` tasks - `build` will minify css for committing / dist - Added Gemfile and requirements.txt for python/ruby requirements - Cleaned up Gruntfile, copying no longer needed. - moved compass config to compass.rb Squashed commits: - Move out sphinx_rtd_theme to root folder - Manifest unneeded - Move out sass to root dir - Remove dist from git - Reconfigure paths - Add requirements for sphinx - Add gemfile for compass - Udpate components path - Move to static/css - Add line for rbenv - Require livereload, don't need copy - Comment static path, update theme path for demo conf.py - Add css files - Correct name of .ruby-version... - Update path to theme.css - Remove unprefixed badge_only.css - Update location of theme.js - Update paths in Gruntfile, tasks - re-add __init__.py, bump version - Update setup.py to pick up version easily - Move config.rb to compass.rb - Correct compass import paths - Add debug / production environment - Commit with production built css - Add theme.conf, get requires from requirements.txt - rename tasks, use sphinx-build, add comments - Fix font path - Update css files
18 lines
371 B
Python
18 lines
371 B
Python
"""Sphinx ReadTheDocs theme.
|
|
|
|
From https://github.com/ryan-roemer/sphinx-bootstrap-theme.
|
|
|
|
"""
|
|
import os
|
|
|
|
VERSION = (0, 1, 3)
|
|
|
|
__version__ = ".".join(str(v) for v in VERSION)
|
|
__version_full__ = __version__
|
|
|
|
|
|
def get_html_theme_path():
|
|
"""Return list of HTML theme paths."""
|
|
cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
|
return cur_dir
|