diff --git a/.github/workflows/buildOnly.yml b/.github/workflows/buildOnly.yml index 5bbc617..37ab813 100644 --- a/.github/workflows/buildOnly.yml +++ b/.github/workflows/buildOnly.yml @@ -14,8 +14,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install mkdocs - pip install mkdocs-material + pip install -r requirements.txt - name: build mkdocs run: | ln -sf ${GITHUB_WORKSPACE}/README.md ${GITHUB_WORKSPACE}/docs/index.md diff --git a/.github/workflows/publishAndBuild.yml b/.github/workflows/publishAndBuild.yml index b46d2f4..7204727 100644 --- a/.github/workflows/publishAndBuild.yml +++ b/.github/workflows/publishAndBuild.yml @@ -17,8 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install mkdocs - pip install mkdocs-material + pip install -r requirements.txt - name: build mkdocs and deploy to gh-pages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 6f46c51..8030972 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,7 @@ BASEDIR=$(CURDIR) DOCDIR=$(BASEDIR)/docs install: - pip install mkdocs - pip install mkdocs-material + pip install -r requirements.txt link: ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..21f876b --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +mkdocs +mkdocs-material \ No newline at end of file