Skip to content

Commit 44033b8

Browse files
committed
conf file
1 parent 4c0a0a4 commit 44033b8

1 file changed

Lines changed: 28 additions & 19 deletions

File tree

docs/conf.py

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,24 @@
2727
# Add any Sphinx extension module names here, as strings. They can be
2828
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
2929
# ones.
30-
extensions = ["myst_nb",
31-
"sphinx.ext.intersphinx",
32-
"sphinx.ext.autodoc",
33-
"sphinx.ext.autosummary",
34-
"sphinx.ext.doctest",
35-
]
30+
extensions = ["myst_nb", "sphinx.ext.autodoc", "sphinx.ext.doctest", "sphinx.ext.intersphinx", "sphinx.ext.autosummary","sphinx.ext.napoleon"]
31+
32+
33+
# build the templated autosummary files
34+
autosummary_generate = True
35+
autosummary_imported_members = True
36+
napoleon_google_docstring = True
37+
numpydoc_show_class_members = False
38+
panels_add_bootstrap_css = False
39+
40+
autosectionlabel_prefix_document = True
41+
42+
# katex options
43+
#
44+
#
45+
katex_prerender = True
46+
47+
napoleon_use_ivar = True
3648

3749
# Add any paths that contain templates here, relative to this directory.
3850
templates_path = ["_templates"]
@@ -43,13 +55,12 @@
4355
"matplotlib": ("https://matplotlib.org/stable/", None),
4456
}
4557

46-
4758
autoclass_content = 'both'
4859

4960
# List of patterns, relative to source directory, that match files and
5061
# directories to ignore when looking for source files.
5162
# This pattern also affects html_static_path and html_extra_path.
52-
exclude_patterns = ["_build", ".DS_Store"]
63+
exclude_patterns = ["_build", ".DS_Store", ".pickle",".txt",'jupyter_execute/**/*.ipynb','jupyter_execute/*.ipynb']
5364

5465

5566
# -- Options for HTML output -------------------------------------------------
@@ -64,12 +75,12 @@
6475
# so a file named "default.css" will overwrite the builtin "default.css".
6576
html_static_path = ["_static"]
6677

67-
html_logo = "_static/kessler_logo.png"
78+
html_logo = "_static/logo_dsgp4.png"
6879

6980
html_theme_options = {
70-
"repository_url": "https://github.com/kesslerlib/kessler/",
81+
"repository_url": "https://github.com/esa/dSGP4/",
7182
"repository_branch": "master",
72-
"path_to_docs": "docs",
83+
"path_to_docs": "doc",
7384
"use_repository_button": True,
7485
"use_issues_button": True,
7586
"launch_buttons": {
@@ -81,13 +92,11 @@
8192

8293
nb_execution_mode = "force"
8394

84-
nb_execution_excludepatterns = ['basics.ipynb','cdms_analysis_and_plotting.ipynb','LSTM_training.ipynb']
85-
86-
# Force printing traceback to stderr on execution error.
87-
nb_execution_show_tb = True
88-
89-
# Set a longer timeout for notebook execution.
90-
nb_execution_timeout = 120
95+
nb_execution_excludepatterns = [
96+
"LSTM_training.ipynb",
97+
"basics.ipynb",
98+
"probabilistic_programming_module.ipynb"
99+
]
91100

92101
latex_engine = "xelatex"
93102

@@ -97,4 +106,4 @@
97106
"deflist",
98107
"dollarmath",
99108
"html_image",
100-
]
109+
]

0 commit comments

Comments
 (0)