mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
docs: switch docs to shibuya theme and install via venv
- change documentation theme from `alabaster` to `shibuya` - add pinned Documentation requirements for `sphinx` and `shibuya` - update workflows to create `.venv` and install with `requirements.txt` - ignore common virtual environment directories (`.conda` and `.venv`)
This commit is contained in:
@@ -19,10 +19,15 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update -qq
|
||||
sudo apt install -y make autoconf python3-sphinx
|
||||
sudo apt install -y make autoconf python3-venv
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r Documentation/requirements.txt
|
||||
|
||||
- name: Make Documentation
|
||||
run: |
|
||||
. .venv/bin/activate
|
||||
cd Documentation
|
||||
make html
|
||||
|
||||
|
||||
@@ -54,7 +54,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update -qq
|
||||
sudo apt install -y make g++ git bison flex gperf libreadline-dev libbz2-dev autoconf python3-sphinx
|
||||
sudo apt install -y make g++ git bison flex gperf libreadline-dev libbz2-dev autoconf python3-venv
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r Documentation/requirements.txt
|
||||
|
||||
- name: Build, check and install
|
||||
run: |
|
||||
@@ -69,6 +73,7 @@ jobs:
|
||||
|
||||
- name: Documentation
|
||||
run: |
|
||||
. .venv/bin/activate
|
||||
cd Documentation
|
||||
make html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user