Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs dev #132

Merged
merged 62 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
a8f9ccb
commiting docs functionality for testing deployment
KalliopiTsolaki Feb 13, 2024
3f6b6d4
adding documentation deployment relevant files
KalliopiTsolaki Feb 13, 2024
4e37c1d
updating readthedocs.yaml
KalliopiTsolaki Feb 15, 2024
65c9b60
changing directory of requirements.txt
KalliopiTsolaki Feb 15, 2024
7c03001
updating reqs file
KalliopiTsolaki Feb 15, 2024
8e9f041
commiting changes and adding pages for tutorials
KalliopiTsolaki Feb 16, 2024
8dd0a91
fixed distributed trainer in cyclones use case
Feb 16, 2024
98acbfc
adding installation instructions in docs
KalliopiTsolaki Feb 26, 2024
9e48fb0
adding latest changes to docs
KalliopiTsolaki Feb 26, 2024
372608d
adding new pages for itwinai modules and other modifications
KalliopiTsolaki Feb 29, 2024
f14ed3c
modified src/itwinai/torch directory name to solve namespace conflict
KalliopiTsolaki Feb 29, 2024
ac85999
fixing tutorial sections
KalliopiTsolaki Mar 1, 2024
b0cef02
fixes in pages appearance
KalliopiTsolaki Mar 6, 2024
b6e919d
fixing rendering bugs
KalliopiTsolaki Mar 6, 2024
f9c0e33
fixing pages appearance bugs
KalliopiTsolaki Mar 6, 2024
5a3badc
adding latest modifications
KalliopiTsolaki Mar 7, 2024
bcdf0f0
Deleted duplicate folder after renaming src/itwinai/torch
KalliopiTsolaki Mar 8, 2024
702b69b
adding documentation.yml file for automatic updating on github pages
KalliopiTsolaki Mar 20, 2024
0061f15
modifying documentation.yml file
KalliopiTsolaki Mar 20, 2024
00b4d93
updating reqs file to solve bug in deployment
KalliopiTsolaki Mar 20, 2024
3419664
commiting docs functionality for testing deployment
KalliopiTsolaki Feb 13, 2024
fca0831
adding documentation deployment relevant files
KalliopiTsolaki Feb 13, 2024
76ecd45
updating readthedocs.yaml
KalliopiTsolaki Feb 15, 2024
d7cef3a
changing directory of requirements.txt
KalliopiTsolaki Feb 15, 2024
0a004f3
updating reqs file
KalliopiTsolaki Feb 15, 2024
0e2e0e5
commiting changes and adding pages for tutorials
KalliopiTsolaki Feb 16, 2024
44511b5
adding installation instructions in docs
KalliopiTsolaki Feb 26, 2024
d43e351
adding latest changes to docs
KalliopiTsolaki Feb 26, 2024
02ed18d
adding new pages for itwinai modules and other modifications
KalliopiTsolaki Feb 29, 2024
e809b43
modified src/itwinai/torch directory name to solve namespace conflict
KalliopiTsolaki Feb 29, 2024
a031224
fixing tutorial sections
KalliopiTsolaki Mar 1, 2024
17dc010
fixes in pages appearance
KalliopiTsolaki Mar 6, 2024
267ec7f
fixing rendering bugs
KalliopiTsolaki Mar 6, 2024
b6c8d11
fixing pages appearance bugs
KalliopiTsolaki Mar 6, 2024
c4b65e3
adding latest modifications
KalliopiTsolaki Mar 7, 2024
da8faaf
Deleted duplicate folder after renaming src/itwinai/torch
KalliopiTsolaki Mar 8, 2024
9922c68
adding documentation.yml file for automatic updating on github pages
KalliopiTsolaki Mar 20, 2024
a84c3d7
modifying documentation.yml file
KalliopiTsolaki Mar 20, 2024
94cea66
updating reqs file to solve bug in deployment
KalliopiTsolaki Mar 20, 2024
a2d76d5
testing automated docs update
KalliopiTsolaki Mar 21, 2024
2561201
resolving conflict with origin
KalliopiTsolaki Mar 21, 2024
3eb5dae
updating getting started page
KalliopiTsolaki Mar 21, 2024
be08188
fixing pages and adding new content
KalliopiTsolaki Mar 21, 2024
5cce36e
bug fixes
KalliopiTsolaki Mar 21, 2024
662a6ab
fixing content rendering
KalliopiTsolaki Mar 21, 2024
c130ee7
latest fixes in rendering
KalliopiTsolaki Mar 22, 2024
dfc6e32
Add version feature to docs
KalliopiTsolaki Apr 15, 2024
589795b
Update .readthedocs.yaml
matbun Apr 15, 2024
32ea4c0
Merge branch 'dev' of https://github.com/interTwin-eu/itwinai into do…
KalliopiTsolaki Apr 16, 2024
3842793
merging latest updates from dev
KalliopiTsolaki Apr 18, 2024
865fb70
fixing display structure in getting started page
KalliopiTsolaki Apr 18, 2024
47ba536
new fixes similar to previous commit
KalliopiTsolaki Apr 18, 2024
ed768ba
Update index.rst
VerderK Apr 19, 2024
711d9ea
Update index.rst
VerderK Apr 19, 2024
151146c
Update index.rst
VerderK Apr 22, 2024
3b2a82c
Update .readthedocs.yaml
matbun Apr 22, 2024
c2e61f5
Update .readthedocs.yaml
matbun Apr 22, 2024
ce1b5af
fixing getting started page
KalliopiTsolaki Apr 22, 2024
e96679d
Text review getting_started_with_itwinai.rst
VerderK Apr 26, 2024
92a697e
Update 3dgan_doc.rst
VerderK Apr 29, 2024
3db8d59
Update getting_started_with_itwinai.rst
VerderK Apr 29, 2024
b0a092c
Fix torch naming problem
matbun Apr 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Deploy Sphinx Documentation

