Skip to content

Commit

Permalink
Change documentation theme to Pydata.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayitzin committed Aug 8, 2023
1 parent 57925c0 commit d90901f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
import sys
from datetime import datetime
sys.path.insert(0, os.path.abspath('../../ahrs' if sys.platform.startswith('win') else '../..'))
from tools.versioning import get_version

# -- Project information -----------------------------------------------------
project = 'AHRS'
author = 'Mario Garcia'
copyright = '2019-{}, {}'.format(datetime.now().year, author)
release = '0.3.1'
copyright = f"2019-{datetime.now().year}, {author}"
release = get_version()

# -- General configuration ---------------------------------------------------
extensions = [
Expand All @@ -35,8 +36,8 @@
# directories to ignore when looking for source files.
exclude_patterns = ['build']

pygments_style = 'sphinx'

# -- Options for HTML output -------------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_theme = "pydata_sphinx_theme"
html_static_path = ['_static']
html_logo = "ahrs_logo.png"
html_favicon = "ahrs_icon.ico"
4 changes: 2 additions & 2 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sphinx>=3.0
sphinx_rtd_theme>=0.5
Sphinx>=6.0
pydata_sphinx_theme>=0.13

0 comments on commit d90901f

Please sign in to comment.