Skip to content

Commit

Permalink
v0.0.3: fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed May 21, 2024
1 parent b1e0659 commit f976ce8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ for v in "${keep[@]}"; do
keep_args+=(-e "$v")
done

rtd api "projects/$project/versions?limit=$limit&active=true&built=true"
rtd api "projects/$project/versions?limit=$limit&active=true&built=true" \
| jq -r '.results[] | select(.hidden | not) | .slug' \
| grep "${keep_args[@]}" \
| grep -v "${keep_args[@]}" \
| xargs rtd hide -p $p
```

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="rtd-cli",
version="0.0.2",
version="0.0.3",
description="Simple CLI wrapper for the Readthedocs REST API",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit f976ce8

Please sign in to comment.