Skip to content

Commit

Permalink
Merge pull request #94 from arjbingly/sphinx
Browse files Browse the repository at this point in the history
Add Sphinx Docs
  • Loading branch information
sanchitvj authored Apr 23, 2024
2 parents 1b513fb + 84ce777 commit 2acd75f
Show file tree
Hide file tree
Showing 194 changed files with 2,907 additions and 13,082 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
linting:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
lint:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
31 changes: 23 additions & 8 deletions .github/workflows/sphinx-gitpg.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
name: Docs build and upload

on:
pull_request:
push:
branches:
- main

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
docs:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Check out repository code
- name: Checkout
uses: actions/checkout@v4

- name: Sphinx Build
uses: ammaraskar/sphinx-action@master
with:
docs-folder: "src/docs/"

- name: Github Pages upload
uses: actions/upload-artifact@v4
with:
name: DocumentationHTML
path: "src/docs/_build/html/"
- name: Setup Pages
uses: actions/configure-pages@v5

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,4 @@ cython_debug/
.idea/
**/others
data/
full_report/Latex_report/Capstone5_report_v2.tex
Loading

0 comments on commit 2acd75f

Please sign in to comment.