Skip to content

Commit

Permalink
try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
KPreisner committed Dec 20, 2023
1 parent 9577a23 commit 2d0bf9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@ jobs:
- run: |
pip install lazydocs mkdocs mkdocs-awesome-pages-plugin
- run: |
ls -al
./build-docs.sh
ls -al
ls -al docs
ls -al docs/docstrings
python3 _transform_md_to_jsx.py
# python3 _transform_md_to_jsx.py
- name: 'Save Generated Markdown'
uses: actions/upload-artifact@v3
with:
name: generated_docs
path: ./docs/docstrings/sindri.jsx.md
path: ./docs/docstrings/*
retention-days: 90
1 change: 0 additions & 1 deletion build-docs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
mkdir -p docs/docstrings

set -e

# pip install lazydocs
lazydocs \
Expand Down
12 changes: 5 additions & 7 deletions local-run-docs.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
mkdir -p docs/docstrings

set -e

# pip install lazydocs
lazydocs \
--output-path="./docs/docstrings" \
Expand All @@ -11,9 +9,9 @@ lazydocs \
--no-watermark \
src/sindri_labs

# Transform markdown to jsx syntax so it can be rendered in Docusaurus
python3 _transform_md_to_jsx.py
# # Transform markdown to jsx syntax so it can be rendered in Docusaurus
# python3 _transform_md_to_jsx.py

# pip install mkdocs mkdocs-awesome-pages-plugin
echo "Hosting docs on http://localhost:1111"
mkdocs serve -a localhost:1111
# # pip install mkdocs mkdocs-awesome-pages-plugin
# echo "Hosting docs on http://localhost:1111"
# mkdocs serve -a localhost:1111

0 comments on commit 2d0bf9c

Please sign in to comment.