Skip to content

Commit

Permalink
new version, please read README.md first (apache#88)
Browse files Browse the repository at this point in the history
* feat: 新版站点

* fix: issue apache#14

* feat: build

* feat:  optimization for loading js

* chore: adjust build for loading js

* fix: [issue28](apache#28) not compiled

* feat: 修改hash类型,支持Google爬虫SEO

* fix: docs page sidemenu unselected

* add star icon && optimize for build

* use react github button

* add attendtion

* build

* modify README.md
  • Loading branch information
purple-force authored and beiwei30 committed Aug 13, 2018
1 parent 420ef3b commit bbb1ec6
Show file tree
Hide file tree
Showing 762 changed files with 49,531 additions and 2,345 deletions.
18 changes: 18 additions & 0 deletions 404.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<script src="//cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script>
window.rootPath = '';
window.defaultLanguage = 'en-us';
var lang = Cookies.get('docsite_language');
if (!lang) {
lang = 'en-us';
}
window.location = window.rootPath + '/' + lang;
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -3,11 +3,15 @@
This project keeps all sources used for building up dubbo official website which's served at http://dubbo.io or http://dubbo.apache.org.


## Attention

If your version of docsite is less then `1.0.0`, please upgrade to `1.0.0`.

## Build instruction

1. Run `npm install docsite -g` to install the dev tool.
2. Run `npm i` in the root directory to install the dependencies.
3. Run `docsite start` in the root directory to start a local server, you will see the website in 'localhost://8080'.
3. Run `docsite start` in the root directory to start a local server, you will see the website in '127.0.0.1://8080'.
4. Run `docsite build` to build source code.
5. Commit all the changes.

6 changes: 0 additions & 6 deletions build/4828dc59b19c927e111e.js

This file was deleted.

6 changes: 0 additions & 6 deletions build/654055e491fb5dea7da2.js

This file was deleted.

6 changes: 0 additions & 6 deletions build/7533f0a0e44a4367de8b.js

This file was deleted.

0 comments on commit bbb1ec6

Please sign in to comment.