Skip to content

Commit 81aee61

Browse files
FIX: doc (#244)
1 parent 70288ac commit 81aee61

3 files changed

Lines changed: 46 additions & 30 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
.md-typeset figure img {
22
display: inline;
33
}
4+
5+
.choice-learn-center-table {
6+
text-align: center;
7+
}
8+
9+
.md-typeset .center-table :is(td,th):not([align]) {
10+
/* Reset alignment for table cells */
11+
text-align: initial;
12+
}

docs/index.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
# Welcome to the Choice-Learn documentation!
22

3-
<center>
4-
<img src="illustrations/logos/logo_choice_learn.png" width="300">
5-
</center>
3+
<p align="center">
4+
<img src="illustrations/logos/logo_choice_learn.png" width="300">
5+
</p>
66

7-
<center>
7+
<p align="center">
8+
<i> Large-scale choice modeling through the lens of machine learning </i>
9+
</p>
810

9-
*Large-scale choice modeling through the lens of machine learning*
1011

11-
</center>
12+
<div class="choice-learn-table-container" markdown>
1213

13-
<center>
14-
15-
| [<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/GitHub_Invertocat_Logo.svg/langfr-400px-GitHub_Invertocat_Logo.svg.png" alt="drawing" width="30"/>](https://github.com/artefactory/choice-learn) | If you are not coming from GitHub, [check it out](https://github.com/artefactory/choice-learn) |
16-
|-|-|
17-
| [<img src="https://upload.wikimedia.org/wikipedia/commons/8/87/PDF_file_icon.svg" alt="drawing" width="25"/>](https://joss.theoj.org/papers/10.21105/joss.06899) | You can also read our [academic paper](https://joss.theoj.org/papers/10.21105/joss.06899) ! |
18-
19-
</center>
14+
| | [<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/GitHub_Invertocat_Logo.svg/langfr-400px-GitHub_Invertocat_Logo.svg.png" alt="drawing" width="30"/>](https://github.com/artefactory/choice-learn) | If you are not coming from GitHub, [check it out](https://github.com/artefactory/choice-learn) | |
15+
|---|---|---|---|
16+
| | [<img src="https://upload.wikimedia.org/wikipedia/commons/8/87/PDF_file_icon.svg" alt="drawing" width="25"/>](https://joss.theoj.org/papers/10.21105/joss.06899) | You can also read our [academic paper](https://joss.theoj.org/papers/10.21105/joss.06899) ! | |
17+
</div>
2018

2119
<br>
2220

@@ -145,19 +143,24 @@ The use of this software is under the MIT license, with no limitation of usage,
145143

146144
Choice-Learn has been developed through a collaboration between researchers at the Artefact Research Center and the laboratory MICS from CentraleSupélec, Université Paris Saclay.
147145

148-
<center>
149-
[![ARC](https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_arc.png){: style="height:60px"}](https://www.artefact.com/data-consulting-transformation/artefact-research-center/)
150-
&nbsp;&nbsp;&nbsp;&nbsp;
151-
[![FNG](https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_atf.png){: style="height:65px"}](https://www.artefact.com/)
152-
153-
[![PS](https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_paris_saclay.png){: style="height:60px"}](https://www.universite-paris-saclay.fr/)
154-
&nbsp;&nbsp;&nbsp;&nbsp;
155-
[![CS](https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_CS.png){: style="height:65px"}](https://mics.centralesupelec.fr/)
156-
&nbsp;&nbsp;&nbsp;&nbsp;
157-
&nbsp;&nbsp;&nbsp;&nbsp;
158-
[![LBS](https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_lbs.jpeg){: style="height:60px"}](https://www.london.edu/)
159-
&nbsp;&nbsp;&nbsp;&nbsp;
160-
&nbsp;&nbsp;&nbsp;&nbsp;
161-
[![INSEAD](https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_insead.png){: style="height:65px"}](https://www.insead.edu/)
162-
163-
</center>
146+
<p align="center">
147+
<a href="https://www.artefact.com/data-consulting-transformation/artefact-research-center/">
148+
<img src="https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_arc.png" width="230">
149+
150+
<a href="https://www.artefact.com/">
151+
<img src="https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_atf.png" width="200">
152+
</p>
153+
154+
<p align="center">
155+
<a href="https://www.universite-paris-saclay.fr/">
156+
<img src="https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_paris_saclay.png" width="150">
157+
158+
<a href="https://mics.centralesupelec.fr/">
159+
<img src="https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_CS.png" width="130">
160+
161+
<a href="https://www.london.edu/">
162+
<img src="https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_lbs.jpeg" width="70">
163+
164+
<a href="https://www.insead.edu/">
165+
<img src="https://raw.githubusercontent.com/artefactory/choice-learn/main/docs/illustrations/logos/logo_insead.png" width="150">
166+
</p>

mkdocs.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ theme:
2727
favicon: logo_choice_learn.png
2828

2929
markdown_extensions:
30+
- tables
3031
- attr_list
3132
- pymdownx.highlight:
3233
anchor_linenums: true
@@ -36,6 +37,10 @@ markdown_extensions:
3637
- pymdownx.snippets
3738
- pymdownx.superfences
3839
- mdx_math
40+
- md_in_html
41+
42+
extra_css:
43+
- docs/.overrides/assets/stylesheets/extra.css
3944

4045
extra_javascript:
4146
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS-MML_HTMLorMML
@@ -46,7 +51,6 @@ plugins:
4651
python:
4752
options:
4853
docstring_style: numpy
49-
rendering:
5054
show_source: true
5155
- search
5256
- nbconvert:

0 commit comments

Comments
 (0)