diff --git a/.github/workflows/docusaurus-check.yml b/.github/workflows/docusaurus-check.yml new file mode 100644 index 0000000..a9eb0b9 --- /dev/null +++ b/.github/workflows/docusaurus-check.yml @@ -0,0 +1,26 @@ +name: Docusaurus build + +on: + pull_request: + branches: [main] + paths: + - 'website/**' + +jobs: + build: + runs-on: ubuntu-latest + + defaults: + run: + working-directory: ./website + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install dependencies + run: npm ci + - name: Build website + run: npm run build diff --git a/website/docs/04_community/index.md b/website/docs/04_community.md similarity index 73% rename from website/docs/04_community/index.md rename to website/docs/04_community.md index 42b2263..20f99cf 100644 --- a/website/docs/04_community/index.md +++ b/website/docs/04_community.md @@ -7,4 +7,4 @@ Community contributions are essential to the development and refinement of eLLMe 3. Look at the [Open Issues](https://github.com/theam/ellmental/issues), choose one that interests you, and start contributing. 4. Spread the word about eLLMental! -Find detailed instructions and guidelines in the [Contributing Guide](contributing), and make sure to read our [Code of Conduct](code_of_conduct) before you start contributing. +Find detailed instructions and guidelines in the [Contributing Guide](https://github.com/theam/ellmental.py/blob/main/CONTRIBUTING.md), and make sure to read our [Code of Conduct](https://github.com/theam/ellmental.py/blob/main/CODE_OF_CONDUCT.md) before you start contributing. diff --git a/website/docs/04_community/code_of_conduct.mdx b/website/docs/04_community/code_of_conduct.mdx deleted file mode 100644 index 307c1c7..0000000 --- a/website/docs/04_community/code_of_conduct.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import CodeOfConduct from '../../../CODE_OF_CONDUCT.md'; - -# Contributor Covenant Code of Conduct - -
- -
\ No newline at end of file diff --git a/website/docs/04_community/contributing.mdx b/website/docs/04_community/contributing.mdx deleted file mode 100644 index 24612a9..0000000 --- a/website/docs/04_community/contributing.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import ContributingGuide from '../../../CONTRIBUTING.md'; - -# Contributing Guide - -
- -
\ No newline at end of file diff --git a/website/sidebars.js b/website/sidebars.js index 96f1e95..9f4eb8a 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -31,22 +31,7 @@ const sidebars = { 'semantic_search/embedding_stores', ], }, - { - type: 'category', - label: 'Community', - link: { - type: 'doc', - id: 'community/index', - }, - items: [ - 'community/contributing', - { - type: 'doc', - id: 'community/code_of_conduct', - label: 'Code of Conduct', - }, - ], - }, + 'community', ], };