Skip to content

Commit

Permalink
Improve appearance of documentation (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
elibol authored Feb 21, 2022
1 parent 4b4bf89 commit bf19956
Show file tree
Hide file tree
Showing 26 changed files with 859 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ instance/

# Sphinx documentation
docs/_build/
docs/*/generated

# PyBuilder
target/
Expand Down
4 changes: 3 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ sphinx >=3, <4
sphinx_rtd_theme
sphinx-autodoc-typehints
m2r2
sphinx-autopackagesummary
pydata-sphinx-theme
sphinx-panels
sphinx-autopackagesummary
44 changes: 44 additions & 0 deletions docs/source/_static/css/nums.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/* Override some aspects of the pydata-sphinx-theme */

:root {
/* Use softer blue from bootstrap's default info color */
--pst-color-info: 23, 162, 184;
}

/* Main index page overview cards */

.intro-card {
background: #fff;
border-radius: 0;
padding: 30px 10px 20px 10px;
margin: 10px 0px;
}

.intro-card p.card-text {
margin: 0px;
}

.intro-card .card-img-top {
margin: 10px;
height: 52px;
}

.intro-card .card-header {
border: none;
background-color:white;
color: #150458 !important;
font-size: var(--pst-font-size-h5);
font-weight: bold;
padding: 2.5rem 0rem 0.5rem 0rem;
}

.intro-card .card-footer {
border: none;
background-color:white;
}

.intro-card .card-footer p.card-text{
max-width: 220px;
margin-left: auto;
margin-right: auto;
}
Binary file added docs/source/_static/favicon.ico
Binary file not shown.
97 changes: 97 additions & 0 deletions docs/source/_static/index_api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions docs/source/_static/index_contribute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions docs/source/_static/index_getting_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 67 additions & 0 deletions docs/source/_static/index_user_guide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bf19956

Please sign in to comment.