Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykironde committed Sep 28, 2024
1 parent 9f7ffd7 commit 9f3da34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
using [reticulate](https://rstudio.github.io/reticulate/) works.
"""

file_path = 'user_guide/deepforestr.md'
readme_url = 'https://raw.githubusercontent.com/weecology/deepforestr/main/README.md'

Expand Down Expand Up @@ -67,7 +68,7 @@
project = 'DeepForest'
copyright = "2019, Ben Weinstein"
author = "Ben Weinstein"
version = release = str(__version__.replace("dev0", ""))
version = release = str(__version__.replace("-dev0", ""))

exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '**.ipynb_checkpoints']
pygments_style = 'sphinx'
Expand Down Expand Up @@ -123,11 +124,13 @@
# Suppress warnings due to recommonmark config not being cacheable
suppress_warnings = ["config.cache", "toc.not_readable"]


# Custom CommonMark parser
class CustomCommonMarkParser(CommonMarkParser):
def visit_document(self, node):
pass


def setup(app: Any) -> None:
app.add_source_parser(CustomCommonMarkParser)
app.add_config_value(
Expand Down

0 comments on commit 9f3da34

Please sign in to comment.