Skip to content

Commit

Permalink
Merge branch 'main' into 230-unify-interfaces-of-base-classes-with-th…
Browse files Browse the repository at this point in the history
…e-descendants
  • Loading branch information
piotrgramacki authored Apr 25, 2023
2 parents fca7ed9 + fa5c79a commit 2a44b61
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 5 additions & 0 deletions docs/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nav:
- Home: README.md
- Getting Started: getting_started
- Examples: examples
- ...
2 changes: 1 addition & 1 deletion docs/generate_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ def _is_camel_case(s: str) -> bool:
if i.is_file() and len(i.relative_to(".").parents) <= 3:
write_file(i)

with mkdocs_gen_files.open("api/README.md", "a") as nav_file:
with mkdocs_gen_files.open(f"{API_DIRECTORY_PATH}/README.md", "a") as nav_file:
nav_file.writelines(nav.build_literate_nav())
1 change: 1 addition & 0 deletions examples/embedders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
Examples illustrating the usage of every Joiner.

- [CountEmbedder](count_embedder.ipynb)
- [ContextualCountEmbedder](contextual_count_embedder.ipynb)
- [GTFS2VecEmbedder](gtfs2vec_embedder.ipynb)
- [Highway2VecEmbedder](highway2vec_embedder.ipynb)
6 changes: 0 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ edit_uri: ""
watch:
- examples

nav:
- Home: README.md
- Getting Started: getting_started
- Examples: examples
- ... | api/**
- ... | full_api/**

theme:
name: material
Expand Down
3 changes: 2 additions & 1 deletion srai/loaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
from ._base import Loader
from .geoparquet_loader import GeoparquetLoader
from .gtfs_loader import GTFSLoader
from .osm_loaders import OSMOnlineLoader, OSMPbfLoader
from .osm_loaders import OSMLoader, OSMOnlineLoader, OSMPbfLoader
from .osm_way_loader import OSMWayLoader

__all__ = [
"Loader",
"GeoparquetLoader",
"GTFSLoader",
"OSMLoader",
"OSMWayLoader",
"OSMOnlineLoader",
"OSMPbfLoader",
Expand Down

0 comments on commit 2a44b61

Please sign in to comment.