Imporve openai api documents (#1827)

Co-authored-by: Chayenne <zhaochenyang@g.ucla.edu>
This commit is contained in:
Chayenne
2024-10-30 00:39:41 -07:00
committed by GitHub
parent 5e00ddebc0
commit 539df95d2c
8 changed files with 857 additions and 207 deletions

View File

@@ -70,7 +70,10 @@ html_theme_options = {
}
html_static_path = ["_static"]
html_css_files = ["css/readthedocs.css"]
html_css_files = ["css/custom_log.css"]
def setup(app):
app.add_css_file('css/custom_log.css')
myst_enable_extensions = [
"dollarmath",
@@ -127,3 +130,14 @@ intersphinx_mapping = {
}
html_theme = "sphinx_book_theme"
nbsphinx_prolog = """
.. raw:: html
<style>
.output_area.stderr, .output_area.stdout {
color: #d3d3d3 !important; /* light gray */
}
</style>
"""