Skip to content

Commit

Permalink
Try github links extension
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweger committed Oct 11, 2024
1 parent a718bf8 commit c261e60
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 6 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"sphinx_copybutton",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"myst_parser", # markdown (NOTE: this is NOT mystmd)
"spinx_github_style",
"sphinxext.opengraph",
"sphinx.ext.napoleon",
]
Expand All @@ -37,7 +37,8 @@
}
intersphinx_disabled_domains = ["std"]

copybutton_prompt_text = ">>> ,$"
copybutton_prompt_text = r">>> |\$ "
copybutton_only_copy_prompt_lines = True

templates_path = ["_templates"]

Expand All @@ -58,6 +59,9 @@
html_title = "Cladetime"
html_last_updated_fmt = "%Y-%m-%d"

# Settings for the GitHub link extension
linkcode_url = "https://github.com/reichlab/cladetime"

# These folders are copied to the documentation's HTML output
html_theme_options = {
"announcement": """
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ authors = [

requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}

classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
]

dependencies = [
"awscli>=1.32.92",
Expand Down Expand Up @@ -47,11 +51,14 @@ docs = [
"myst-parser",
"sphinx>=5.0,<6.0",
"sphinx-copybutton",
"sphinx-github-style",
"sphinxext-opengraph",
]

[project.urls]
Repository = "https://github.com/reichlab/cladetime.git"
Documentation = "https://cladetime.readthedocs.io/"
Issues = "https://github.com/reichlab/cladetime/issues"

[project.entry-points."console_scripts"]
assign_clades = "cladetime.assign_clades:main"
Expand Down

0 comments on commit c261e60

Please sign in to comment.