Skip to content

Commit

Permalink
Reverted changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
create3000 committed May 15, 2024
1 parent a5bfca5 commit 90d1859
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 70 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build and Deploy"
name: "Build and Deploy Pages"
on:
push:
branches:
Expand Down Expand Up @@ -34,12 +34,12 @@ jobs:

- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: 3
bundler-cache: true

- name: Build site
Expand All @@ -48,7 +48,7 @@ jobs:
JEKYLL_ENV: "production"

- name: Upload site artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v1
with:
path: "./docs/_site"

Expand All @@ -61,4 +61,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v2
18 changes: 16 additions & 2 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@

source "https://rubygems.org"

gem "jekyll-theme-chirpy", "~> 7.0"
gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.5"

group :test do
gem "html-proofer", "~> 5.0"
gem "html-proofer", "~> 4.4"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
61 changes: 17 additions & 44 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ download_exe: 158058496
# e.g. 'https://username.github.io', note that it does not end with a '/'.
url: "https://create3000.github.io"

# The base URL of your site
baseurl: "/sunrize"

github:
username: create3000/sunrize # change to your github username

Expand All @@ -48,36 +51,16 @@ social:
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username

# Site Verification Settings
webmaster_verifications:
google: # fill in your Google verification code
bing: # fill in your Bing verification code
alexa: # fill in your Alexa verification code
yandex: # fill in your Yandex verification code
baidu: # fill in your Baidu verification code
facebook: # fill in your Facebook verification code
google_site_verification: # fill in to your verification string

# ↑ --------------------------
# The end of `jekyll-seo-tag` settings

# Web Analytics Settings
analytics:
google:
id: G-2KQ4CEF6C9 # fill in your Google Analytics ID
goatcounter:
id: # fill in your GoatCounter ID
umami:
id: # fill in your Umami ID
domain: # fill in your Umami domain
matomo:
id: # fill in your Matomo ID
domain: # fill in your Matomo domain
cloudflare:
id: # fill in your Cloudflare Web Analytics token

# Pageviews settings
pageviews:
provider: # now only supports 'goatcounter'
google_analytics:
id: G-2KQ4CEF6C9 # fill in your Google Analytics ID

goatcounter:
id: # fill in your Goatcounter ID

# Prefer color scheme setting.
#
Expand All @@ -92,27 +75,22 @@ pageviews:
#
theme_mode: # [light|dark]

# The CDN endpoint for media resources.
# The CDN endpoint for images.
# Notice that once it is assigned, the CDN url
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
# will be added to all image (site avatar & posts' images) paths starting with '/'
#
# e.g. 'https://cdn.com'
cdn:
img_cdn:

# the avatar on sidebar, support local or CORS resources
avatar: "assets/img/logo.png"

# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter.
social_preview_image: # string, local or CORS resources

# boolean type, the global switch for TOC in posts.
toc: true

comments:
# Global switch for the post comment system. Keeping it empty means disabled.
provider: # [disqus | utterances | giscus]
# The provider options are as follows:
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
# The active options are as follows:
disqus:
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
# utterances settings › https://utteranc.es/
Expand All @@ -126,7 +104,6 @@ comments:
category:
category_id:
mapping: # optional, default to 'pathname'
strict: # optional, default to '0'
input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang`
reactions_enabled: # optional, default to the value of `1`
Expand All @@ -137,10 +114,10 @@ assets:
enabled: # boolean, keep empty means false
# specify the Jekyll environment, empty means both
# only works if `assets.self_host.enabled` is 'true'
env: # [development | production]
env: # [development|production]

pwa:
enabled: true # the option for PWA feature (installable)
enabled: false # the option for PWA feature (installable)
cache:
enabled: true # the option for PWA offline cache
# Paths defined here will be excluded from the PWA cache.
Expand All @@ -151,13 +128,9 @@ pwa:

paginate: 10

# The base URL of your site
baseurl: "/sunrize"

# ------------ The following options are not recommended to be modified ------------------

kramdown:
footnote_backlink: "&#8617;&#xfe0e;"
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
css_class: highlight
Expand Down Expand Up @@ -222,7 +195,7 @@ exclude:
- tools
- README.md
- LICENSE
- "*.config.js"
- rollup.config.js
- package*.json

jekyll-archives:
Expand Down
1 change: 0 additions & 1 deletion docs/_includes/scripts.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<script defer src="https://code.jquery.com/jquery-3.7.1.slim.min.js"></script>
<script defer src="/sunrize/assets/js/links.js"></script>
{% if content contains '<x3d-canvas' or page.x_ite %}
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@latest/dist/x_ite.min.js"></script>
Expand Down
23 changes: 6 additions & 17 deletions docs/_layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
<article class="px-1">
<header>
<h1 data-toc-skip>{{ page.title }}</h1>
{% if page.description %}
<p class="post-desc fw-light mb-4">{{ page.description }}</p>
{% endif %}

<div class="post-meta text-muted">
<!-- published date -->
Expand Down Expand Up @@ -78,29 +75,21 @@ <h1 data-toc-skip>{{ page.title }}</h1>
</em>
</span>

<div>
<!-- pageviews -->
{% if site.pageviews.provider and site.analytics[site.pageviews.provider].id %}
<span>
<em id="pageviews">
<i class="fas fa-spinner fa-spin small"></i>
</em>
{{ site.data.locales[lang].post.pageview_measure }}
</span>
{% endif %}

<!-- read time -->
{% include read-time.html content=content prompt=true lang=lang %}
</div>
<!-- read time -->
{% include read-time.html content=content prompt=true lang=lang %}
</div>
<!-- .d-flex -->
</div>
<!-- .post-meta -->
</header>

<div class="content">
{{ content }}
</div>

<div class="post-tail-wrapper text-muted">
{% include nav.html %}

<!-- categories -->
{% if page.categories.size > 0 %}
<div class="post-meta mb-3">
Expand Down
2 changes: 1 addition & 1 deletion docs/_posts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permalink: /
---
## Introduction

Sunrize is an easy-to-use editor for X3D files that is based on the [X_ITE](/x_ite/) framework. The Outline Editor allows for intuitive scene editing, while the Script Editor provides comprehensive editing of [Script](/x_ite/components/scripting/script/) and [ComposedShader](/x_ite/components/shaders/composedshader/) nodes..
Sunrize is an easy-to-use editor for X3D files that is based on the [X_ITE](/x_ite/) framework. The Outline Editor allows for intuitive scene editing, while the Script Editor provides comprehensive editing of [Script](/x_ite/components/scripting/script/) and [ComposedShader](/x_ite/components/shaders/composedshader/) nodes.

![Image of Sunrize Editor](/assets/img/sunrize.png)

Expand Down

0 comments on commit 90d1859

Please sign in to comment.