-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move website source here and deploy it automatically
- Loading branch information
Showing
298 changed files
with
2,183 additions
and
4,319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Build and Deploy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
# NOTE: Python is necessary if you set minify=true in optimize below | ||
- name: Install python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
# NOTE: Here you can then install Python dependencies such as matplotlib if you use | ||
# packages such as PyPlot. | ||
# - run: pip install matplotlib | ||
- name: Install Julia | ||
uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: 1.5 | ||
- name: Install dependencies listed in Project.toml and build package | ||
uses: julia-actions/julia-buildpkg@master | ||
# NOTE | ||
# Using --project below ensures that the environment defined by | ||
# Project.toml and built by `julia-buildpkg` is loaded. | ||
# NodeJS helps install the highlight.js node package which is used | ||
# to prer-ender code blocks when 'prerender=false'. | ||
# The last line should be the 'optimize(...)' call (see ?optimize). | ||
- run: julia --project -e ' | ||
using NodeJS, Franklin; | ||
run(`$(npm_cmd()) install highlight.js`); | ||
optimize(minify=true, prerender=true); | ||
' | ||
- name: Build and Deploy | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: __site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
__site/ | ||
.DS_Store | ||
franklin | ||
franklin.pub | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
image: julia:1.5 | ||
|
||
before_script: | ||
- apt-get -qq update; apt-get -y install git python3-dev python3-pip | ||
- pip3 install css-html-js-minify | ||
|
||
pages: | ||
stage: deploy | ||
script: | ||
- julia --project=@. -e 'import Pkg; Pkg.instantiate(); | ||
using NodeJS; run(`$(npm_cmd()) install highlight.js`); | ||
using Franklin; | ||
optimize()' | ||
- mv __site public | ||
artifacts: | ||
paths: | ||
- public | ||
only: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 404: File not found | ||
|
||
The requested file was not found. | ||
|
||
Please [click here](/) to go to the home page. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- CONTENT ENDS HERE --> | ||
{{ if hasmath }} | ||
{{ insert foot_katex.html }} | ||
{{ end }} | ||
{{ if hascode }} | ||
{{ insert foot_highlight.html }} | ||
{{ end }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<script src="/libs/highlight/highlight.pack.js"></script> | ||
<script>hljs.initHighlightingOnLoad();hljs.configure({tabReplace: ' '});</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<script src="/libs/katex/katex.min.js"></script> | ||
<script src="/libs/katex/auto-render.min.js"></script> | ||
<script>renderMathInElement(document.body)</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
{{if hasmath}} {{insert head_katex.html }} {{end}} | ||
{{if hascode}} {{insert head_highlight.html }} {{end}} | ||
{{if hasplotly}} <script src="/libs/plotly/plotly.min.js"></script> {{end}} | ||
<link rel="stylesheet" href="/css/franklin.css"> | ||
<link rel="stylesheet" href="/css/basic.css"> | ||
<link rel="icon" href="/assets/favicon.png"> | ||
{{isdef title}} <title>{{fill title}}</title> {{end}} | ||
</head> | ||
<body> | ||
|
||
{{insert header.html }} | ||
|
||
|
||
<!-- Content appended here --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="stylesheet" href="/libs/highlight/github.min.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="stylesheet" href="/libs/katex/katex.min.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<header> | ||
<a href="http://www.im.ufrj.br"><img style="max-height:60px; margin-top: 0px;" src="/assets/img/Logo_IM_caption.png"></a> | ||
<nav> | ||
{{if pt_lang}} | ||
<ul> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/pages/ensino/">Ensino</a></li> | ||
<li><a href="/pages/pesquisa/">Pesquisa</a></li> | ||
<li><a href="/pages/cv/">CV</a></li> | ||
<li><a href="/pages/blog/">Blog</a></li> | ||
<li><a href="/pages/contato/">Contato</a></li> | ||
<li><a href="/"><img alt="pt" src="/assets/img/bandeira-nacional-brasil.jpg" width=16></a></li> | ||
<li><a href="/en/"><img alt="en" src="/assets/img/usa1.jpg" width=16></a></li> | ||
</ul> | ||
<img src="/assets/hamburger.svg" id="menu-icon"> | ||
{{else}} | ||
<ul> | ||
<li><a href="/en/">Home</a></li> | ||
<li><a href="/pages/teaching/">Teaching</a></li> | ||
<li><a href="/pages/research/">Research</a></li> | ||
<li><a href="/pages/cv_en/">CV</a></li> | ||
<li><a href="/pages/blog_en/">Blog</a></li> | ||
<li><a href="/pages/contact/">Contact</a></li> | ||
<li><a href="/"><img alt="pt" src="/assets/img/bandeira-nacional-brasil.jpg" width=16></a></li> | ||
<li><a href="/en/"><img alt="en" src="/assets/img/usa1.jpg" width=16></a></li> | ||
</ul> | ||
<img src="/assets/hamburger.svg" id="menu-icon"> | ||
{{end}} | ||
</nav> | ||
<a href="http://www.ufrj.br"><img style="max-height:65px; margin-top: 0px;" src="/assets/img/001minerva_color_vert.png"></a> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="page-foot"> | ||
<div class="copyright"> | ||
© {{ fill author }}. {{isnotpage /tag/*}}Last modified: {{ fill fd_mtime }}.{{end}} Built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a>. | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="/css/franklin.css"> | ||
<link rel="stylesheet" href="/css/basic.css"> | ||
<title>Tag: {{fill fd_tag}}</title> | ||
</head> | ||
<body> | ||
{{insert header.html}} | ||
<div class="{{div_content}}"> | ||
<h1>Tag: {{fill fd_tag}}</h1> | ||
{{taglist}} | ||
{{insert page_foot.html}} | ||
</div> | ||
</body> | ||
</html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This is based on Yandex's https://yandex.com/support/zen/website/rss-modify.html | ||
The scope of this segment is the GLOBAL scope (variables defined in config.md). | ||
For instance 'website_url' or 'website_description'. | ||
Notes: | ||
* namespaces (xmlns): https://validator.w3.org/feed/docs/howto/declare_namespaces.html | ||
* best practices: https://www.rssboard.org/rss-profile | ||
* fd2rss convers markdown to html and fixes or removes relative links | ||
* fd_rss_feed_url is built out of {website_url}/{rss_file}.xml, you can change the | ||
rss_file variable in your config file if you want to use something different than 'feed' | ||
--> | ||
<rss version="2.0" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:media="http://search.yahoo.com/mrss/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" | ||
xmlns:georss="http://www.georss.org/georss"> | ||
|
||
<channel> | ||
<title> | ||
<![CDATA[ {{fd2rss website_title}} ]]> | ||
</title> | ||
<link> {{website_url}} </link> | ||
<description> | ||
<![CDATA[ {{fd2rss website_description}} ]]> | ||
</description> | ||
<atom:link | ||
href="{{fd_rss_feed_url}}" | ||
rel="self" | ||
type="application/rss+xml" /> | ||
<!-- | ||
* items will be added here in chronological order | ||
* the channel will then be closed | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!-- | ||
This is based on Yandex's https://yandex.com/support/zen/website/rss-modify.html | ||
The scope of this segment is the LOCAL scope (page variables). For instance 'rss_title'. | ||
Notes: | ||
* the local var rss_description (or rss) *must* be given otherwise the item | ||
is not generated. | ||
* rss_title if not given is inferred from page title | ||
* rss_pubdate if not given is inferred from the date of last modification | ||
* the full content is not added by default but can be if the variable rss_full_content | ||
is set to true (either globally or locally). | ||
* RFC822 or RFC1123 is a date format required by RSS. | ||
* there is debate about supporting one or several enclosures | ||
(see https://www.rssboard.org/rss-profile#element-channel-item-enclosure). | ||
We use the conservative 'only one' approach by default but you could tweak this by | ||
defining your own `rss_enclosures` variable with a list of string and use that. | ||
--> | ||
<item> | ||
<title> | ||
<![CDATA[ {{fd2rss rss_title}} ]]> | ||
</title> | ||
<link> {{fd_full_url}} </link> | ||
<guid> {{fd_full_url}} </guid> | ||
<description> | ||
<![CDATA[ {{fd2rss rss_description}} ]]> | ||
</description> | ||
|
||
<!-- note that fd_page_html is already HTML, so we don't use fd2rss here --> | ||
{{if rss_full_content}} | ||
<content:encoded> | ||
<![CDATA[ {{fix_relative_links fd_page_html}} ]]> | ||
</content:encoded> | ||
{{end}} | ||
|
||
<!-- RFC1123 enforces a RSS-compliant date formatting --> | ||
<pubDate>{{RFC822 rss_pubdate}}</pubDate> | ||
|
||
<!-- if given this must be an email, see specs --> | ||
{{isnotempty rss_author}} | ||
<author> {{rss_author}} </author> | ||
{{end}} | ||
{{isnotempty author}} | ||
<atom:author> | ||
<atom:name>{{author}}</atom:name> | ||
</atom:author> | ||
{{end}} | ||
|
||
{{isnotempty rss_category}} | ||
<category> {{rss_category}} </category> | ||
{{end}} | ||
|
||
{{isnotempty rss_comments}} | ||
<comments> {{rss_comments}} </comments> | ||
{{end}} | ||
|
||
{{isnotempty rss_enclosure}} | ||
<enclosure> {{rss_enclosure}} </enclosure> | ||
{{end}} | ||
</item> |
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
assets/blog/2021/02/time_ave_bounds_in_Julia/code/output/ex1.out
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
assets/blog/2021/02/time_ave_bounds_in_Julia/code/output/ex1.res
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.