Skip to content

Commit

Permalink
autopull REMARKs Thu Oct 10 20:00:54 UTC 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 10, 2024
0 parents commit 95bf42a
Show file tree
Hide file tree
Showing 127 changed files with 6,061 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/fetch-remark-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Copy REMARK metadata
on:
push:
branches:
- master
workflow_dispatch:

permissions:
contents: write
jobs:
copy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.x'
- name: install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml==6.0.0
- name: copy metadata
run: python scripts/populate_materials.py
- name: update gh-pages branch
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
git checkout --orphan gh-pages
git add .
git commit -m "autopull REMARKs $(date)"
git push --force origin gh-pages
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_site
.DS_Store
really-simple*.gem
Gemfile.lock
vendor
.bundle
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_layouts/*
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.2
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
econ-ark.org
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'jekyll-seo-tag'
gem 'github-pages', group: :jekyll_plugins
gem 'webrick' # needed to build locally

37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# The Econ-ARK Website

This site uses Markdown along with Jekyll site generator to compile a static site.

The site code is hosted here on GitHub, the compiled site is hosted on Netlify, and DNS configured with AWS Route53.

Any edits to any of the markdown files will be recompiled and pushed live upon commit to `master` branch. Changes should be visible <10 minutes.

So, to trigger a recompile (for example, in case some external source material has changed), edit this README.md

You can also browse directly to the site's info for a particular resource with a command like:

https://econ-ark.org/materials/bufferstocktheory

or

https://econ-ark.org/materials/distributionofwealthmpc

(note that our convention is that the name of the "material" should be all lower case)

- Updated SolvingMicroDSOPs.md to point to llorracc/SolvingMicroDSOPS/SolvingMicroDSOPS.ipynb
- Fixed path in REMARKs/DurableConsumerType.md
- 2023-03-14: Updated LucasAssetPrice.md on DemARK

## Local Build Instructions

1. Install Ruby 3.0.4
2. Run the following commands:
```
gem install bundler # installs bundler gem
git clone ... # clone repo
cd path/to/repo # navigate to repo top level
bundle config set --local path 'vendor/bundle' # set bundler output directory
bundle install # bundle your jekyll application
bundle exec jekyll serve # begin serving your site locally
```

43 changes: 43 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
title: Econ-ARK
url: https://econ-ark.org/
author: Econ-ARK
keywords:
description: 'Structural modeling of economic choices of heterogeneous agents'

custom_launcher: false

custom_launcher_domain: 'http://35.239.158.93/'

timezone: America/New_York
google_analytics: UA-118130489-1

baseurl:

sass:
sass_dir: /assets/sass
style: :compressed

repository:

exclude:
- Gemfile
- Gemfile.lock
- vendor/bundle

collections:
materials:
output: true
permalink: /materials/:name/
team:

defaults:
- scope:
path: ''
type: 'materials'
values:
layout: material
published: ''
- scope:
type: 'team'
values:
order: 99
157 changes: 157 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!doctype html>
<html class="no-js" lang="en">

<head>

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-54984338-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', '{{ site.google_analytics }}');
</script>

<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ page.title }} &ndash; {{ site.title }}</title>

<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="icon" href="{{ '/assets/img/favicon.ico' | relative_url }}" type="image/x-icon" /> -->

<meta name="author" content="{{ site.author }}">
<meta name="keywords" content="{{ site.keywords }}">
<meta name="description" content="{{ site.description }}">

<meta property="og:title" content="{{ page.title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://econ-ark.org{{ page.url }}" />
<meta property="og:image" content="https://econ-ark.org/assets/img/econ-ark-logo.png" />
<meta property="og:description" content="{{ site.description }}" />
<meta property="og:site_name" content="{{ site.title }}" />

<script src="https://kit.fontawesome.com/8281de4b75.js" crossorigin="anonymous"></script>

<link href="//fonts.googleapis.com/css?family=Varela+Round|Roboto:400,500,700&display=swap" rel="stylesheet">

<!-- Include CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/choices.js/public/assets/styles/choices.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="/assets/main.css?v=1.1">

</head>

<body class="language-python{% if page.layout == 'home' %} home{% endif %}">

<header class="header">

<a title="Toggle navigation" id="toggleNav" class="toggle-nav"><i class="fas fa-bars"></i></a>

<div class="container">

<p class="site-logo"><a href="/"><img src="{{ '/assets/img/econ-ark-logo-white.png' | relative_url }}"></a>
</p>

<nav class="navigation">

<ul>
{% assign pages = site.pages | where: "menu_item", "true" | sort:"order" %}
{% for node in pages %}
<li class="{% if page.url == node.url %}active{% endif %}"><a
href="{{ node.url | relative_url }}">{{ node.title }}</a></li>
{% endfor %}

<li><a href="https://docs.econ-ark.org">Docs</a></li>
<li><a href="https://github.com/econ-ark">GitHub</a></li>
</ul>

</nav>

</div>

</header>

<main>

{% if page.layout != "home" %}
<div class="container">
{% endif %}

{{ content }}

{% if page.layout != "home" %}
</div>
{% endif %}

</main>

<footer class="footer px-5">

<div class="container">

<div class="row gx-5">

<div class="col-md-7">

<p>Econ-ARK is headed by <a href="http://www.econ2.jhu.edu/people/ccarroll/">Christopher D.
Carroll</a>, Professor of Economics at the Johns Hopkins University.</p>

<p>The project is currently the recepient of a generous corporate sponsorship from <a
href="https://www.troweprice.com/">T. Rowe Price</a> through <a
href="https://www.numfocus.org/">NumFocus</a>.</p>

<p>The project has been a recipient of grants from the <a href="https://sloan.org/">Sloan
foundation</a>
and the <a href="https://www.thinkforwardinitiative.com/">Think Forward Initiative</a>, and is
under the umbrella of projects with fiscal sponsorship by <a
href="https://www.numfocus.org/">NumFocus</a>.</p>

<p>Please remember to <a href="acknowledging">acknowledge and cite</a> the use of Econ-ARK.</p>

<p>We are very grateful for any <a
href="https://numfocus.salsalabs.org/donate-to-econ-ark/">donations</a> towards the Econ-ARK
project.</p>

</div>

<div class="offset-md-1 col-md-3">

<p class="sponsor"><a href="https://www.numfocus.org/"><img
src="{{ '/assets/img/numfocus.png' | relative_url }}" alt="NumFOCUS logo"
class="responsive"></a></p>

</div>

</div>

<div class="row">

<p>&copy; 2023 &ndash; <a href="https://econ-ark.org/">Econ-ARK</a>. Hosted with <a
href="https://pages.github.com/">GitHub Pages</a>.</p>

</div>

</div>

</footer>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>

<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.js"></script>

<!-- Include Choices JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/choices.js/public/assets/scripts/choices.min.js"></script>

<script src="{{ '/assets/js/prism.js' | relative_url }}"></script>
<script src="/assets/js/main.js?v=1.0"></script>

</body>

</html>
Loading

0 comments on commit 95bf42a

Please sign in to comment.