Skip to content

Commit 8955c60

Browse files
Updating documentation, READMEs, and links (#36)
Getting rid of a lot of docusaurus boilerplate stuff. Some new content. Some re-arranging. Co-authored-by: Michael Vogelsong <[email protected]>
1 parent 65eb9c6 commit 8955c60

28 files changed

+200
-505
lines changed

.github/workflows/docs.yaml renamed to .github/workflows/publish-docs.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
name: docs
1+
name: publish-docs
22
on:
33
push:
44
paths:
55
# Only run this workflow if there are changes in any of these files.
66
- .github/workflows/**
77
- docs/**
8-
pull_request:
9-
paths:
10-
# Only run this workflow if there are changes in any of these files.
11-
- .github/workflows/**
12-
- docs/**
8+
branches:
9+
- main
1310
defaults:
1411
run:
1512
working-directory: docs
1613

1714
jobs:
18-
deploy:
15+
deploy-docs:
1916
runs-on: ubuntu-latest
2017
steps:
2118
- name: Get code
@@ -32,12 +29,13 @@ jobs:
3229
- name: Deploy website
3330
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
3431
uses: peaceiris/actions-gh-pages@v3
35-
# Only run this on pushes to the `main` branch (try-docusaurus-base is temporary for testing)
36-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/try-docusaurus-base'
32+
# Only run this on pushes to the `docs`
33+
if: github.ref == 'refs/heads/docs'
3734
with:
3835
github_token: ${{ secrets.GITHUB_TOKEN }}
39-
# Build output to publish to the `gh-pages` branch:
4036
publish_dir: ./docs/build
37+
#TODO: setup a staging directory when doing a PR
38+
#destination_dir: staging
4139
# The following lines assign commit authorship to the official
4240
# GH-Actions bot for deploys to `gh-pages` branch:
4341
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
File renamed without changes.

.github/workflows/test-integ.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Run integration tests against the integ API endpoint
22
name: test integ
3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
48
jobs:
59
run-tests:
610
runs-on: ubuntu-20.04
@@ -16,14 +20,14 @@ jobs:
1620
matrix:
1721
python-version: [
1822
#"3.6", # Default on Ubuntu18.04 but openapi-generator fails
19-
"3.7",
20-
"3.8",
21-
"3.9",
22-
"3.10",
23+
"3.7",
24+
"3.8",
25+
"3.9",
26+
"3.10",
2327
"3.11",
24-
]
25-
install_numpy: [ true, false ]
26-
install_pillow: [ true, false ]
28+
]
29+
install_numpy: [true, false]
30+
install_pillow: [true, false]
2731
env:
2832
# This is associated with the "sdk-integ-test" user, credentials on 1password
2933
GROUNDLIGHT_API_TOKEN: ${{ secrets.GROUNDLIGHT_API_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,5 @@ node_modules/
166166

167167
*.swp
168168
**/.python-version
169+
170+
.DS_Store

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Groundlight Python SDK
22

3-
Check out our [documentation here](https://groundlight.github.io/python-sdk/docs/getting-started)!
3+
Groundlight makes it simple to build reliable visual applications. Read the [full documentation here](https://code.groundlight.ai/python-sdk/).
44

5-
## Computer vision made simple
5+
## Computer Vision powered by Natural Language
66

77
```bash
88
pip install groundlight
@@ -24,3 +24,13 @@ print(f"The answer is {image_query.result}")
2424
Your images are first analyzed by machine learning (ML) models which are automatically trained on your data. If those models have high enough confidence, that's your answer. But if the models are unsure, then the images are progressively escalated to more resource-intensive analysis methods up to real-time human review. So what you get is a computer vision system that starts working right away without even needing to first gather and label a dataset. At first it will operate with high latency, because people need to review the image queries. But over time, the ML systems will learn and improve so queries come back faster with higher confidence.
2525

2626
_Note: The SDK is currently in "beta" phase. Interfaces are subject to change in future versions._
27+
28+
## Learn more
29+
30+
Some more resources you might like:
31+
32+
* [Code Documentation](https://code.groundlight.ai/)
33+
* [Python SDK](https://pypi.org/project/groundlight/)
34+
* [Company](https://www.groundlight.ai/)
35+
* [Login to Groundlight](https://app.groundlight.ai/)
36+

docs/blog/2023-04-01-mdx-blog-post.mdx

Lines changed: 0 additions & 20 deletions
This file was deleted.
-93.9 KB
Binary file not shown.

docs/blog/2023-04-02-welcome/index.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

docs/blog/authors.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/docs/building-applications/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"position": 2,
44
"link": {
55
"type": "generated-index",
6-
"description": "Let's build some apps!"
6+
"description": "Let's build some reliable vision applications."
77
}
88
}

0 commit comments

Comments
 (0)