-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from ispras/docs
Docs
- Loading branch information
Showing
19 changed files
with
454 additions
and
418 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,33 @@ | ||
name: Build documentation | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- master | ||
|
||
jobs: | ||
documentation: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
python -m pip install --upgrade --no-cache-dir pip setuptools | ||
python -m pip install --exists-action=w --no-cache-dir -r requirements1.txt | ||
python -m pip install --exists-action=w --no-cache-dir -r requirements2.txt | ||
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt | ||
python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir . | ||
- name: Build documentation | ||
# Build the documentation, you can use this command locally | ||
run: | | ||
cd docs/source | ||
python -m sphinx -T -W --keep-going -b html -d _build/doctrees -D language=en . docs/html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,7 @@ data__DatasetsTest_tmp/ | |
|
||
# Mac OS extentions | ||
*.DS_Store | ||
|
||
# Sphinx documentation | ||
docs/_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: "2" | ||
|
||
build: | ||
os: "ubuntu-20.04" | ||
apt_packages: | ||
- build-essential | ||
- python3-dev | ||
tools: | ||
python: "3.11" | ||
|
||
python: | ||
install: | ||
- requirements: requirements1.txt | ||
- requirements: requirements2.txt | ||
- requirements: docs/requirements.txt | ||
- method: pip | ||
path: . | ||
|
||
sphinx: | ||
builder: html | ||
configuration: docs/source/conf.py | ||
fail_on_warning: true |
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,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = source | ||
BUILDDIR = build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
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,2 @@ | ||
sphinx==7.1.2 | ||
sphinx-rtd-theme==1.3.0rc1 |
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,33 @@ | ||
API reference | ||
************* | ||
|
||
|
||
.. autosummary:: | ||
:toctree: generated | ||
|
||
|
||
Working with datasets | ||
======================== | ||
.. automodule:: base.custom_datasets | ||
:members: | ||
|
||
|
||
Creating and managing models | ||
============================== | ||
.. automodule:: models_builder.gnn_models | ||
:members: | ||
|
||
|
||
Interpretation | ||
================== | ||
.. automodule:: explainers.explainer | ||
:members: | ||
|
||
|
||
|
||
Auxiliary functions | ||
======================== | ||
.. automodule:: aux.configs | ||
:members: | ||
|
||
|
Oops, something went wrong.