Skip to content

Commit

Permalink
Merge pull request #58 from graphs4value/docs
Browse files Browse the repository at this point in the history
Add documentation site with Docusaurus
  • Loading branch information
kris7t authored Apr 26, 2024
2 parents cb07b7c + 03ef785 commit 2ef2233
Show file tree
Hide file tree
Showing 164 changed files with 16,468 additions and 2,295 deletions.
30 changes: 28 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const path = require('node:path');
// Allow the Codium ESLint plugin to find `tsconfig.json` from the repository root.
const project = [
path.join(__dirname, 'tsconfig.json'),
path.join(__dirname, 'subprojects/docs/tsconfig.json'),
path.join(__dirname, 'subprojects/frontend/tsconfig.json'),
path.join(__dirname, 'subprojects/frontend/tsconfig.node.json'),
path.join(__dirname, 'subprojects/frontend/tsconfig.shared.json'),
Expand Down Expand Up @@ -48,8 +49,10 @@ module.exports = {
ignorePatterns: [
'build/**/*',
'subprojects/*/build/**/*',
'subprojects/*/dev-dist/**/*',
'subprojects/*/src/**/*.typegen.ts',
'subprojects/docs/.docusaurus/**/*',
'subprojects/docs/.yarn/**/*',
'subprojects/frontend/dev-dist/**/*',
'subprojects/frontend/src/**/*.typegen.ts',
],
rules: {
// In typescript, some class methods implementing an inderface do not use `this`:
Expand Down Expand Up @@ -107,6 +110,13 @@ module.exports = {
'@typescript-eslint/no-var-requires': 'off',
},
},
{
files: ['*.cts'],
rules: {
// Allow `import type` in CommonJS TypeScript modules.
'import/no-import-module-exports': 'off',
},
},
{
files: [
'.eslintrc.cjs',
Expand All @@ -132,5 +142,21 @@ module.exports = {
'no-process-env': 'off',
},
},
{
files: ['subprojects/docs/src/**/*'],
rules: {
'import/no-unresolved': [
'error',
{
ignore: [
// These imports are resolved by Docusaurus, not TypeScript.
'^@docusaurus/',
'^@theme/',
'^@theme-original/',
],
},
],
},
},
],
};
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# SPDX-FileCopyrightText: 2021-2023 The Refinery Authors
# SPDX-FileCopyrightText: 2021-2024 The Refinery Authors
#
# SPDX-License-Identifier: CC0-1.0

.yarn/releases/** binary
.yarn/plugins/** binary
*.cjs eol=lf
*.cts eol=lf
*.css eol=lf
*.js eol=lf
*.json eol=lf
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
!.yarn/versions
bin/
build/
dev-dist/
emf-gen/
node_modules/
*.typegen.ts
xtend-gen/
*.xtendbin
xtext-gen/
51 changes: 0 additions & 51 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 2ef2233

Please sign in to comment.