Skip to content

Commit

Permalink
Fix doc-strings after big merge
Browse files Browse the repository at this point in the history
  • Loading branch information
blythed committed May 21, 2024
1 parent f823af1 commit 3e30adf
Show file tree
Hide file tree
Showing 493 changed files with 8,262 additions and 2,316 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- At the end of the test, drop the collection instead of the database
- Force load vector indices during backfill
- Fix pandas database (in-memory)
- Add docstrings in component classes and methods.

- Add and update docstrings in component classes and methods.

#### New Features & Functionality
- Add nightly image for pre-release testing in the cloud environment
Expand Down
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,21 @@ These tests check that cluster mode works as expected (`ray`, `vector-search`, `
make smoke_testing
```

## Create an issue

If you have an unsolvable problem or find a bug with the code, we
would love it if you could create a useful [issue on GitHub](https://github.com/SuperDuperDB/superduperdb-stealth/issues).

Creating a useful issue, is itself a useful skill. Think about following these pointers:

- Add the "bug label" to flag the issue as a bug
- Make sure the issue contains the ***minimal code*** needed to create the issue:
- Remove padding code, unnecessary setup etc.
- Make it as easy as possible to recreate the problem.
- Always include the traceback in the issue
- To flag the issue to the team, escalate this in the Slack channels
- Tag relevant people who have worked on that issue, or know the feature

## Getting Help 🙋

[![Slack](https://img.shields.io/badge/Slack-superduperdb-8A2BE2?logo=slack)](https://join.slack.com/t/superduperdb/shared_invite/zt-1zuojj0k0-RjAYBs1TDsvEa7yaFGa6QA)
Expand Down
18 changes: 8 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ new_release: ## Release a new version of SuperDuperDB
git push --set-upstream origin release-$(RELEASE_VERSION) --tags

install_devkit: ## Add essential development tools
@echo "Download Docs dependencies"
python -m pip install --user sphinx furo myst_parser
# Add pre-commit hooks to ensure that no strange stuff are being committed.
# https://stackoverflow.com/questions/3462955/putting-git-hooks-into-a-repository
python -m pip install pre-commit

@echo "Download Code Quality dependencies"
python -m pip install --user black==23.3 ruff mypy types-PyYAML types-requests interrogate
Expand All @@ -61,18 +62,15 @@ install_devkit: ## Add essential development tools
##@ Code Quality

gen_docs: ## Generate Docs and API
@echo "===> Generate API docs as Markdown <==="
python docs/hr/content/build_api_docs.py
@echo "Build finished. The HTML pages are in docs/hr/content/build_api_docs"

@echo "===> Generate docusaurus docs and blog-posts <==="
cd docs/hr && npm i --legacy-peer-deps && npm run build
cd ../..
@echo "Build finished. The HTML pages are in docs/hr/build"

@echo "===> Generate Sphinx HTML documentation, including API docs <==="
rm -rf docs/api/source/
rm -rf docs/hr/build/apidocs
sphinx-apidoc -f -o docs/api/source superduperdb
sphinx-build -a docs/api docs/hr/build/apidocs
@echo "Build finished. The HTML pages are in docs/hr/build/apidocs"

lint-and-type-check: ## Lint and type-check the code
@echo "===> Code Formatting <==="
black --check $(DIRECTORIES)
Expand Down Expand Up @@ -229,4 +227,4 @@ ext_testing: ## Execute integration testing
pytest $(PYTEST_ARGUMENTS) ./test/integration/ext

smoke_testing: ## Execute smoke testing
SUPERDUPERDB_CONFIG=deploy/testenv/env/smoke/config.yaml pytest $(PYTEST_ARGUMENTS) ./test/smoke
SUPERDUPERDB_CONFIG=deploy/testenv/env/smoke/config.yaml pytest $(PYTEST_ARGUMENTS) ./test/smoke
3 changes: 3 additions & 0 deletions deploy/installations/testenv_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ scikit-learn>=1.1.3
python-magic
python-multipart
anthropic>=0.25.0
peft>=0.10.0
trl>=0.8.0
unstructured[md]>=0.12.5
File renamed without changes.
10 changes: 0 additions & 10 deletions docs/api/banner.txt

This file was deleted.

51 changes: 0 additions & 51 deletions docs/api/conf.py

This file was deleted.

Binary file removed docs/api/img/SuperDuperDB_logo.png
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/api/index.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/api/source/modules.rst

This file was deleted.

53 changes: 0 additions & 53 deletions docs/api/source/superduperdb.base.rst

This file was deleted.

37 changes: 0 additions & 37 deletions docs/api/source/superduperdb.cli.rst

This file was deleted.

125 changes: 0 additions & 125 deletions docs/api/source/superduperdb.container.rst

This file was deleted.

Loading

0 comments on commit 3e30adf

Please sign in to comment.