Skip to content

Commit

Permalink
Update pynssp configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
rosericazondekon committed Apr 27, 2023
1 parent 388a842 commit f74ce93
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
import sphinx_rtd_theme

import pynssp

from os.path import basename, dirname, realpath

sys.path.insert(0, os.path.abspath('..'))

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

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -61,6 +62,11 @@
copyright = "2023, Gbedegnon Roseric Azondekon"
author = "Gbedegnon Roseric Azondekon"

github_user = "cdcgov"
github_repo_name = "pynssp" # auto-detected from dirname if blank
github_version = "master"
conf_py_path = "/docs/"

# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
# the built documents.
Expand Down Expand Up @@ -96,6 +102,16 @@
#
html_theme = 'sphinx_rtd_theme' #'alabaster', 'book', ...https://sphinxthemes.com/

html_context = {
"display_github": True,
"github_user": github_user,
# Auto-detect directory name. This can break, but
# useful as a default.
"github_repo": github_repo_name or basename(dirname(realpath(__file__))),
"github_version": github_version,
"conf_py_path": conf_py_path,
}

# 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.
Expand Down

0 comments on commit f74ce93

Please sign in to comment.