Skip to content

Commit

Permalink
heritage graph documentation init
Browse files Browse the repository at this point in the history
  • Loading branch information
tekrajchhetri committed Feb 19, 2025
1 parent 781c4fb commit ba8b05a
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Codespell and Docs Generation

on:
push:
branches: [main, dev]
branches: [main, documentation]
pull_request:
branches: [main]

Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/deploy_docs_githubpages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#https://jupyterbook.org/en/stable/publish/gh-pages.html
name: Deploy Jupyter Book

# Run this when the master or main branch changes
on:
push:
branches:
- master
- documentation
# If your git repository has the Jupyter Book within some-subfolder next to
# unrelated files, you can make this run only if a file within that specific
# folder has been modified.
#
# paths:
# - some-subfolder/**

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v3

# Install dependencies
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
run: |
pip install -r docs/requirements.txt
# (optional) Cache your executed notebooks between runs
# if you have config:
# execute:
# execute_notebooks: cache
- name: cache executed notebooks
uses: actions/cache@v3
with:
path: docs/_build/.jupyter_cache
key: jupyter-book-cache-${{ hashFiles('requirements.txt') }}

# Build the book
- name: Build the book
run: |
jupyter-book build docs/
# Upload the book's HTML as an artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "docs/_build/html"

# Deploy the book's HTML to GitHub Pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

20 changes: 0 additions & 20 deletions documentation/Makefile

This file was deleted.

36 changes: 0 additions & 36 deletions documentation/conf.py

This file was deleted.

132 changes: 0 additions & 132 deletions documentation/contributing.rst

This file was deleted.

53 changes: 0 additions & 53 deletions documentation/index.rst

This file was deleted.

6 changes: 0 additions & 6 deletions documentation/introduction.rst

This file was deleted.

35 changes: 0 additions & 35 deletions documentation/make.bat

This file was deleted.

Empty file removed documentation/my_module.rst
Empty file.
Binary file removed documentation/requirements.txt
Binary file not shown.

0 comments on commit ba8b05a

Please sign in to comment.