Skip to content

Commit 6ac141e

Browse files
Deploy to GitHub pages
0 parents  commit 6ac141e

File tree

324 files changed

+129255
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+129255
-0
lines changed

404.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
tab: 100
5+
---
6+
7+
<div class="container">
8+
<div v-if="isDocsPage()">
9+
<h1>404</h1>
10+
<p><strong>Page not found</strong></p>
11+
<p>This version of the documentation does not contain this page. Please go to the <a :href="getMainDocsPage()">main documentation page</a>.
12+
</div>
13+
<div v-else>
14+
15+
<h1>404</h1>
16+
17+
<p><strong>Page not found</strong></p>
18+
<p>The requested page could not be found.</p>
19+
</div>
20+
</div>

Gemfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
11+
#gem "jekyll", "~> 4.3.1"
12+
gem "github-pages", "~> 228", group: :jekyll_plugins
13+
14+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
15+
gem "minima", "~> 2.5"
16+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
17+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
18+
# gem "github-pages", group: :jekyll_plugins
19+
# If you have any plugins, put them here!
20+
group :jekyll_plugins do
21+
gem "jekyll-feed", "~> 0.12"
22+
end
23+
24+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
25+
# and associated library.
26+
platforms :mingw, :x64_mingw, :mswin, :jruby do
27+
gem "tzinfo", ">= 1", "< 3"
28+
gem "tzinfo-data"
29+
end
30+
31+
# Performance-booster for watching directories on Windows
32+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
33+
34+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
35+
# do not have a Java counterpart.
36+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

