diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2022-08-18 09:41:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 09:41:41 +0200 |
commit | 982c4a75b225c496432a6a9a19d28c50040bf244 (patch) | |
tree | 5853a2ef32f9bfa7a1cb4610a7e45578c3b5fb91 | |
parent | a24ec2554d003778de2c3e0550a214f83b984fa9 (diff) |
[MRG] Proper subsections in gallery (#395)
* add option for preper subsections
* cleanup dodecov ignore
* cleanup dodecov ignore
-rw-r--r-- | RELEASES.md | 2 | ||||
-rw-r--r-- | codecov.yml | 2 | ||||
-rw-r--r-- | docs/source/conf.py | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/RELEASES.md b/RELEASES.md index e6e0ba4..8b4f0de 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -9,6 +9,8 @@ #### Closed issues + +- Fixed an issue with the documentation gallery sections (PR #395) - Fixed an issue where sinkhorn divergence did not have a gradients (Issue #393, PR #394) - Fixed an issue where we could not ask TorchBackend to place a random tensor on GPU (Issue #371, PR #373) diff --git a/codecov.yml b/codecov.yml index 1447ced..dd301ab 100644 --- a/codecov.yml +++ b/codecov.yml @@ -38,7 +38,7 @@ parsers: # https://docs.codecov.io/docs/ignoring-paths ignore: - - "ot/gpu/*" + - "ot/helpers/openmp_helpers.py" # https://docs.codecov.io/docs/pull-request-comments comment: diff --git a/docs/source/conf.py b/docs/source/conf.py index 9526518..3bec150 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -194,6 +194,7 @@ html_logo = '_static/images/logo_dark.svg' # 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'] +#html_css_files = ["css/custom.css"] # Add any extra paths that contain custom files (such as robots.txt or @@ -351,6 +352,7 @@ intersphinx_mapping = {'python': ('https://docs.python.org/3', None), sphinx_gallery_conf = { 'examples_dirs': ['../../examples', '../../examples/da'], 'gallery_dirs': 'auto_examples', + 'nested_sections' : False, 'backreferences_dir': 'gen_modules/backreferences', 'inspect_global_variables' : True, 'doc_module' : ('ot','numpy','scipy','pylab'), |