Skip to content

DOC: Use container directives instead of raw html for the doc "cards" #32065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 61 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
879ec63
Add new getting started tutorials to pandas
stijnvanhoey Nov 24, 2019
ead1445
Update links to raw data
stijnvanhoey Nov 25, 2019
aa46ef4
Move reference to top of title
stijnvanhoey Nov 25, 2019
351a523
Fix minor mistakes in text
stijnvanhoey Nov 25, 2019
6840905
Add missing reference to user guide section
stijnvanhoey Nov 25, 2019
bf19817
Add missing reference to user guide section
stijnvanhoey Nov 25, 2019
49858f9
Remove created artifacts
stijnvanhoey Nov 25, 2019
6ca5e59
Update link to raw data
stijnvanhoey Nov 25, 2019
a40fff8
Change title of text tutorial
stijnvanhoey Nov 25, 2019
89aa154
Change title of tutorial
stijnvanhoey Nov 25, 2019
2cff6f8
Update
stijnvanhoey Nov 25, 2019
3b12e77
Add draft index page of getting started
stijnvanhoey Nov 25, 2019
9819fb8
Add custom css for getting started pages
stijnvanhoey Nov 25, 2019
b2433a1
Add logos for getting started page
stijnvanhoey Nov 25, 2019
92e2b72
Fix link to logos
stijnvanhoey Nov 26, 2019
a2f2f81
Fix toctree on getting started page
stijnvanhoey Nov 26, 2019
abf7aec
Merge branch 'master' of github.com:pandas-dev/pandas into getting-st…
stijnvanhoey Jan 13, 2020
d45040c
Add pandas colors to color cycle
stijnvanhoey Jan 13, 2020
147551c
provide blueprint to intro tutorials
stijnvanhoey Jan 13, 2020
3dfa4cd
Add first update to general doc page
stijnvanhoey Jan 13, 2020
9f41347
Fix minor styling elements
stijnvanhoey Jan 13, 2020
80c9615
Add section 2 and 3 short intro
stijnvanhoey Jan 13, 2020
577d8e7
Merge remote-tracking branch 'upstream/master' into getting-started-p…
stijnvanhoey Jan 18, 2020
cd446f2
Add plot intro
stijnvanhoey Jan 20, 2020
3828749
Add dataframe calc intro
stijnvanhoey Jan 20, 2020
05f4811
Add groupby intro
stijnvanhoey Jan 20, 2020
809248d
Add reshape intro
stijnvanhoey Jan 20, 2020
55f64ef
Fix wrong collapseble
stijnvanhoey Jan 20, 2020
864ac3e
Fix typos
stijnvanhoey Jan 20, 2020
b7de411
Add combine table intro
stijnvanhoey Jan 20, 2020
1e777eb
Add intro textual and time series data
stijnvanhoey Jan 20, 2020
2177660
Reset index page
stijnvanhoey Jan 20, 2020
9534c75
Fix excel file read and removal order
stijnvanhoey Jan 20, 2020
6290de5
Fix title handling toctree main index page
stijnvanhoey Jan 20, 2020
79c6d69
Fix title handling toctree main index page
stijnvanhoey Jan 20, 2020
2c38cdc
Merge branch 'getting-started-pages' of github.com:stijnvanhoey/panda…
stijnvanhoey Jan 20, 2020
247e6a0
Remove trailing whitespaces in rst files
stijnvanhoey Jan 20, 2020
67639ff
Fix linting errors
stijnvanhoey Jan 20, 2020
19ba810
Fix linting issues of tutorials
stijnvanhoey Jan 20, 2020
e1aab58
Add schemas
stijnvanhoey Jan 20, 2020
a06eeb2
Fix trailing whitespaces in css
stijnvanhoey Jan 20, 2020
446df48
Fix linting issues
stijnvanhoey Jan 20, 2020
afa917a
Fix linting errors
stijnvanhoey Jan 20, 2020
08ad852
Remove pandas colors in plots
stijnvanhoey Jan 20, 2020
7f47a18
Add missing reference
stijnvanhoey Jan 20, 2020
9665264
Revision of tutorials on internal references
stijnvanhoey Jan 20, 2020
a4b2c8d
Add required data sets for intro tutorials
stijnvanhoey Jan 20, 2020
3459ff3
Fix missing figure
stijnvanhoey Jan 21, 2020
5a323ad
Ignore warnings
stijnvanhoey Jan 27, 2020
f3267a7
Merge branch 'master' into getting-started-pages
stijnvanhoey Jan 27, 2020
de23000
Fix relative path
stijnvanhoey Jan 27, 2020
d6e6b82
Merge remote-tracking branch 'upstream/master' into directive
stijnvanhoey Feb 17, 2020
6cf747d
Fix button css without container class
stijnvanhoey Feb 17, 2020
bfe9c03
Remove scaled image link to original
stijnvanhoey Feb 17, 2020
adfa44d
Switch install cards to rst version
stijnvanhoey Feb 17, 2020
9ea4425
Switch comparison cards to rst version
stijnvanhoey Feb 17, 2020
7060079
Merge remote-tracking branch 'upstream/master' into directive
stijnvanhoey Feb 17, 2020
82a3a65
Switch to rst syntax
stijnvanhoey Feb 17, 2020
52e0798
Make cards conform to home page
stijnvanhoey Feb 17, 2020
834cdef
Remove redundant card css configuration
stijnvanhoey Feb 17, 2020
f9e28ff
Merge remote-tracking branch 'upstream/master' into directive
stijnvanhoey Feb 19, 2020
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
64 changes: 1 addition & 63 deletions doc/source/_static/css/getting_started.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
}

