From fb441a38a6868079321f3c3b275dd1a4e9132be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Flamary?= Date: Thu, 18 Aug 2022 08:12:40 +0200 Subject: [PATCH 1/3] add option for preper subsections --- RELEASES.md | 2 ++ docs/source/conf.py | 1 + 2 files changed, 3 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index e6e0ba443..8b4f0de9f 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/docs/source/conf.py b/docs/source/conf.py index 952651853..73b762fd5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -351,6 +351,7 @@ def __getattr__(cls, name): 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'), From a862b0aeb2e97d579d74df9203229c35c7fc4876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Flamary?= Date: Thu, 18 Aug 2022 08:15:21 +0200 Subject: [PATCH 2/3] cleanup dodecov ignore --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 1447cedc6..dd301ab8b 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: From 68a7839b37ae6d434ff8820331114c5c84d23f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Flamary?= Date: Thu, 18 Aug 2022 08:40:37 +0200 Subject: [PATCH 3/3] cleanup dodecov ignore --- docs/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 73b762fd5..3bec150b5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -194,6 +194,7 @@ def __getattr__(cls, name): # 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