Skip to content

Commit

Permalink
revert back to keep it
Browse files Browse the repository at this point in the history
  • Loading branch information
NEVSTOP committed Jan 2, 2025
1 parent 8a0d55f commit 2993de7
Show file tree
Hide file tree
Showing 209 changed files with 13,786 additions and 1,659 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ concurrency:
jobs:
# Build job
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
# ruby-version: '3.1' # Not needed with a .ruby-version file
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
uses: actions/configure-pages@v4
- 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@v2
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
Expand All @@ -61,4 +61,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
15 changes: 2 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
# Generated website directory
_site/

# Sass cache
.sass-cache/

# Jekyll cache & metadata
_draft/
.jekyll-cache/
.jekyll-metadata

# Notes graph metadata
_includes/notes_graph.json

# Obsidian config
.obsidian/
*.lnk
Empty file.
Binary file added .labview/homepage image.vi
Binary file not shown.
8 changes: 8 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"MD041": false,
"MD013": false,
"MD025": false,
"MD036": false,
"MD024": false,
"MD033": false
}
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

30 changes: 30 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"cSpell.words": [
"Cacher",
"Disqus",
"disqushandler",
"DQMH",
"gildesmarais",
"gitbook",
"HEXCODE",
"jemoji",
"JKISM",
"Kiven",
"ldquo",
"longtitle",
"lsquo",
"mathjax",
"mkdn",
"mkdown",
"nevstop",
"rdquo",
"rsquo",
"sighingnow",
"tdms",
"Unsubscription",
"untra"
],
"cmake.configureOnOpen": false,
"todo-tree.tree.disableCompactFolders": false,
"todo-tree.tree.showCountsInTree": true
}
42 changes: 42 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title:
layout: home
TranslationCheck: False
---

<!-- 404.html
- [ ] Add a link to the homepage
- [ ] Add a link to the sitemap
- [ ] Add a link to the search page
- [ ] Add link to search 'labview-csm' tag in github
- [ ] Add link to download the latest release
-->

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<!-- <div class="container">
<h1>404</h1>
<p><strong>{{ site.data[site.active_lang].l10n.PageNotFound }} :( </strong></p>
<p>{{ site.data[site.active_lang].l10n.TheRequestedPageCouldNotBeFound }}</p>
</div> -->

# 404

{{ site.data[site.active_lang].l10n.PageNotFound }} :(

{{ site.data[site.active_lang].l10n.TheRequestedPageCouldNotBeFound }}
21 changes: 12 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gem "jekyll", "~> 4.3"
gem "jekyll-last-modified-at", git: "https://github.com/maximevaillancourt/jekyll-last-modified-at", branch: "add-support-for-files-in-git-submodules"
gem "webrick", "~> 1.9"
gem "nokogiri"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem "jekyll"
gem 'jekyll-feed'
gem 'jekyll-readme-index'
gem 'jemoji'
gem 'webrick'
gem "jekyll-polyglot"
gem 'jekyll-loading-lazy'

group :jekyll_plugins do
gem "jekyll-polyglot"
end
# group :jekyll_plugins do
# gem "jekyll-polyglot"
# end

# gem "rails"
91 changes: 0 additions & 91 deletions _Gemfile.lock

This file was deleted.

104 changes: 64 additions & 40 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,74 @@
title: Communicable State Machine(CSM)
include: ['_pages']
exclude: ['_includes/notes_graph.json']
# You may need to change the base URL depending on your deploy configuration.
baseurl: ''
# Configurations
title: Communicable State Machine(CSM)
longtitle: Communicable State Machine(CSM) Wiki
author: NEVSTOP-LAB
github_username: NEVSTOP-LAB
email: [email protected]
description: >
Wiki website for Communicable State Machine(CSM) Framework and its applications.
# If you are using a host that cannot resolve URLs that do
# not end with .html (such as Neocities), set this to 'true'.
use_html_extension: false
version: 1.0
gitbook_version: 3.2.3

# Set to `true` to open non-internal links in new tabs, or
# set to `false` to open non-internal links in current tab.
open_external_links_in_new_tab: true
url: 'https://nevstop-lab.github.io/'
baseurl: '/CSM-Wiki'
rss: RSS

# Set to `true` to replace tweet URLs with Twitter embeds.
# Note that doing so will negatively the reader's privacy
# as their browser will communicate with Twitter's servers.
embed_tweets: false
# bootstrap: use the remote theme for the site itself
remote_theme: sighingnow/jekyll-gitbook

permalink: pretty
relative_permalinks: false
toc:
enabled: true
h_min: 1
h_max: 2

plugins:
- jekyll-last-modified-at
- jekyll-loading-lazy
- jekyll-polyglot
# customize the link favicon in header, will be {{site.baseurl}}/{{site.favicon_path}}
favicon_path: /assets/gitbook/images/favicon.ico

# markdown render engine.
markdown: kramdown
kramdown:
auto_ids: true
input: GFM
math_engine: mathjax
smart_quotes: lsquo,rsquo,ldquo,rdquo
toc_levels: 1..6 #原本这里是1~6
syntax_highlighter: rouge
syntax_highlighter_opts:
guess_lang: true

syntax_highlighter_style: colorful

markdown_ext: markdown,mkdown,mkdn,mkd,md

# Permalinks
permalink: /:categories/:year-:month-:day-:title:output_ext

# Disqus comments
# disqushandler: sighingnow

sass:
sass_dir: _sass
style: :compressed
exclude:
- _drafts

collections:
notes:
pages:
output: true
permalink: /:slug

defaults:
- scope:
path: "**/*"
values:
layout: "default"
- scope:
path: "_notes/**/*.md"
values:
layout: "note"

languages: ["en", "zh-cn"]
default_lang: "en"
exclude_from_localization: ["javascript", "images", "css", "public", "assets"]
permalink: /:collection/:path/

page_width: 1200px

destination: ./_site
incremental: false
regenerate: true

plugins:
- jekyll-feed
- jekyll-readme-index
- jemoji
- jekyll-polyglot
- jekyll-loading-lazy

languages: ["zh", "en"]
default_lang: "zh"
exclude_from_localization: ["javascript", "images", "css", "public"]
parallel_localization: true
Loading

0 comments on commit 2993de7

Please sign in to comment.