Skip to content

Commit

Permalink
feat: display contributors on the home page
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Feb 4, 2024
1 parent 5667014 commit 691d4c4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rcssmin==1.1.2
rjsmin==1.2.2
shibuya==2024.1.17
sphinx==7.2.6
sphinx-contributors==0.2.7
sphinx-copybutton==0.5.2
# sphinx-design==0.5.0
# sphinx-tabs==3.4.5
Expand Down
19 changes: 18 additions & 1 deletion sources/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
/* Hide the left navbar. */
aside#lside, aside .lside-overlay, button[aria-controls="lside"] {
aside#lside,
aside .lside-overlay,
button[aria-controls="lside"] {
display: none;
}

/* Give more width to the main container. */
main.sy-main {
width: 100%;
}

.sphinx-contributors img {
border-radius: 50%;
margin-bottom: 1em;
box-shadow:
0 1px 1px hsl(0deg 0% 0% / 0.075),
0 2px 2px hsl(0deg 0% 0% / 0.075),
0 4px 4px hsl(0deg 0% 0% / 0.075),
0 8px 8px hsl(0deg 0% 0% / 0.075),
0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.sphinx-contributors p {
margin: 0;
}
1 change: 1 addition & 0 deletions sources/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

extensions = [
"myst_parser",
"sphinx_contributors",
"sphinx_copybutton",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
Expand Down
7 changes: 7 additions & 0 deletions sources/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@
:glob:

python/*

-----

💖 **Contributeurs**

.. contributors:: BoboTiG/luma
:avatars:

0 comments on commit 691d4c4

Please sign in to comment.