Skip to content

Commit

Permalink
Added github actions. Removed hdl ref design pieces.
Browse files Browse the repository at this point in the history
Signed-off-by: spagadar <[email protected]>
  • Loading branch information
SrikanthPagadarai committed Jan 29, 2024
1 parent 1663f89 commit df59d04
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 727 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Documentation

on: [push, pull_request]

jobs:
BuildDocs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Install dependencies
run: |
sudo apt install -y python3-numpy
pip install -r CI/doc/requirements_doc.txt
- name: Check doc build
run: |
make -C CI/doc gen_autodocs html
- name: Publish master doc
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc
destination_dir: master
4 changes: 1 addition & 3 deletions CI/doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ help:

gen_autodocs:
cd gen_pages ; \
$(PYTHON) gen_sysobj_pages.py ; \
$(PYTHON) gen_rd_svg.py ; \
$(PYTHON) gen_hdl_refdesigns.py
$(PYTHON) gen_sysobj_pages.py
20 changes: 0 additions & 20 deletions CI/doc/gen_pages/_templates/allrefdesigns.tmpl

This file was deleted.

46 changes: 0 additions & 46 deletions CI/doc/gen_pages/_templates/refdesign.html

This file was deleted.

83 changes: 0 additions & 83 deletions CI/doc/gen_pages/gen_hdl_refdesigns.py

This file was deleted.

105 changes: 0 additions & 105 deletions CI/doc/gen_pages/gen_rd_svg.py

This file was deleted.

Loading

0 comments on commit df59d04

Please sign in to comment.