Skip to content

Commit

Permalink
Refactor rest server implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
blythed committed May 21, 2024
1 parent 13055f4 commit 6de239f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
branches:
- main
paths: # run this action only when the docs folder is changed
- 'docs/hr/content/**'
- 'docs/hr/*.js'
- 'docs/content/**'
- 'docs/*.js'
workflow_dispatch: # allows triggering a GitHub action manually - see 'Actions' tab


Expand All @@ -23,7 +23,7 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

# required for docs/hr/build to be available
# required for docs/build to be available
- name: Install node
run: |
sudo apt-get update
Expand Down Expand Up @@ -56,6 +56,6 @@ jobs:
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/hr/build
publish_dir: docs/build
cname: docs.superduperdb.com
enable_jekyll: true
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ install_devkit: ## Add essential development tools
gen_docs: ## Generate Docs and API
@echo "===> Generate API docs as Markdown <==="
python docs/content/build_api_docs.py
@echo "Build finished. The HTML pages are in docs/hr/content/build_api_docs"

@echo "===> Generate docusaurus docs and blog-posts <==="
@echo "Build finished. The HTML pages are in docs/content/build"
@echo "===> Generate docusaurus docs <==="
cd docs && npm i --legacy-peer-deps && npm run build
cd ..
@echo "Build finished. The HTML pages are in docs/hr/build"
@echo "Build finished. The HTML pages are in docs/build"

lint-and-type-check: ## Lint and type-check the code
@echo "===> Code Formatting <==="
Expand Down

0 comments on commit 6de239f

Please sign in to comment.