-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.wy-nav-content { max-width: 100% } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
from __future__ import annotations | ||
|
||
project = ".github" | ||
|
||
master_doc = "index" | ||
|
||
source_suffix = { | ||
".rst": "restructuredtext", | ||
".md": "markdown", | ||
} | ||
|
||
extensions = [ | ||
"sphinx.ext.viewcode", | ||
"sphinx.ext.mathjax", | ||
"sphinx.ext.napoleon", | ||
"autoapi.extension", | ||
] | ||
|
||
|
||
source_dir = "cvx" | ||
autoapi_type = "python" | ||
autoapi_dirs = [f"../../{source_dir}"] | ||
autoapi_options = [ | ||
"members", | ||
"undoc-members", | ||
"show-inheritance", | ||
"private-members", | ||
"show-module-summary", | ||
"special-members", | ||
"imported-members", | ||
] | ||
|
||
napoleon_google_docstring = True | ||
napoleon_numpy_docstring = True | ||
|
||
# HTML ----------------------------------------------------------------- | ||
# html_favicon = "_static/logo.jpeg" | ||
# html_logo = "_static/logo.jpeg" | ||
html_title = ".github Documentation" | ||
html_show_sourcelink = True | ||
html_css_files = [ | ||
"custom.css", | ||
] | ||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# | ||
# html_theme = 'alabaster' | ||
html_theme = "sphinx_rtd_theme" | ||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
html_static_path = ["_static"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.. rst-class:: hide-header | ||
|
||
|
||
.. image:: _static/logo.jpeg | ||
:align: center | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
../../README.md | ||
license | ||
|
||
API Documentation | ||
================= | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
autoapi/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
License | ||
======= | ||
|
||
Copyright (c) 2023 Stanford University Convex Optimization Group |