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

Site #115

Open
wants to merge 143 commits into
base: main
Choose a base branch
from
Open

Site #115

Show file tree
Hide file tree
Changes from 135 commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
d256b60
added docs folder for the github pages
velezbeltran Jun 17, 2024
e14e9c6
added ai-folio website
velezbeltran Jun 17, 2024
6675423
update .config
velezbeltran Jun 17, 2024
344595f
moved workflows to site workflows
velezbeltran Jun 17, 2024
99a0927
added proper index.html
velezbeltran Jun 17, 2024
adc4f79
updated site
velezbeltran Jun 17, 2024
7aa4ab5
added local script
velezbeltran Jun 17, 2024
ad20059
removed annoying banner
velezbeltran Jun 17, 2024
bc1d057
added dummy site
velezbeltran Jun 17, 2024
f3cb31e
stand-in
velezbeltran Jun 18, 2024
572c2e2
added name of the paper
velezbeltran Jun 18, 2024
d2b244d
removed footer
velezbeltran Jun 18, 2024
4cbe8b0
added everyone
velezbeltran Jun 18, 2024
40f8b35
modified size of title and removed doi
velezbeltran Jun 18, 2024
59ba896
turn doi into arxiv
ANazaret Jun 18, 2024
d553d09
pre-commit
ANazaret Jun 18, 2024
59fadbe
Update index.html
ANazaret Jun 18, 2024
2a594b0
extract css files and modify template
ANazaret Jun 21, 2024
4e0821c
extract more css/html code from the javascript and set up a nice header
ANazaret Jun 21, 2024
deea76d
reduce title padding
ANazaret Jun 21, 2024
a3d29c5
update colors
ANazaret Jun 21, 2024
288ac60
fix appearance on mobile
ANazaret Jun 21, 2024
83e9a25
justify text
ANazaret Jun 22, 2024
e4bdcce
update logo
ANazaret Jun 22, 2024
2700515
add description
ANazaret Jun 22, 2024
adc1f34
tentative figure 1
ANazaret Jun 22, 2024
5861367
improve slider bar
ANazaret Jun 22, 2024
a4f7a9f
added a hidden index
velezbeltran Jun 22, 2024
decd98d
added lightweight library for slider
velezbeltran Jun 23, 2024
b000dd5
no more boostrap
velezbeltran Jun 23, 2024
687d7d2
Added proper features
velezbeltran Jun 23, 2024
96581c4
Merge pull request #93 from blei-lab/remove-bootstrap
velezbeltran Jun 23, 2024
8d5371d
added code for feature table and code.css
velezbeltran Jun 23, 2024
f133e61
Merge pull request #94 from blei-lab/remove-bootstrap
velezbeltran Jun 23, 2024
6aa5cee
propose a new look for the feature items
ANazaret Jun 24, 2024
0c77163
added example cards and changed code font
velezbeltran Jun 24, 2024
7a3cc97
flipped cards and added tables
velezbeltran Jun 25, 2024
d73ffec
merged upstream
velezbeltran Jun 25, 2024
9319e22
Merge pull request #95 from blei-lab/remove-bootstrap
velezbeltran Jun 25, 2024
5932495
added tabs js and css
velezbeltran Jun 25, 2024
041d57b
Merge pull request #96 from blei-lab/remove-bootstrap
velezbeltran Jun 25, 2024
67cdc17
added prettier buttons
velezbeltran Jun 25, 2024
7a5ed78
Merge pull request #97 from blei-lab/remove-bootstrap
velezbeltran Jun 25, 2024
db3c441
improve text
ANazaret Jun 25, 2024
831796d
adjust content of tables via js
ANazaret Jun 25, 2024
4b770f9
edit css
ANazaret Jun 25, 2024
cceb864
fix figure margin
ANazaret Jun 25, 2024
be6b1da
use js to bold top 2 methods
ANazaret Jun 25, 2024
0280e41
reformat js file
ANazaret Jun 25, 2024
ac2522e
make tables scrollable
ANazaret Jun 25, 2024
8f10c1a
make treeffuser feature tables work on smaller screens
ANazaret Jun 25, 2024
8b2ff07
make order of navbar and button coherent
ANazaret Jun 25, 2024
4295d3d
increase font weight
ANazaret Jun 25, 2024
10d87cc
update figure 1
ANazaret Jun 25, 2024
dccd0ef
fix list look
ANazaret Jun 26, 2024
351f87f
reduce spacing in main figure
ANazaret Jun 26, 2024
2875746
change wording in the quantity list
ANazaret Jun 26, 2024
86340d0
reformat
ANazaret Jun 26, 2024
02ef4be
reformat website files
ANazaret Jun 26, 2024
48fbebc
modified caption
velezbeltran Jun 26, 2024
44a6536
local changes to tabs
velezbeltran Jun 26, 2024
01df7c8
justify figure captions
ANazaret Jun 26, 2024
d1d8a95
remove margin of feature cards
ANazaret Jun 26, 2024
1332c96
update logo
ANazaret Jun 26, 2024
8f83390
update title
ANazaret Jun 26, 2024
fad9533
fixed merge conflicts
velezbeltran Jun 26, 2024
fca0726
reorganize first section (move figure)
ANazaret Jun 26, 2024
f81f65e
reorganize first section (move figure)
ANazaret Jun 26, 2024
1963efb
improve tables on mobile
ANazaret Jun 26, 2024
146193c
reduce global size of the page
ANazaret Jun 26, 2024
49cfd32
make button take the full horizontal width
ANazaret Jun 26, 2024
c24510e
improve table look
ANazaret Jun 26, 2024
c41664e
trim code examples
ANazaret Jun 26, 2024
edff3f6
edit template footer
ANazaret Jun 26, 2024
27553c1
Merge remote-tracking branch 'origin/site' into site
ANazaret Jun 26, 2024
b065f90
fix merge conflicts
ANazaret Jun 26, 2024
d134b3d
update css
ANazaret Jun 26, 2024
49bfe35
edit text
ANazaret Jun 26, 2024
683eb32
initialize jekyll site
aagrande Jun 23, 2024
d659fab
initialize sphinx
aagrande Jun 23, 2024
29ea16a
add first version of sphinx+furo website
aagrande Jun 27, 2024
312c5ed
clean up after rebase
aagrande Jun 27, 2024
0b9ad1e
restore latest version of sphinx+furo website
aagrande Jun 27, 2024
20fa6d4
Merge branch 'main' into documentation
aagrande Jun 27, 2024
ad5ccf3
fix end of file
aagrande Jun 27, 2024
5a1620c
Merge branch 'main' into site
ANazaret Jun 27, 2024
cfe0e93
Merge branch 'site' into documentation
ANazaret Jun 27, 2024
438aab6
Merge branch 'main' into site
ANazaret Jun 27, 2024
74e98a3
Merge branch 'site' into documentation
ANazaret Jun 27, 2024
f26a8ba
Merge pull request #99 from blei-lab/documentation
aagrande Jun 27, 2024
fa959ab
set Sphinx build output to root for shorter GitHub Pages url
aagrande Jun 27, 2024
71d22c0
rename sphinx/ to docs/ to simplify Github Pages URL
aagrande Jun 27, 2024
9cebcc1
add Github workflow for documentation
aagrande Jun 27, 2024
47d9e01
remove jekyll workflows
aagrande Jun 27, 2024
e9a9c67
update path to sphinx source
aagrande Jun 27, 2024
b0a5720
remove local docs website
aagrande Jun 27, 2024
1725813
update publish_dir
aagrande Jun 27, 2024
2af68b9
add back local docs site
aagrande Jun 27, 2024
bcf816e
add sphinx.ext.githubpages etensions and move .nojekyll to root folder
aagrande Jun 27, 2024
88fdf9d
change brand color to deep green
aagrande Jun 27, 2024
eccebbc
add circle to logo and adjust its size
aagrande Jun 27, 2024
cf0c16b
update docs link
aagrande Jun 27, 2024
cfd9f34
rename index page
aagrande Jun 27, 2024
b04eac5
change landing page
aagrande Jun 27, 2024
5c01303
edit author info
aagrande Jun 27, 2024
85fe55a
make scaler module private
aagrande Jun 27, 2024
da0343f
add docs for Samples
aagrande Jun 27, 2024
76666fa
update author info
aagrande Jun 28, 2024
189fb1e
fix annotation for KernelDensity objects
aagrande Jun 28, 2024
b93e5bf
simple patch to remove one card and images in the website (#102)
velezbeltran Sep 27, 2024
3caeb40
add quick start notebook to usage examples
aagrande Oct 10, 2024
822b55d
fix layout issue with notebook links
aagrande Oct 10, 2024
fb56d17
open notebook links in new tab
aagrande Oct 10, 2024
d0d895d
add links to m5 notebook
aagrande Oct 10, 2024
7cb047a
margin adjustments
ANazaret Oct 10, 2024
9682761
update index.html (remove appendix and update caption)
ANazaret Oct 14, 2024
4a7c476
update notebook links and add image for optimal inventory allocation
aagrande Oct 15, 2024
d536ddb
update image for optimal inventory allocation
aagrande Oct 15, 2024
e7f9b25
import tutorials from tutorials branch
aagrande Oct 23, 2024
63f67fc
add symlinks to tutorials
aagrande Oct 23, 2024
2205000
add README and walmart tutorials to docs site
aagrande Oct 23, 2024
b6eb910
remove release notes
aagrande Oct 23, 2024
5679d2f
remove README tutorial
aagrande Oct 23, 2024
25e6272
fix index
aagrande Oct 23, 2024
f8c2d99
fix readme (with correct repo url)
ANazaret Nov 4, 2024
e8f3176
Merge branch 'main' into site
ANazaret Nov 4, 2024
f3e4856
Merge remote-tracking branch 'origin/site' into site
ANazaret Nov 4, 2024
708cb8c
add documentation readme
aagrande Nov 4, 2024
3ab7627
update documentation
aagrande Nov 4, 2024
3ee95a4
update documentation readme
aagrande Nov 4, 2024
5b310c5
Merge branch 'main' into site
ANazaret Nov 4, 2024
29ed527
add github actions
ANazaret Nov 4, 2024
c9d2976
update github actions
ANazaret Nov 4, 2024
b8e2bf1
update github actions
ANazaret Nov 4, 2024
3c05062
delete locally built website
ANazaret Nov 4, 2024
500806b
Merge branch 'main' into site
ANazaret Nov 4, 2024
976cdd2
Merge branch 'main' into site
ANazaret Nov 4, 2024
b02d889
further purge files
ANazaret Nov 4, 2024
792d38a
remove unnecessary bib file
ANazaret Nov 4, 2024
2f978bb
remove commented html
ANazaret Nov 4, 2024
b36f728
removed .nojekyll
velezbeltran Nov 6, 2024
7b7d00e
add github actions to copy tutorial notebooks to the doc folder
ANazaret Nov 6, 2024
b9331fb
add tutorial to doc
ANazaret Nov 6, 2024
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
50 changes: 50 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Documentation

on:
push:
branches: [ site ]
pull_request:
branches: [ site ]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: site

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'

- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[docs]
pip install sphinx nbsphinx myst-parser furo

- name: Install package in editable mode
run: |
pip install -e .

- name: Build documentation
run: |
cd docs/docs
sphinx-build -b html source .

- name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/site'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/
publish_branch: gh-pages
force_orphan: true
commit_message: "Deploy documentation updates"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ docs/_build
examples/m5/*

# Debug files

*debug*
!debug.css

# Latex
*.aux
Expand Down
5 changes: 5 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
Empty file added docs/.nojekyll
Empty file.
6 changes: 6 additions & 0 deletions docs/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Treffuser Public Site

This folder contains all of the code pertaining the public site of Treffuser.

The folder name is `docs` because github pages only allows the root folder or the `docs` folder
to be used as the source for the site.
108 changes: 108 additions & 0 deletions docs/bibliography.bib
ANazaret marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
@article{gregor2015draw,
title={DRAW: A recurrent neural network for image generation},
author={Gregor, Karol and Danihelka, Ivo and Graves, Alex and Rezende, Danilo Jimenez and Wierstra, Daan},
journal={arXiv preprint arXiv:1502.04623},
year={2015},
url ={https://arxiv.org/pdf/1502.04623.pdf}
}
@article{mercier2011humans,
title={Why do humans reason? Arguments for an argumentative theory},
author={Mercier, Hugo and Sperber, Dan},
journal={Behavioral and brain sciences},
volume={34},
number={02},
pages={57--74},
year={2011},
publisher={Cambridge Univ Press},
doi={10.1017/S0140525X10000968}
}

@article{dong2014image,
title={Image super-resolution using deep convolutional networks},
author={Dong, Chao and Loy, Chen Change and He, Kaiming and Tang, Xiaoou},
journal={arXiv preprint arXiv:1501.00092},
year={2014},
url={https://arxiv.org/pdf/1501.00092.pdf}
}

@article{dumoulin2016adversarially,
title={Adversarially Learned Inference},
author={Dumoulin, Vincent and Belghazi, Ishmael and Poole, Ben and Lamb, Alex and Arjovsky, Martin and Mastropietro, Olivier and Courville, Aaron},
journal={arXiv preprint arXiv:1606.00704},
year={2016},
url={https://arxiv.org/pdf/1606.00704.pdf}
}

@article{dumoulin2016guide,
title={A guide to convolution arithmetic for deep learning},
author={Dumoulin, Vincent and Visin, Francesco},
journal={arXiv preprint arXiv:1603.07285},
year={2016},
url={https://arxiv.org/pdf/1603.07285.pdf}
}

@article{gauthier2014conditional,
title={Conditional generative adversarial nets for convolutional face generation},
author={Gauthier, Jon},
journal={Class Project for Stanford CS231N: Convolutional Neural Networks for Visual Recognition, Winter semester},
volume={2014},
year={2014},
url={http://www.foldl.me/uploads/papers/tr-cgans.pdf}
}

@article{johnson2016perceptual,
title={Perceptual losses for real-time style transfer and super-resolution},
author={Johnson, Justin and Alahi, Alexandre and Fei-Fei, Li},
journal={arXiv preprint arXiv:1603.08155},
year={2016},
url={https://arxiv.org/pdf/1603.08155.pdf}
}

@article{mordvintsev2015inceptionism,
title={Inceptionism: Going deeper into neural networks},
author={Mordvintsev, Alexander and Olah, Christopher and Tyka, Mike},
journal={Google Research Blog},
year={2015},
url={https://research.googleblog.com/2015/06/inceptionism-going-deeper-into-neural.html}
}

@misc{mordvintsev2016deepdreaming,
title={DeepDreaming with TensorFlow},
author={Mordvintsev, Alexander},
year={2016},
url={https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb},
}

@article{radford2015unsupervised,
title={Unsupervised representation learning with deep convolutional generative adversarial networks},
author={Radford, Alec and Metz, Luke and Chintala, Soumith},
journal={arXiv preprint arXiv:1511.06434},
year={2015},
url={https://arxiv.org/pdf/1511.06434.pdf}
}

@inproceedings{salimans2016improved,
title={Improved techniques for training gans},
author={Salimans, Tim and Goodfellow, Ian and Zaremba, Wojciech and Cheung, Vicki and Radford, Alec and Chen, Xi},
booktitle={Advances in Neural Information Processing Systems},
pages={2226--2234},
year={2016},
url={https://arxiv.org/pdf/1606.03498.pdf}
}

@article{shi2016deconvolution,
title={Is the deconvolution layer the same as a convolutional layer?},
author={Shi, Wenzhe and Caballero, Jose and Theis, Lucas and Huszar, Ferenc and Aitken, Andrew and Ledig, Christian and Wang, Zehan},
journal={arXiv preprint arXiv:1609.07009},
year={2016},
url={https://arxiv.org/pdf/1609.07009.pdf}
}

@misc{openai2018charter,
author={OpenAI},
title={OpenAI Charter},
type={Blog},
number={April 9},
year={2018},
url={https://blog.openai.com/charter},
}
156 changes: 156 additions & 0 deletions docs/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
/*
* Copyright 2018 The Distill Template Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

html {
font-size: 14px;
line-height: 1.6em;
/* font-family: "Libre Franklin", "Helvetica Neue", sans-serif; */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
/*, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

@media (min-width: 768px) {
html {
font-size: 16px;
}
}

body {
margin: 0;
}

a {
color: #004276;
}

figure {
margin: 0;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

table th {
text-align: left;
}

table thead {
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

table thead th {
padding-bottom: 0.5em;
}

table tbody :first-child td {
padding-top: 0.5em;
}

pre {
overflow: auto;
max-width: 100%;
}

p {
margin-top: 0;
margin-bottom: 1em;
text-align: justify;
}

sup, sub {
vertical-align: baseline;
position: relative;
top: -0.4em;
line-height: 1em;
}

sub {
top: 0.4em;
}

.kicker,
.marker {
font-size: 15px;
font-weight: 600;
color: rgba(0, 0, 0, 0.5);
}


/* Headline */

@media (min-width: 1024px) {
d-title h1 span {
display: block;
}
}

/* Figure */

figure {
position: relative;
margin-bottom: 2.5em;
margin-top: 1.5em;
}

figcaption + figure {

}

figure img {
width: 100%;
}

figure svg text,
figure svg tspan {
}

figcaption,
.figcaption {
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
line-height: 1.5em;
text-align: justify;
}

@media (min-width: 1024px) {
figcaption,
.figcaption {
font-size: 13px;
}
}

figure.external img {
background: white;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
padding: 18px;
box-sizing: border-box;
}

figcaption a {
color: rgba(0, 0, 0, 0.6);
}

figcaption b,
figcaption strong {
font-weight: 600;
color: rgba(0, 0, 0, 1.0);
}
22 changes: 22 additions & 0 deletions docs/css/code.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
code, pre {
font-family: 'Consolas', 'Monaco', monospace;
background-color: #f6f8fa;
border-radius: 3px;
}

code {
padding: 2px 4px;
font-size: 0.9em;
border: 1px solid #e1e4e8;
}

pre {
padding: 10px;
border: 1px solid #e1e4e8;
overflow-x: auto;
}

pre code {
padding: 0;
border: none;
}
33 changes: 33 additions & 0 deletions docs/css/example-cards.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.example-card {
display: flex;
align-items: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
transition: 0.3s;
margin: 10px 0;
border-radius: 3px;
}

.example-card img {
width: 150px;
height: auto;
margin-right: 20px;
}

.example-container {
flex: 1;
padding: 2px 16px;
}

.example-card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
}

h4 a {
margin-left: 10px;
text-decoration: none;
white-space: nowrap;
}

h4 a:hover {
text-decoration: underline;
}
Loading
Loading