Skip to content
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
10dd69f
first design changes, change template
floriankozikowski Apr 11, 2025
4bb7258
first design changes, change template
floriankozikowski Apr 11, 2025
24de61a
Merge branch 'main' of https://github.com/scikit-learn-contrib/skglm …
floriankozikowski Apr 15, 2025
dabff74
cleanup
floriankozikowski Apr 15, 2025
00a9fee
Remove generated sg_execution_times.rst from Git tracking
floriankozikowski Apr 16, 2025
c226fd3
some first fixes to search bar
floriankozikowski Apr 16, 2025
0410d61
Remove sg_execution_times.rst from Git tracking
floriankozikowski Apr 16, 2025
17df265
make navbar responsive
floriankozikowski Apr 16, 2025
33fd98f
Add sitemap support for better search engine results
floriankozikowski Apr 16, 2025
13cc69b
move cite up on landing page and add jmlr paper
floriankozikowski Apr 16, 2025
967c0e2
Add OpenGraph metadata for better social sharing previews, check prev…
floriankozikowski Apr 16, 2025
9df1640
add robots.txt to guide crawlers
floriankozikowski Apr 16, 2025
54ec416
add metatags for better SEO and change some wordings
floriankozikowski Apr 16, 2025
a99d46b
implemented version toggler to navbar, check references when live
floriankozikowski Apr 17, 2025
7fed437
could not adjust for smaller screen sizes, so changed menu titles ins…
floriankozikowski Apr 17, 2025
dc358ab
removed sidebars where unnecessary, cleaned tutorials landing page an…
floriankozikowski Apr 17, 2025
b04e385
ensure formulas are centered and layout is clean
floriankozikowski Apr 17, 2025
dbb990d
ensure links in stable version and change colors
floriankozikowski Apr 17, 2025
8c777eb
make landing page better (consider cleaning up code and using more de…
floriankozikowski Apr 18, 2025
a2d24dc
ensure API links work again
floriankozikowski Apr 18, 2025
037d438
attempt to fix version switcher again
floriankozikowski Apr 18, 2025
897b751
fixed switch version
Badr-MOUFAD Apr 19, 2025
0effe49
Remove .DS_Store files globally from version control
floriankozikowski Apr 22, 2025
55abc05
Remove .DS_Store files globally from version control
floriankozikowski Apr 22, 2025
4968541
Merge branch 'documentation-update' of https://github.com/floriankozi…
floriankozikowski Apr 23, 2025
c1bf9c2
handle darkmode, change to .rst instead of pure html for better acces…
floriankozikowski Apr 23, 2025
2299099
remove 'hide search matches' button
floriankozikowski Apr 24, 2025
378c955
attempts to improve site speed and avoid constant reloading
floriankozikowski Apr 24, 2025
b38184c
fix formatting, e.g. Inrialogo
floriankozikowski Apr 24, 2025
86e66ad
insert transition animation to make site more smooth, difficult to in…
floriankozikowski Apr 24, 2025
b6bea8e
tried to implement pagespeed insights from google and lighthouse
floriankozikowski Apr 24, 2025
1953b18
increase transition length again for better smoothness
floriankozikowski Apr 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this file and ignore it

Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/doc/gen_modules/
/doc/generated/
/doc/auto_examples/
/doc/sg_execution_times.rst
/doc/.DS_Store

__pycache__
__cache__
Expand Down
Binary file added doc/_static/images/landingpage/compatible.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/ease.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/energy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/finance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/healthcare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/inrialogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/modular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/images/landingpage/performance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 91 additions & 18 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,97 @@
.announcement {
background-color: #1f77b4;
/* Math formula centering */
div.math mjx-container {
text-align: center;
}

.sidebar-version {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
/* Define primary colors */
:root {
--pst-color-primary: #4791c5;
/* skglm blue */
--pst-color-secondary: #ec9b4c;
/* skglm orange */
--pst-color-link: var(--pst-color-primary);
--pst-color-link-hover: #336b96;
/* darker blue on hover */
--pst-color-inline-code: #2c608f;
/* deep blue for code */
--pst-color-inline-code-background: #f0f8ff;
/* very pale blue */
--pst-color-announcement-background: #fff7ec;
/* soft orange */
--pst-color-announcement-text: var(--pst-color-primary);
}

/* Light theme overrides */
html[data-theme="light"] {
--pst-color-primary: #4791c5;
--pst-color-secondary: #ec9b4c;
--pst-color-link: var(--pst-color-primary);
--pst-color-link-hover: #336b96;
--pst-color-inline-code: #2c608f;
--pst-color-inline-code-background: #f0f8ff;
--pst-color-announcement-background: #fff7ec;
--pst-color-secondary-bg: #fff7ec;
}

/* Dark theme overrides */
html[data-theme="dark"] {
--pst-color-primary: #79b8e6;
--pst-color-secondary: #ec9b4c;
--pst-color-link: var(--pst-color-primary);
--pst-color-link-hover: #a1cbe9;
--pst-color-inline-code: #79b8e6;
--pst-color-inline-code-background: #2e2e2e;
--pst-color-announcement-background: #2e2e2e;
--pst-color-secondary-bg: #383838;
}

/* Inline code styling */
code {
color: var(--pst-color-inline-code);
background-color: var(--pst-color-inline-code-background);
padding: 0.2em 0.4em;
border-radius: 4px;
font-family: monospace;
}

padding-left: var(--sidebar-item-spacing-horizontal);
padding-right: var(--sidebar-item-spacing-horizontal);
margin-top: 0px;
/* Announcement banner styling */
.bd-header-announcement {
background-color: var(--pst-color-secondary-bg) !important;
color: var(--pst-color-primary) !important;
font-weight: bold;
text-align: center;
}

.sidebar-version-selected>* {
display: flex;
align-items: center;
padding: 0.25em;
border-radius: 0.25rem;
background-color: #ff7f0e;
color: white;
pointer-events: none;
.hero-section {
text-align: center;
padding: 4rem 2rem;
background-color: var(--pst-color-background);
color: var(--pst-color-text);
}

.hero-logo {
width: 150px;
margin-bottom: 1rem;
}

.hero-button {
display: inline-block;
margin-top: 2rem;
padding: 0.75rem 1.5rem;
background-color: var(--pst-color-primary);
color: white !important;
border-radius: 0.5rem;
text-decoration: none;
font-weight: bold;
}

.hero-button:hover {
background-color: var(--pst-color-primary-hover);
color: #ec9b4c !important;
}

.hero-text strong {
color: #1f77b4;
/* Primary blue color */
font-weight: 700;
}
13 changes: 13 additions & 0 deletions doc/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"version": "dev",
"name": "0.5dev",
"url": "https://contrib.scikit-learn.org/skglm/",
"preferred": true
},
{
"version": "0.3.1",
"name": "v0.3.1",
"url": "https://contrib.scikit-learn.org/skglm/stable/"
}
]
7 changes: 5 additions & 2 deletions doc/api.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.. _api_documentation:
.. _api:

.. meta::
:description: Browse the skglm API documentation covering estimators (Lasso, ElasticNet, Cox), penalties (L1, SCAD, MCP), datafits (Logistic, Poisson), and optimized solvers.

=================
API Documentation
API
=================

.. currentmodule:: skglm
Expand Down
Loading