Skip to content

Commit 7e8c597

Browse files
Merge pull request #11 from antoinedemathelin/master
docs: Fix navigation bar
2 parents 0bf74cb + 97451f4 commit 7e8c597

File tree

8 files changed

+90
-65
lines changed

8 files changed

+90
-65
lines changed

src_docs/_static/js/custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ function changeColor() {
8989

9090
changeColor();
9191
attributes();
92-
changeLinks();
92+
//changeLinks();
9393
//addLinks();
9494

src_docs/_templates/layout.html

Lines changed: 69 additions & 51 deletions
Large diffs are not rendered by default.

src_docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@
5252
# This pattern also affects html_static_path and html_extra_path.
5353
exclude_patterns = []
5454

55-
#master_doc = 'index'
56-
#main_doc = "contents"
55+
#root_doc = "contents"
56+
#root_doc = "toctree_generation"
57+
#master_doc = "toctree_generation"
58+
master_doc = "index"
5759

5860
# -- Options for HTML output -------------------------------------------------
5961

src_docs/examples/Multi_fidelity.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@
317317
"id": "iy9BE3ytf0a4"
318318
},
319319
"source": [
320-
"<a name=\"RegularTransferNN\"></a>\n",
321320
"## [RegularTransferNN](https://adapt-python.github.io/adapt/generated/adapt.parameter_based.RegularTransferNN.html)"
322321
]
323322
},

src_docs/examples/Two_moons.ipynb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@
195195
"id": "MB6Lo7FzmCWu"
196196
},
197197
"source": [
198-
"<a name=\"Source-Only\"></a>\n",
199198
"## Source Only"
200199
]
201200
},
@@ -352,7 +351,6 @@
352351
"id": "E8WbYRbkmCWw"
353352
},
354353
"source": [
355-
"<a name=\"DANN\"></a>\n",
356354
"## [DANN](https://adapt-python.github.io/adapt/generated/adapt.feature_based.DANN.html)"
357355
]
358356
},
@@ -500,7 +498,6 @@
500498
"id": "BNxExQCpmCWy"
501499
},
502500
"source": [
503-
"<a name=\"ADDA\"></a>\n",
504501
"## [ADDA](https://adapt-python.github.io/adapt/generated/adapt.feature_based.ADDA.html)"
505502
]
506503
},
@@ -649,7 +646,6 @@
649646
"id": "gcDQviRxmCWz"
650647
},
651648
"source": [
652-
"<a name=\"DeepCORAL\"></a>\n",
653649
"## [DeepCORAL](https://adapt-python.github.io/adapt/generated/adapt.feature_based.DeepCORAL.html)"
654650
]
655651
},
@@ -799,7 +795,6 @@
799795
"id": "zhfGBggfmCW0"
800796
},
801797
"source": [
802-
"<a name=\"mSDA\"></a>\n",
803798
"## [mSDA](https://adapt-python.github.io/adapt/generated/adapt.feature_based.mSDA.html)"
804799
]
805800
},

src_docs/examples/sample_bias.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@
267267
"id": "O1SDrTm6hYwd"
268268
},
269269
"source": [
270-
"<a name=\"KMM\"></a>\n",
271270
"## [KMM](https://adapt-python.github.io/adapt/generated/adapt.instance_based.KMM.html)"
272271
]
273272
},
@@ -404,7 +403,6 @@
404403
"id": "D0NjR0XbhYwd"
405404
},
406405
"source": [
407-
"<a name=\"KLIEP\"></a>\n",
408406
"## [KLIEP](https://adapt-python.github.io/adapt/generated/adapt.instance_based.KLIEP.html)"
409407
]
410408
},

src_docs/examples/sample_bias_2d.ipynb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@
211211
"id": "x9ElnEtWleOv"
212212
},
213213
"source": [
214-
"<a name=\"Source-Only\"></a>\n",
215214
"## Source Only"
216215
]
217216
},
@@ -295,7 +294,6 @@
295294
"id": "BXjRbTr5leOz"
296295
},
297296
"source": [
298-
"<a name=\"KMM\"></a>\n",
299297
"## [KMM](https://adapt-python.github.io/adapt/generated/adapt.instance_based.KMM.html)"
300298
]
301299
},
@@ -423,7 +421,6 @@
423421
"id": "8WoarEGuleO0"
424422
},
425423
"source": [
426-
"<a name=\"KLIEP\"></a>\n",
427424
"## [KLIEP](https://adapt-python.github.io/adapt/generated/adapt.instance_based.KLIEP.html)"
428425
]
429426
},

src_docs/modules/utils.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Utility Functions
2+
-----------------
3+
4+
.. toctree::
5+
:maxdepth: 2
6+
7+
../generated/adapt.utils.check_arrays
8+
../generated/adapt.utils.check_one_array
9+
../generated/adapt.utils.check_estimator
10+
../generated/adapt.utils.check_network
11+
../generated/adapt.utils.get_default_encoder
12+
../generated/adapt.utils.get_default_task
13+
../generated/adapt.utils.get_default_discriminator
14+
../generated/adapt.utils.GradientHandler
15+
../generated/adapt.utils.make_classification_da
16+
../generated/adapt.utils.make_regression_da

0 commit comments

Comments
 (0)