# on:
# push:
# branches:
# - docs_dev
# tags:
# - 'v*'

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Install dependencies
run: |
pip install -r docs/requirements.txt
pip install sphinx sphinx-rtd-theme

- name: Build documentation
run: |
cd docs
make html

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
32 changes: 32 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
10 changes: 0 additions & 10 deletions docs/.gitignore

This file was deleted.

124 changes: 124 additions & 0 deletions docs/3dgan_doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
3DGAN
=====

This section covers the CERN use case that utilizes the `torch-lightning` framework for training and evaluation. The following files are integral to this use case:

itwinai x 3DGAN
---------------


.. toctree::
:maxdepth: 5


model.py
++++++++

.. literalinclude:: ../use-cases/3dgan/model.py
:language: python


trainer.py
++++++++++
.. literalinclude:: ../use-cases/3dgan/trainer.py
:language: python


saver.py
++++++++

.. literalinclude:: ../use-cases/3dgan/saver.py
:language: python


dataloader.py
+++++++++++++

.. literalinclude:: ../use-cases/3dgan/dataloader.py
:language: python


cern-pipeline.yaml
++++++++++++++++++

This YAML file defines the pipeline configuration for the CERN use case.

.. literalinclude:: ../use-cases/3dgan/cern-pipeline.yaml
:language: yaml


inference-pipeline.yaml
+++++++++++++++++++++++

This YAML file defines the pipeline configuration for the CERN use case inference.

.. literalinclude:: ../use-cases/3dgan/inference-pipeline.yaml
:language: yaml


Dockerfile
++++++++++

.. literalinclude:: ../use-cases/3dgan/Dockerfile
:language: bash


pipeline.yaml
+++++++++++++

This YAML file defines the pipeline configuration for the CERN use case. It includes settings for the model, training, and evaluation.

.. literalinclude:: ../use-cases/3dgan/pipeline.yaml
:language: yaml



This section covers the CERN use case integration with `interLink <https://github.com/interTwin-eu/interLink>`_ using ``itwinai``. The following files are integral to this use case:

interLink x 3DGAN
-----------------

.. toctree::
:maxdepth: 5


3dgan-inference-cpu.yaml
++++++++++++++++++++++++

.. literalinclude:: ../use-cases/3dgan/interLink/3dgan-inference-cpu.yaml
:language: yaml


3dgan-inference.yaml
++++++++++++++++++++++++

.. literalinclude:: ../use-cases/3dgan/interLink/3dgan-inference.yaml
:language: yaml




.. .. automodule:: 3dgan.model
.. :members:
.. :undoc-members:
.. :show-inheritance:

.. .. automodule:: 3dgan.train
.. :members:
.. :undoc-members:
.. :show-inheritance:

.. .. automodule:: 3dgan.trainer
.. :members:
.. :undoc-members:
.. :show-inheritance:

.. .. automodule:: 3dgan.saver
.. :members:
.. :undoc-members:
.. :show-inheritance:

.. .. automodule:: 3dgan.dataloader
.. :members:
.. :undoc-members:
.. :show-inheritance:
12 changes: 0 additions & 12 deletions docs/404.html

This file was deleted.

7 changes: 0 additions & 7 deletions docs/Gemfile

This file was deleted.

79 changes: 0 additions & 79 deletions docs/Gemfile.lock

This file was deleted.

21 changes: 0 additions & 21 deletions docs/LICENSE

This file was deleted.

20 changes: 20 additions & 0 deletions docs/Makefile
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 = .
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)
Loading
Loading