GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Open scd architecture by pascalwilbrink · Pull Request #7 · openscd/.github

Open scd architecture #7

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.

Sign up for GitHub

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

Open
pascalwilbrink wants to merge 2 commits into main
base: main
Loading
Loading
from OpenSCD_Architecture

Uh oh!

There was an error while loading. Please reload this page.

Open

Open scd architecture #7

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2 commits
Select commit Hold shift + click to select a range
7939cee
Added OpenSCD Architecture site
pascalwilbrink May 29, 2023
c9fb728
Chore: Added GH action for jekyll
pascalwilbrink Jun 2, 2023
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

69 changes: 69 additions & 0 deletions 69 .github/.workflows/jekyll.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
working-directory: site
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
working-directory: site
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
working-directory: site
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1
working-directory: site

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
working-directory: site
64 changes: 64 additions & 0 deletions 64 site/.github/workflows/jekyll.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
8 changes: 8 additions & 0 deletions 8 site/.gitignore
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
_site
.sass-cache
.jekyll-metadata
.DS_Store
node_modules


Gemfile.lock
9 changes: 9 additions & 0 deletions 9 site/Gemfile
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source 'https://rubygems.org'

gem 'jekyll'
gem 'jekyll-feed'
gem 'jekyll-sitemap'
gem 'kramdown'
gem 'rouge'
gem 'jekyll-toc'
gem "webrick", "~> 1.8"
21 changes: 21 additions & 0 deletions 21 site/LICENSE
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Kitty Giraudel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 14 additions & 0 deletions 14 site/README.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# OpenSCD Architecture


## Guides
To add a guide, simple add a `.md` file in the `collections/_guides` directory.

## Components
To add a component, simply add a `.md` file in the `collections/_components` directory.

## Plugins
To add a plugin, simply add a `.md` file in the `collections/_plugins` directory.

## Page
To add a page, simply add a `.md` file in the `collections/pages` directory.
66 changes: 66 additions & 0 deletions 66 site/_config.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.

# Site settings
title: OpenSCD Architecture
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "/" # the subpath of your site, e.g. /blog
url: "https://pascalwilbrink.github.io" # the base hostname & protocol for your site
collections_dir: collections

# Markdown settings
markdown: kramdown
highlighter: rouge
kramdown:
input: GFM

toc:
min_level: 1
max_level: 6
ordered_list: false
no_toc_section_class: no_toc_section
list_id: toc
list_class: section-nav
sublist_class: ''
item_class: toc-entry
item_prefix: toc-

defaults:
- scope:
path: "assets/images"
values:
image: true

# Sass settings
sass:
add_charset: true
sass_dir: assets/sass
style: :compressed

collections:
guides:
output: true
plugins:
output: true
components:
output: true

# Build settings
exclude:
- package.json
- README.md
- CNAME
- assets/sass

# Plugin settings
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-toc
15 changes: 15 additions & 0 deletions 15 site/_includes/code.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

<div class="terminal">
<div class="terminal__header">
<span class="terminal__button terminal__button--green"></span>
<span class="terminal__button terminal__button--yellow"></span>
<span class="terminal__button terminal__button--red"></span>
</div>
<button class="terminal__copy-button">
<i class="material-symbols-outlined">content_copy</i>
</button>
<div class="terminal__window">
{{ include.code }}
</div>
</div>

18 changes: 18 additions & 0 deletions 18 site/_includes/head.html
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">

<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<link rel="stylesheet" href="{{ "/assets/css/syntax.css" | relative_url }}" type="text/css" />

<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />

<script src="{{ "/assets/js/main.js" | relative_url }}"></script>

{% feed_meta %}
</head>
20 changes: 20 additions & 0 deletions 20 site/_includes/header.html
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<header class="header">
<img src="{{ 'assets/images/logo.png' | relative_url }}" class="logo" />
<nav class="nav">
<a class="nav__item" href="{{ '/' | relative_url }}">
Home
</a>
<a class="nav__item" href="{{ 'pages/guides' | relative_url }}">
Guides
</a>
<a class="nav__item" href="{{ 'pages/plugins' | relative_url }}">
Plugins
</a>
<a class="nav__item" href="{{ 'pages/components' | relative_url }}">
Components
</a>
<a class="nav__item" href="">
Blog
</a>
</nav>
</header>
34 changes: 34 additions & 0 deletions 34 site/_layouts/aside.html
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: page.lang | default: 'en' }}">

{% include head.html %}

<body>
{% include header.html %}
<section class="content">
<aside>
<div class="card">
<div class="card__header">Latest Posts</div>
<div class="card__content">
<ul class="list">
{% for post in site.posts limit: 5 %}
<li>
<a href="{{ post.url }}">
{{ post.title }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</aside>
<main class="main" aria-label="Content">
{{ content }}
</main>
</section>

<script src="{{ "/assets/js/copy-code.js" | relative_url }}"></script>

</body>

</html>
28 changes: 28 additions & 0 deletions 28 site/_layouts/component.html
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: page.lang | default: 'en' }}">

{% include head.html %}

<body>
{% include header.html %}
<section class="content">
<main class="main" aria-label="Content">

<div class="card">
<div class="card__header">
{{ page.name }}
</div>
<div class="card__content">
{{ content }}
</div>
</div>

</main>
</section>

<script src="{{ "/assets/js/copy-code.js" | relative_url }}"></script>

</body>

</html>

16 changes: 16 additions & 0 deletions 16 site/_layouts/default.html
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: page.lang | default: 'en' }}">

{% include head.html %}

<body>
{% include header.html %}
<main class="main" aria-label="Content">
{{ content }}
</main>

<script src="{{ "/assets/js/copy-code.js" | relative_url }}"></script>

</body>

</html>
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.