Skip to content

Commit

Permalink
Merge pull request sequana#15 from cokelaer/remove_sphinx
Browse files Browse the repository at this point in the history
remove sphinx and update sphinx doc config file
  • Loading branch information
cokelaer committed Aug 10, 2021
2 parents 7e6d91f + caa3b22 commit 9101d65
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 522 deletions.
28 changes: 5 additions & 23 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,16 @@

pkg_name = "sequana_pipetools"

# This is for ReadTheDoc
import matplotlib
matplotlib.use('Agg')


import pkg_resources
version = pkg_resources.require(pkg_name)[0].version

import matplotlib
import matplotlib.sphinxext

release = version
author = "Thomas Cokelaer"
title = "sequana_pipetools"
copyright = author + ", 2020"
copyright = author + ", 2021"
project = 'Sequana pipetools'

import easydev
from easydev import get_path_sphinx_themes


# -- General configuration -----------------------------------------------------

Expand Down Expand Up @@ -153,21 +143,13 @@

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
else:
html_theme = "default"

# 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
# documentation.
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# the user theme contains the otpions 'homepage', which is populated here
#html_theme_options = {'homepage': init_sphinx.url}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = [get_path_sphinx_themes()]



Expand Down
Empty file.
115 changes: 0 additions & 115 deletions sequana_pipetools/sphinxext/sequana_pipeline.py

This file was deleted.

151 changes: 0 additions & 151 deletions sequana_pipetools/sphinxext/snakemakerule.py

This file was deleted.

Loading

0 comments on commit 9101d65

Please sign in to comment.