This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: generate docs site with Sphinx
The result is easier to read than the individual .md files.
- Loading branch information
1 parent
dfdd0a0
commit cf47891
Showing
22 changed files
with
1,723 additions
and
1,215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- devel | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install dependencies | ||
run: | | ||
export PATH="$HOME/.local/bin:$PATH" | ||
sudo apt-get install -y python3-setuptools | ||
pip3 install --user -r docs/requirements.txt | ||
- name: Build the docs | ||
run: | | ||
export PATH="$HOME/.local/bin:$PATH" | ||
make html | ||
- name: Deploy the docs | ||
run: | | ||
mkdir $HOME/output | ||
mv _output/html $HOME/output/latest | ||
touch $HOME/output/.nojekyll | ||
mv docs/html/index2.html $HOME/output/index.html | ||
cd $HOME/output | ||
git init | ||
git config --global user.name "${GITHUB_ACTOR}" | ||
git config --global user.email "${GITHUB_ACTOR}@github.com" | ||
git add . | ||
git commit -m "latest html output" | ||
git push -f https://${GITHUB_ACTOR}:${{secrets.ACCESS_TOKEN}}@github.com/intelkevinputnam/pmem-csi.git HEAD:gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/vendor | ||
/_output | ||
/_work | ||
/.tox | ||
Manifest | ||
/_build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.