-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
143 additions
and
62 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,32 @@ | ||
name: docs | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
- name: Dependencies | ||
run: | | ||
if [ -f pyproject.toml ]; then pip install ".[docs]"; fi | ||
- name: Clear notebooks and create conf.py file | ||
run: | | ||
jupyter-book config sphinx docs/ | ||
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --ClearMetadataPreprocessor.enabled=True --clear-output --inplace $(find . -type f -name '*.ipynb') | ||
- name: Build Sphinx Documentation | ||
run: | | ||
sphinx-build docs _build/html -b html | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: github.ref == 'refs/heads/main' && job.status == 'success' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./_build/html | ||
enable_jekyll: false |
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
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,85 @@ | ||
GOSTnets package | ||
================ | ||
|
||
Submodules | ||
---------- | ||
|
||
GOSTnets.calculate\_od\_raw module | ||
---------------------------------- | ||
|
||
.. automodule:: GOSTnets.calculate_od_raw | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.conversion\_utils module | ||
--------------------------------- | ||
|
||
.. automodule:: GOSTnets.conversion_utils | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.core module | ||
-------------------- | ||
|
||
.. automodule:: GOSTnets.core | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.fetch\_od module | ||
------------------------- | ||
|
||
.. automodule:: GOSTnets.fetch_od | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.fetch\_pois module | ||
--------------------------- | ||
|
||
.. automodule:: GOSTnets.fetch_pois | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.load\_osm module | ||
------------------------- | ||
|
||
.. automodule:: GOSTnets.load_osm | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.network\_clean module | ||
------------------------------ | ||
|
||
.. automodule:: GOSTnets.network_clean | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.optimization module | ||
---------------------------- | ||
|
||
.. automodule:: GOSTnets.optimization | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
GOSTnets.osm\_parser module | ||
--------------------------- | ||
|
||
.. automodule:: GOSTnets.osm_parser | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: GOSTnets | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
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,7 +1,7 @@ | ||
GOSTnets | ||
======== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
GOSTnets | ||
src | ||
=== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
GOSTnets |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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