Skip to content

Commit

Permalink
Merge pull request #1475 from weaviate/update_docs
Browse files Browse the repository at this point in the history
Update docs and imports
  • Loading branch information
dirkkul authored Dec 12, 2024
2 parents bb491a8 + 8de90bb commit fd55b6a
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 271 deletions.
9 changes: 4 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import sys

from pkg_resources import DistributionNotFound, get_distribution
from importlib.metadata import version, PackageNotFoundError

# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
Expand All @@ -28,15 +28,14 @@ def chdir(directory):


try:
dist = get_distribution("weaviate")
except DistributionNotFound:
dist = version("weaviate")
except PackageNotFoundError:
# The project is not installed in readthedocs environment. Read the version with setuptools_scm.
import setuptools_scm

with chdir(".."):
release = setuptools_scm.get_version()
else:
release = dist.version


# -- Project information -----------------------------------------------------

Expand Down
26 changes: 0 additions & 26 deletions docs/weaviate.batch.rst

This file was deleted.

26 changes: 0 additions & 26 deletions docs/weaviate.classification.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/weaviate.contextionary.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/weaviate.data.references.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/weaviate.data.replication.rst

This file was deleted.

27 changes: 0 additions & 27 deletions docs/weaviate.data.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/weaviate.proto.rst

This file was deleted.

74 changes: 0 additions & 74 deletions docs/weaviate.proto.v1.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/weaviate.schema.properties.rst

This file was deleted.

26 changes: 0 additions & 26 deletions docs/weaviate.schema.rst

This file was deleted.

2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ packages =
weaviate.collections
weaviate.connect
weaviate.gql
weaviate.outputs
weaviate.proto
weaviate.proto.v1
weaviate.rbac

platforms = any
include_package_data = True
Expand Down

0 comments on commit fd55b6a

Please sign in to comment.