-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: rebuild site * chore: tweaks * fix: fix docsearch * fix: fix action button * chore: remove homepage icons suggested by @CritasWang * chore: add missing license * chore: tweaks * fix: fix table * chore: fix table * chore: tweaks * chore: tweaks * chore: tweaks
- Loading branch information
1 parent
fc72b4e
commit 4c492fe
Showing
215 changed files
with
3,306 additions
and
4,123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,25 +17,24 @@ | |
# under the License. | ||
# | ||
|
||
|
||
notifications: | ||
issues: [email protected] | ||
issues: [email protected] | ||
pullrequests: [email protected] | ||
|
||
github: | ||
description: "Apache IoTDB Documentation and Site" | ||
description: 'Apache IoTDB Documentation and Site' | ||
homepage: https://iotdb.apache.org/ | ||
labels: | ||
- timeseries | ||
- database | ||
- documentation | ||
enabled_merge_buttons: | ||
# enable squash button: | ||
squash: true | ||
squash: true | ||
# enable merge button: | ||
merge: false | ||
merge: false | ||
# disable rebase button: | ||
rebase: true | ||
rebase: true | ||
collaborators: | ||
- CritasWang | ||
- krystal-xiao | ||
|
@@ -44,7 +43,7 @@ github: | |
|
||
staging: | ||
profile: ~ | ||
whoami: asf-staging | ||
whoami: asf-staging | ||
|
||
publish: | ||
whoami: asf-site | ||
whoami: asf-site |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,35 @@ | ||
/* | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
const ghpages = require('gh-pages'); | ||
|
||
ghpages.publish('src/.vuepress/dist', { | ||
branch: 'asf-site', | ||
repo: 'https://github.com/apache/iotdb-website.git', | ||
message: 'Site checkin for project iotdb-website', | ||
dotfiles: true, | ||
}, (err) => { | ||
if (err instanceof Error) { | ||
console.error(err); | ||
process.exit(1); | ||
} | ||
}); | ||
ghpages.publish( | ||
'src/.vuepress/dist', | ||
{ | ||
branch: 'asf-site', | ||
repo: 'https://github.com/apache/iotdb-website.git', | ||
message: 'Site checkin for project iotdb-website', | ||
dotfiles: true, | ||
}, | ||
(err) => { | ||
if (err instanceof Error) { | ||
console.error(err); | ||
process.exit(1); | ||
} | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,35 @@ | ||
/* | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
const ghpages = require('gh-pages'); | ||
|
||
ghpages.publish('src/.vuepress/dist', { | ||
branch: 'asf-staging', | ||
repo: 'https://github.com/apache/iotdb-website.git', | ||
message: 'Site checkin for project iotdb-website', | ||
dotfiles: true, | ||
}, (err) => { | ||
if (err instanceof Error) { | ||
console.error(err); | ||
process.exit(1); | ||
} | ||
}); | ||
ghpages.publish( | ||
'src/.vuepress/dist', | ||
{ | ||
branch: 'asf-staging', | ||
repo: 'https://github.com/apache/iotdb-website.git', | ||
message: 'Site checkin for project iotdb-website', | ||
dotfiles: true, | ||
}, | ||
(err) => { | ||
if (err instanceof Error) { | ||
console.error(err); | ||
process.exit(1); | ||
} | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import jsConfig from '@eslint/js'; | ||
import pluginVue from 'eslint-plugin-vue'; | ||
import globals from 'globals'; | ||
import { config, plugin, configs as tsConfigs } from 'typescript-eslint'; | ||
|
||
export default config( | ||
{ | ||
ignores: [ | ||
'dist/**', | ||
'node_modules/**', | ||
'!src/.vuepress/**', | ||
'src/.vuepress/.cache/**', | ||
'src/.vuepress/.temp/**', | ||
'src/.vuepress/public/**', | ||
], | ||
}, | ||
|
||
{ | ||
languageOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
parserOptions: { | ||
extraFileExtensions: ['.vue'], | ||
projectService: true, | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
}, | ||
|
||
jsConfig.configs.recommended, | ||
...tsConfigs.strict, | ||
|
||
{ | ||
files: ['**/*.ts', '**/*.cts', '**/*.mts'], | ||
plugins: { | ||
'@typescript-eslint': plugin, | ||
}, | ||
}, | ||
...pluginVue.configs['flat/recommended'], | ||
|
||
{ | ||
files: ['**/*.{js,cjs,mjs,jsx}'], | ||
...tsConfigs.disableTypeChecked, | ||
}, | ||
|
||
{ | ||
files: ['**/*.cjs'], | ||
rules: { | ||
'@typescript-eslint/no-require-imports': 'off', | ||
}, | ||
}, | ||
|
||
{ | ||
files: ['**/*.vue'], | ||
rules: { | ||
'vue/max-attributes-per-line': 'off', | ||
}, | ||
}, | ||
|
||
{ | ||
files: ['deploy.cjs', 'deploy_staging.cjs'], | ||
languageOptions: { | ||
globals: globals.node, | ||
}, | ||
}, | ||
); |
Oops, something went wrong.