/* reference to user guide */

.gs-torefguide {
align-items: center;
font-size: 0.9rem;
Expand Down Expand Up @@ -129,69 +130,6 @@ ul.task-bullet > li > p:first-child {
padding-left: 0.75rem;
}

/* Getting started index page */

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

.intro-card .card-text {
margin:20px 0px;
/*min-height: 150px; */
}

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

.install-block {
padding-bottom: 30px;
}

.install-card .card-header {
border: none;
background-color:white;
color: #150458;
font-size: 1.1rem;
font-weight: bold;
padding: 1rem 1rem 0rem 1rem;
}

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

.install-card pre {
margin: 0 1em 1em 1em;
}

.custom-button {
background-color:#DCDCDC;
border: none;
color: #484848;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 0.9rem;
border-radius: 0.5rem;
max-width: 120px;
padding: 0.5rem 0rem;
}

.custom-button a {
color: #484848;
}

.custom-button p {
margin-top: 0;
margin-bottom: 0rem;
color: #484848;
}

/* intro to tutorial collapsed cards */

.tutorial-accordion {
Expand Down
26 changes: 21 additions & 5 deletions doc/source/_static/css/pandas.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
/* Getting started index page */

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

.intro-card .card-title {
color: #150458;
font-size: 1.1rem;
font-weight: bold;
}

.intro-card .card-text {
margin: 20px 0px;
/*min-height: 150px; */
}

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

.intro-card .card-footer {
border: none;
background-color:white;
padding: 0rem 1.25rem;
}

.custom-button {
Expand All @@ -23,6 +38,7 @@
border-radius: 0.5rem;
max-width: 220px;
padding: 0.5rem 0rem;
width: 100%
}

.custom-button a {
Expand All @@ -33,4 +49,4 @@
margin-top: 0;
margin-bottom: 0rem;
color: #484848;
}
}
3 changes: 3 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
# Additional templates that should be rendered to pages, maps page names to
# template names.

# Do not make scaled images a link
html_scaled_image_link = False

# Add redirect for previously existing API pages
# each item is like `(from_old, to_new)`
# To redirect a class and all its methods, see below
Expand Down
Loading