Skip to content

Commit

Permalink
!39 更新本地文档预览相关内容
Browse files Browse the repository at this point in the history
Merge pull request !39 from 欧雷/master
  • Loading branch information
entropy-cloud authored and gitee-org committed Apr 12, 2024
2 parents 119dc26 + def079c commit e80af64
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .knosys/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"command": "./scripts/ksio",
"command": "./.knosys/scripts",
"site": {
"default": {
"generator": "hexo",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion .knosys/sites/default/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ tag_map:

# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true
meta_generator: false

# Date / Time format
## Hexo uses Moment.js to parse and display date
Expand Down Expand Up @@ -129,6 +129,10 @@ ksio:
- javascripts/ksio/vendors/share.min
- javascripts/ksio/components/page
- javascripts/ksio/components/toc
_nop/layouts/index:
values:
ksio_asset_css:
- nop/pages/index
_nop/layouts/doc:
extends: ksio/doc
page:
Expand Down
13 changes: 13 additions & 0 deletions .knosys/sites/default/source/index.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: _nop/layouts/index
---

<main class="Page-content">
<article class="Homepage">
<header class="Homepage-header">
<h1>Nop</h1>
<p class="Homepage-slogan">基于可逆计算原理从零开始构建的新一代低代码平台</p>
<p class="GetStarted"><a href="/projects/nop-entropy/docs/">开始了解<i class="fa fa-long-arrow-right"></i></a></p>
</header>
</article>
</main>
3 changes: 3 additions & 0 deletions docs/.meta/basic.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
permalink: /projects/nop-entropy/docs/:path/
spec: file
editable:
default: https://github.com/entropy-cloud/nop-entropy/edit/master/docs/:path
zh: https://gitee.com/canonical-entropy/nop-entropy/edit/master/docs/:path
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@nop-entropy/docs",
"version": "0.0.0",
"private": true,
"main": "scripts/ksio/index.js",
"main": ".knosys/scripts/index.js",
"scripts": {
"build": "ksio gen",
"start": "ksio serve",
Expand All @@ -15,20 +15,15 @@
"version": "6.3.0"
},
"dependencies": {
"@nop-community/hexo-theme-site": "0.0.2",
"@nop-community/hexo-theme-site": "0.0.4",
"hexo": "^6.3.0",
"hexo-generator-archive": "^2.0.0",
"hexo-generator-category": "^2.0.0",
"hexo-generator-index": "^3.0.0",
"hexo-generator-tag": "^2.0.0",
"hexo-renderer-coffeescript": "^0.2.0",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-marked": "^6.0.0",
"hexo-renderer-sass": "^0.4.0",
"hexo-renderer-stylus": "^2.1.0",
"hexo-server": "^3.0.0"
},
"devDependencies": {
"ksio": "0.0.0"
"ksio": "0.0.2"
}
}

0 comments on commit e80af64

Please sign in to comment.