Skip to content

Commit

Permalink
book construction
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Schmelzer committed Sep 28, 2023
1 parent e0884f1 commit 1304840
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Python versions and different platforms. If these tests start failing, please
fix your code and send another commit, which will re-trigger the tests.

If you'd like to add a new feature to cvxrisk, please do propose your
change on a Github issue, to make sure that your priorities align with ours.
change on a GitHub issue, to make sure that your priorities align with ours.

If you'd like to contribute code but don't know where to start, try one of the
following:
Expand Down
5 changes: 0 additions & 5 deletions book/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ execute:

parse:
myst_enable_extensions:
- substitution
- linkify
- dollarmath
myst_substitutions:
book_url: https://www.cvxgrp.org/cvxrisk


# needed for plotly
sphinx:
config:
html_js_files:
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js


# Information about where the book exists on the web
repository:
url: https://github.com/cvxgrp/cvxrisk
Expand Down
2 changes: 1 addition & 1 deletion book/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Sphinx

{{ '[API]({url}/sphinx/)'.format(url=book_url) }}
[API](https://www.cvxgrp.org/cvxrisk/sphinx/)
4 changes: 2 additions & 2 deletions book/docs/reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Timing

{{ '[Report]({url}/tests/html-report/report.html)'.format(url=book_url) }}
[Report](https://www.cvxgrp.org/cvxrisk/tests/html-report/report.html)

## Coverage

{{ '[Coverage]({url}/tests/html-coverage/index.html)'.format(url=book_url) }}
[Coverage](https://www.cvxgrp.org/cvxrisk/tests/html-coverage/index.html)
12 changes: 7 additions & 5 deletions book/sphinx/conf.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from __future__ import annotations

master_doc = "index"
project = "cvxrisk"

master_doc = "index"

source_suffix = {
".rst": "restructuredtext",
".md": "markdown",
Expand All @@ -15,9 +16,10 @@
"autoapi.extension",
]

source_dirs = "cvx"

source_dir = "cvx"
autoapi_type = "python"
autoapi_dirs = [f"../../{ source_dirs }"]
autoapi_dirs = [f"../../{source_dir}"]
autoapi_options = [
"members",
"undoc-members",
Expand All @@ -32,8 +34,8 @@
napoleon_numpy_docstring = True

# HTML -----------------------------------------------------------------
html_favicon = "_static/logo.jpeg"
html_logo = "_static/logo.jpeg"
# html_favicon = "_static/logo.jpeg"
# html_logo = "_static/logo.jpeg"
html_title = "cvxrisk Documentation"
html_show_sourcelink = True
html_css_files = [
Expand Down

0 comments on commit 1304840

Please sign in to comment.