Skip to content

Commit

Permalink
chore: remove ref to repo setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
twelvelabs committed Jul 28, 2023
1 parent da995b9 commit e05e3cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ coverage.out
build/
dist/
out/

bin/setup-repos.sh
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# schemadoc

[![build](https://github.com/twelvelabs/schemadoc/actions/workflows/build.yml/badge.svg)](https://github.com/twelvelabs/schemadoc/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/twelvelabs/schemadoc/branch/main/graph/badge.svg?token=jLMxTJcY08)](https://codecov.io/gh/twelvelabs/schemadoc)
[![codecov](https://codecov.io/gh/twelvelabs/schemadoc/branch/main/graph/badge.svg)](https://codecov.io/gh/twelvelabs/schemadoc)

Generate markdown documents from JSON schema files ✨.

Expand All @@ -24,7 +24,13 @@ Choose one of the following:

## Usage

TODO
```bash
# Renders `./my.schema.json` to `./out/SchemaTitle.md`.
schemadoc gen --in ./my.schema.json

# Renders all json schema files in `./schemas` to `./docs`.
schemadoc gen --in ./schemas --out ./docs
```

## Development

Expand Down
8 changes: 1 addition & 7 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ if [[ "${CI:-}" == "true" ]]; then
else
depctl up local

# Ensure git repos.
SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")"
if [[ -f "${SCRIPT_DIR}/setup-repos.sh" ]]; then
source "${SCRIPT_DIR}/setup-repos.sh"
fi

# Ensure local repo hooks.
# Ensure git hooks.
if [[ -d .git ]]; then
echo "Updating .git/hooks."
mkdir -p .git/hooks
Expand Down

0 comments on commit e05e3cc

Please sign in to comment.