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 2d0bf9c commit c2b6eb4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ jobs:
with:
python-version: 3.10.6
- run: |
pip install lazydocs mkdocs mkdocs-awesome-pages-plugin
pip install requests>=2.13.0 lazydocs mkdocs mkdocs-awesome-pages-plugin
- run: |
./build-docs.sh
ls -al docs/docstrings
# python3 _transform_md_to_jsx.py
- name: 'Save Generated Markdown'
uses: actions/upload-artifact@v3
Expand Down
7 changes: 2 additions & 5 deletions 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


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

# mkdocs build

# # 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
10 changes: 5 additions & 5 deletions local-run-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,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 c2b6eb4

Please sign in to comment.