Skip to content

Commit

Permalink
PKG & DOC
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Aug 16, 2024
1 parent ae2f7f0 commit c04c64f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,28 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_logo = "_static/logo2.png"
html_static_path = ["_static"]
html_theme = "pydata_sphinx_theme"
html_title = f"{project} {version}"

html_context = {
"github_user": "BCDA-APS",
"github_repo": "pvMail",
"github_version": "main",
"doc_path": "docs",
}

html_theme_options = {
"github_url": "https://github.com/BCDA-APS/pvMail",
"logo": {
"text": html_title,
"image_dark": "_static/logo2.png",
},
"use_edit_page_button": True,
"navbar_align": "content",
}

# https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports
autodoc_mock_imports = """
pydm
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pvMail_mail_config_file = "PvMail.ini_config:main"
line_length = 88

[tool.copyright]
copyright = "Copyright (c) 2009-2024, UChicago Argonne, LLC. See LICENSE file."
copyright = "(c) 2009-2024, UChicago Argonne, LLC. See LICENSE file."

[tool.coverage.run]
concurrency = [
Expand Down

0 comments on commit c04c64f

Please sign in to comment.