diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 86304a074..493ccfcb7 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,8 +20,20 @@ jobs: with: node-version: 16.x cache: yarn + - uses: actions/setup-python@v2 - - name: Auto Generate Blueprint Docs + - name: 🤖 Install Mephisto + run: | + cd ../../ + pip install -e . + + - name: 🖋 Create data directory + run: mkdir -p ~/mephisto/data + + - name: 📂 Set the data directory + run: mephisto config core.main_data_directory ~/mephisto/data + + - name: 📝 Auto Generate Blueprint Docs run: | cd ../../mephisto/scripts/local_db/gh_actions python auto_generate_blueprint.py diff --git a/.github/workflows/test-deploy-docs.yml b/.github/workflows/test-deploy-docs.yml index 2393ce299..97cebe7d8 100644 --- a/.github/workflows/test-deploy-docs.yml +++ b/.github/workflows/test-deploy-docs.yml @@ -22,6 +22,26 @@ jobs: with: node-version: 16.x cache: yarn + - uses: actions/setup-python@v2 + + - name: 🤖 Install Mephisto + run: | + cd ../../ + pip install -e . + + - name: 🖋 Create data directory + run: mkdir -p ~/mephisto/data + + - name: 📂 Set the data directory + run: mephisto config core.main_data_directory ~/mephisto/data + + - name: 📝 Auto Generate Blueprint Docs + run: | + cd ../../mephisto/scripts/local_db/gh_actions + python auto_generate_blueprint.py + python auto_generate_architect.py + python auto_generate_requester.py + python auto_generate_provider.py - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/docs/web/README.md b/docs/web/README.md index 55d0c3ef4..8dd258d39 100644 --- a/docs/web/README.md +++ b/docs/web/README.md @@ -1,4 +1,4 @@ -# Website +# Mephisto Docs Website This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.