Skip to content

Commit

Permalink
Fix RTD build (#449)
Browse files Browse the repository at this point in the history
* Fix RTD build.

* Update conf.py

* Try fixing.

* Drop recommonmark.

* Update index.rst

* Link out to release notes.

* Update index.rst
  • Loading branch information
tsalo authored Oct 15, 2024
1 parent d484c8e commit a98a281
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 21 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# What's new

## 0.7.3

This release fixes a bug in multi-PLD PCASL CBF calculation.
Expand Down
7 changes: 0 additions & 7 deletions docs/changes.rst

This file was deleted.

11 changes: 1 addition & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import sys
from datetime import datetime

from m2r import MdInclude
from packaging import version as pver
from sphinx import __version__ as sphinxversion

Expand All @@ -47,9 +46,9 @@
# Add any Sphinx extension module names here, as strings.
# They can be extensions coming with Sphinx (named "sphinx.ext.*") or your custom ones.
extensions = [
"myst_parser",
"nipype.sphinxext.apidoc",
"nipype.sphinxext.plot_workflow",
"recommonmark",
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
Expand Down Expand Up @@ -333,11 +332,3 @@ def setup(app):
app.add_css_file("theme_overrides.css")
# We need this for the boilerplate script
app.add_js_file("https://cdn.rawgit.com/chrisfilo/zenodo.js/v0.1/zenodo.js")
# Fix to https://github.com/sphinx-doc/sphinx/issues/7420
# from https://github.com/life4/deal/commit/7f33cbc595ed31519cefdfaaf6f415dada5acd94
# from m2r to make `mdinclude` work
app.add_config_value("no_underscore_emphasis", False, "env")
app.add_config_value("m2r_parse_relative_links", False, "env")
app.add_config_value("m2r_anonymous_references", False, "env")
app.add_config_value("m2r_disable_inline_math", False, "env")
app.add_directive("mdinclude", MdInclude)
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Contents
spaces
contributors
api
changes
What's New <https://github.com/PennLINC/aslprep/releases>
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,11 @@ NiPreps = "https://www.nipreps.org/"
doc = [
"doctest-ignore-unicode",
"lxml_html_clean",
"m2r",
"mistune < 4", # just temporary until m2r addresses this issue
"myst_parser",
"nbsphinx",
"packaging",
"pydot >= 1.2.3",
"pydotplus",
"recommonmark",
"sphinx >= 6.2.1",
"sphinx-argparse",
"sphinx-markdown-tables",
Expand Down

0 comments on commit a98a281

Please sign in to comment.