Skip to content

Commit

Permalink
Hotfix: Docusaurus broken imports (#6)
Browse files Browse the repository at this point in the history
* ignore static files

* copy community files from root

* change imports (now from static folder)

* add docusaurus check action

* fix import

* rollback fix

* have a single community doc that redirects to markdown files
  • Loading branch information
BorjaZarco authored Jul 24, 2023
1 parent b8e2557 commit 9777553
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 31 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docusaurus-check.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
7 changes: 0 additions & 7 deletions website/docs/04_community/code_of_conduct.mdx

This file was deleted.

7 changes: 0 additions & 7 deletions website/docs/04_community/contributing.mdx

This file was deleted.

17 changes: 1 addition & 16 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
};

Expand Down

0 comments on commit 9777553

Please sign in to comment.