Skip to content
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

Doc site work #184

Merged
merged 3 commits into from
Jul 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
30 changes: 21 additions & 9 deletions docs/_static/pysal-styles.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* Make thumbnails with equal heights */
@media only screen and (min-width : 481px) {
@media only screen and (min-width : 500px) {
.row.equal-height {
display: flex;
flex-wrap: wrap;
}
.row.equal-height > [class*='col-'] {
display: flex;
flex-direction: column;
flex-direction: row, column;
}
.row.equal-height.row:after,
.row.equal-height.row:before {
Expand All @@ -16,15 +16,15 @@
.row.equal-height > [class*='col-'] > .thumbnail,
.row.equal-height > [class*='col-'] > .thumbnail > .caption {
display: flex;
flex: 1 0 auto;
flex: .9 .1 auto;
flex-direction: column;
}
.row.equal-height > [class*='col-'] > .thumbnail > .caption > .flex-text {
flex-grow: 1;
}
.row.equal-height > [class*='col-'] > .thumbnail > img {
width: 100%;
height: 200px; /* force image's height */
width: 400px;
height: 100%; /* force image's height */

/* force image fit inside it's "box" */
-webkit-object-fit: cover;
Expand Down Expand Up @@ -69,10 +69,22 @@


/* Table with a scrollbar */
.bodycontainer { max-height: 600px; width: 100%; margin: 0; overflow-y: auto; }
.bodycontainer { max-height: 800px; width: 100%; margin: 0; padding: 0; overflow-y: auto; }
.table-scrollable { margin: 0; padding: 0; }

.label {
color: #E74C3C;
font-size: 100%;
font-weight: bold;
width: 125px;
text-align: left;
vertical-align: middle;
}

div.body {
max-width: 1080px;
}

.label {
color: #222222;
font-size: 100%;
table.longtable.align-default{
text-align: left;
}
36 changes: 20 additions & 16 deletions docs/_static/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,24 @@

@article{wei2020efficient,
title={Efficient Regionalization for Spatially Explicit Neighborhood Delineation},
author={Wei, Ran and Rey, Sergio and Knaap, Elijah},
author={Wei, Ran and Rey, Sergio J. and Knaap, Elijah},
journal={International Journal of Geographical Information Science},
pages={1--17},
year={2020},
publisher={Taylor \& Francis}
publisher={Taylor \& Francis},
doi={https://doi.org/10.1080/13658816.2020.1759806},
}

@article{duque2011p,
title={The p-Regions Problem},
author={Duque, Juan C and Church, Richard L and Middleton, Richard S},
author={Duque, Juan C. and Church, Richard L. and Middleton, Richard S.},
journal={Geographical Analysis},
volume={43},
number={1},
pages={104--126},
year={2011},
publisher={Wiley Online Library}
publisher={Wiley Online Library},
doi={https://doi.org/10.1111/j.1538-4632.2010.00810.x},
}

@article{assunccao2006efficient,
Expand All @@ -30,6 +32,7 @@ @article{assunccao2006efficient
number={7},
pages={797--811},
year={2006},
doi={https://doi.org/10.1080/13658810600665111},
publisher={Taylor \& Francis}
}

Expand All @@ -39,21 +42,20 @@ @article{openshaw1977geographical
journal={Transactions of the Institute of British Geographers},
pages={459--472},
year={1977},
publisher={JSTOR}
publisher={JSTOR},
doi={https://doi.org/10.2307/622300},
}

@article{duque2012max,
author = {Duque, Juan C. and Anselin, Luc and Rey, Sergio J.},
title = {THE MAX-P-REGIONS PROBLEM*},
journal = {Journal of Regional Science},
volume = {52},
number = {3},
pages = {397--419},
doi = {https://doi.org/10.1111/j.1467-9787.2011.00743.x},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1467-9787.2011.00743.x},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1111/j.1467-9787.2011.00743.x},
abstract = {ABSTRACT In this paper, we introduce a new spatially constrained clustering problem called the max-p-regions problem. It involves the clustering of a set of geographic areas into the maximum number of homogeneous regions such that the value of a spatially extensive regional attribute is above a predefined threshold value. We formulate the max-p-regions problem as a mixed integer programming (MIP) problem, and propose a heuristic solution.},
year = {2012}
author={Duque, Juan C. and Anselin, Luc and Rey, Sergio J.},
title={THE MAX-P-REGIONS PROBLEM*},
journal={Journal of Regional Science},
volume={52},
number={3},
pages={397--419},
doi={https://doi.org/10.1111/j.1467-9787.2011.00743.x},
abstract={In this paper, we introduce a new spatially constrained clustering problem called the max-p-regions problem. It involves the clustering of a set of geographic areas into the maximum number of homogeneous regions such that the value of a spatially extensive regional attribute is above a predefined threshold value. We formulate the max-p-regions problem as a mixed integer programming (MIP) problem, and propose a heuristic solution.},
year={2012}
}

@article{openshaw1995algorithms,
Expand All @@ -64,7 +66,9 @@ @article{openshaw1995algorithms
number={3},
pages={425--446},
year={1995},
doi={https://doi.org/10.1068/a270425},
publisher={SAGE Publications Sage UK: London, England}
}


%======
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Regionalization, facility location, and transportation-oriented modeling

<div class="container-fluid">
<div class="row equal-height">
<div class="col-sm-1 col-xs-hidden">
<div class="col-sm-.5 col-xs-hidden">
</div>
<div class="col-md-3 col-xs-12">
<div class="col-md-4 col-xs-15">
<a
href="https://pysal.org/spopt/notebooks/maxp.html" class="thumbnail">
<img src="_static/images/notebooks_maxp_12_1.png" class="img-responsive center-block">
Expand All @@ -26,15 +26,15 @@ Regionalization, facility location, and transportation-oriented modeling
</div>
</a>
</div>
<div class="col-sm-3 col-xs-12">
<div class="col-sm-4 col-xs-15">
<a href="https://pysal.org/spopt/notebooks/skater.html" class="thumbnail">
<img src="_static/images/notebooks_skater_12_1.png" class="img-responsive center-block">
<div class="caption text-center">
<h6>Airbnb Spots Clustering in Chicago</h6>
</div>
</a>
</div>
<div class="col-sm-3 col-xs-12">
<div class="col-sm-4 col-xs-15">
<a href="https://pysal.org/spopt/notebooks/reg-k-means.html" class="thumbnail">
<img src="_static/images/notebooks_reg-k-means_15_1.png"
class="img-responsive center-block">
Expand All @@ -44,7 +44,7 @@ Regionalization, facility location, and transportation-oriented modeling
</div>
</a>
</div>
<div class="col-sm-2 col-xs-hidden">
<div class="col-sm-.5 col-xs-hidden">
</div>
</div>
</div>
Expand Down