From f976ce8c9a307a0afce6b259d8c52607dfef7434 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Tue, 21 May 2024 16:42:45 -0400 Subject: [PATCH] v0.0.3: fix readme example --- README.md | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 689dd4e..4f68b70 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/setup.py b/setup.py index e82a0bf..1a45360 100644 --- a/setup.py +++ b/setup.py @@ -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",