Skip to content

Commit

Permalink
Merge pull request #685 from PlasmaControl/rc/doclink
Browse files Browse the repository at this point in the history
Add docs links to github source
  • Loading branch information
f0uriest authored Sep 25, 2023
2 parents 8332d11 + 449fb4f commit a69a6cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions devtools/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sphinx > 3.0.0
sphinx-argparse
sphinx_copybutton
sphinx-rtd-theme >= 1.0, < 2.0
sphinx-github-style >= 1.0, <= 1.1


# linting
black == 22.10.0
Expand Down
2 changes: 2 additions & 0 deletions devtools/dev-requirements_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ dependencies:
- sphinx-argparse
- sphinx-copybutton
- sphinx_rtd_theme >= 1.0, < 2.0
- pip:
- sphinx-github-style >= 1.0, <= 1.1

# linting
- black = 22.10.0
Expand Down
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,20 @@
"sphinx.ext.coverage",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinx.ext.viewcode",
"sphinx_github_style",
"sphinx.ext.githubpages",
"nbsphinx",
"sphinx.ext.napoleon",
"sphinx.ext.autosummary",
"sphinxarg.ext",
"sphinx_copybutton",
]
# options for sphinx_github_style
top_level = "desc"
linkcode_blob = "head"
linkcode_url = r"https://github.com/PlasmaControl/DESC"
linkcode_link_text = "Source"

# numpydoc_class_members_toctree = False
# Napoleon settings
napoleon_google_docstring = False
Expand Down

0 comments on commit a69a6cb

Please sign in to comment.