README.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
PSI/J Web Site
2+
==============
3+
4+
The web site uses Jekyll, which is a Ruby tool for static page
5+
templating/generation. It is the tool used by Github Pages, so
6+
it is readily deployable there *before* running Jekyll.
7+
8+
The web site also builds the documentation with a custom theme
9+
that allows the Sphinx output to be directly integrated into the
10+
main web site.
11+
12+
Building
13+
========
14+
15+
All operations are to be done from the *root directory* of the
16+
PSI/J repository.
17+
18+
1. Install the packages required to build the documentation
19+
(this step is only needed once):
20+
21+
```bash
22+
$ sudo pip install -r requirements-docs.txt
23+
```
24+
25+
2. Install Jekyll prerequisites by following the instructions for your
26+
operating system found in the
27+
[Jekyll installation instructions](https://jekyllrb.com/docs/installation/).
28+
You should skip installing Jekyll itself, since it will be installed by
29+
*bundler*. Then run
30+
```bash
31+
$ cd web
32+
$ bundle update
33+
$ cd ..
34+
```
35+
to install the version of Jekyll used by github-pages. This is a one-time
36+
operation. For subsequent builds, you can skip directly to step 3.
37+
38+
3. Run the build script, which will build the documentation, process
39+
files in the `web` directory, and generate the output in `web-build`:
40+
41+
```bash
42+
$ web/build.sh
43+
```
44+
4. Run the Jekyll server with the script provided:
45+
46+
```bash
47+
$ web/serve.sh
48+
```
49+
50+
You should then see something like:
51+
```
52+
...
53+
Server address: http://127.0.0.1:4000/psij-python/
54+
Server running... press ctrl-c to stop.
55+
```
56+
57+
You can then point your browser to `http://127.0.0.1:4000/psij-python` to
58+
see the rendered web site.

_config.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: "PSI/J - Python"
22+
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
Portable Submission Interface for Jobs
25+
A Python abstraction layer over cluster schedulers
26+
baseurl: "/psij-python" # the subpath of your site, e.g. /blog
27+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
28+
twitter_username: jekyllrb
29+
github_username: jekyll
30+
31+
# Build settings
32+
theme: minima
33+
plugins:
34+
- jekyll-feed
35+
36+
# Exclude from processing.
37+
# The following items will not be processed, by default.
38+
# Any item listed under the `exclude:` key here will be automatically added to
39+
# the internal "default list".
40+
#
41+
# Excluded items can be processed by explicitly listing the directories or
42+
# their entries' file path in the `include:` list.
43+
#
44+
# exclude:
45+
# - .sass-cache/
46+
# - .jekyll-cache/
47+
# - gemfiles/
48+
# - Gemfile
49+
# - Gemfile.lock
50+
# - node_modules/
51+
# - vendor/bundle/
52+
# - vendor/cache/
53+
# - vendor/gems/
54+
# - vendor/ruby/
55+
56+
exclude:
57+
- Gemfile
58+
- Gemfile.lock
59+
- .gitignore
60+
- README.md
61+
include:
62+
- _static
63+
- _images
64+
- _sources
65+
- _modules
66+
- .generated
67+
- .doctrees
68+
- images

_includes/footer.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<v-footer>
2+
<v-card flat tile class="lighten-1 text-center"
3+
style="margin: auto; padding: 2em 0; background-color: #f5f5f5 !important;">
4+
<v-card-text>
5+
&copy;2021-<script type="application/javascript">document.write(new Date().getFullYear());</script> - <a href="https://exaworks.org">The ExaWorks Project</a>
6+
</v-card-text>
7+
8+
<v-row justify="center">
9+
<v-col justify="center">
10+
<img height="36pt" src="https://exaworks.org/images/llnl.png">
11+
</v-col>
12+
<v-col justify="center">
13+
<img height="36pt" src="https://exaworks.org/images/anl-200.png">
14+
</v-col>
15+
<v-col justify="center">
16+
<img height="36pt" src="https://exaworks.org/images/bnl.png">
17+
</v-col>
18+
<v-col justify="center">
19+
<img height="30pt" src="https://exaworks.org/images/ornl.png"
20+
style="vertical-align: bottom; margin-top: 0.3em">
21+
</v-col>
22+
</v-row>
23+
<v-row justify="center">
24+
<v-col class="text-end">
25+
<img height="20pt"
26+
src="https://science.osti.gov/-/media/_/images/about/resources/logos/png/high-res/RGB_Color-Seal_Green-Mark_SC_Horizontal.png"
27+
style="vertical-align: middle">
28+
</v-col>
29+
<v-col class="text-start">
30+
<span class="psij-font">PSI/J</span> is funded by the U.S. Department of Energy
31+
</v-col>
32+
<v-col class="text-end">
33+
<img height="40pt" src="https://www.ecpannualmeeting.com/images/ecp-horizontal.png">
34+
</v-col>
35+
<v-col class="text-start">
36+
<span class="psij-font">PSI/J</span> is part of the Exascale Computing Project
37+
</v-col>
38+
</v-row>
39+
</v-card>
40+
</v-footer>

_includes/head.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<link rel="stylesheet" href="{{ site.baseurl }}/theme-4.css">
2+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Open+Sans&family=Saira:wght@300;400&family=Nunito+Sans:wght@300;400" rel="stylesheet">
3+
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
4+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
6+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
7+
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.0.3/vue-router.min.js"></script>
8+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js"></script>
9+
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
10+
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
11+
<script src="https://code.jquery.com/jquery-migrate-3.4.0.min.js"></script>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/highlight.min.js"></script>
13+
<link rel="preconnect" href="https://fonts.googleapis.com">
14+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
15+
<link rel="stylesheet" href="{{ site.baseurl }}/style.css?id=2">
16+
<link rel="stylesheet"
17+
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/base16/tender.min.css">
18+
<script src="https://kit.fontawesome.com/0f2ef02e2b.js" crossorigin="anonymous"></script>
19+
<script src="{{ site.baseurl }}/versions.js"></script>
20+
<script src="{{ site.baseurl }}/versioning.js"></script>

_includes/menu.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<v-app-bar elevation="4" height="48pt" fixed elevate-on-scroll width="100%">
2+
<v-tabs v-model="maintabs">
3+
<v-tab key="index"><a href="{{site.baseurl}}/index.html"><div class="psij-font logo">PSI/J</div></a></v-tab>
4+
<v-tab key="install"><a href="{{site.baseurl}}/install.html">Install</a></v-tab>
5+
<v-tab key="docs"><a href="{{site.baseurl}}/docs">Documentation</a></v-tab>
6+
<v-tab key="resources"><a href="{{site.baseurl}}/resources.html">Resources</a></v-tab>
7+
<v-tab key="about"><a href="{{site.baseurl}}/about.html">About</a></v-tab>
8+
</v-tabs>
9+
10+
<div class="slack-link navbar-link">
11+
<a href="https://join.slack.com/t/exaworks/shared_invite/zt-gttapi1i-GSaiHd8Q0h7uKyZnIqAUwQ"
12+
target="_blank"><i class="fab fa-slack"></i></a>&nbsp;&nbsp;
13+
</div>
14+
<div class="gh-link navbar-link">
15+
<a href="https://github.com/exaworks" target="_blank"><i class="fab fa-github"></i></a>
16+
</div>
17+
</v-app-bar>
18+
19+
<div id="top-spacer"></div>

_includes/versionselect.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div id="version-selector">
2+
<v-select :items="getSortedVersionLabels()" @change="setVersion" v-model="version"></v-select>
3+
</div>

_includes/vueinit.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
<script>
3+
/* need this to avoid vue thinking some code block that
4+
happens to match some of its syntax is a template that
5+
needs to be processed */
6+
$("div.highlight > pre").each(function() {
7+
$(this).attr("v-pre", "");
8+
});
9+
v = new Vue({
10+
el: '#psij-app',
11+
vuetify: new Vuetify(),
12+
data: {
13+
maintabs: {{ page.tab }},
14+
version: getCurrentVersion()
15+
},
16+
methods: {
17+
getSortedVersionLabels: getSortedVersionLabels,
18+
setVersion: setVersion,
19+
getMainDocsPage: getMainDocsPage,
20+
isDocsPage: isDocsPage
21+
}
22+
});
23+
24+
hljs.highlightAll();
25+
</script>

_layouts/default.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
<!DOCTYPE html>
3+
<html>
4+
5+
<head>
6+
<title>{{ page.title }}</title>
7+
{% include head.html %}
8+
</head>
9+
10+
<body>
11+
<v-app id="psij-app">
12+
{% include menu.html %}
13+
14+
{{ page.content }}
15+
16+
{% include footer.html %}
17+
</v-app>
18+
19+
{% include vueinit.html %}
20+
21+
</body>
22+
23+
</html>

0 commit comments

Comments
 (0)